09-17-2018 08:44 AM
Hello everybody out there using LabVIEW,
The graph of my virtual instrument is only showing 3 values simultaneously although I updated the "Chart History Length..." variable from 1,024 (default?) to 4,096.
To give a few more information: I'm using LabVIEW to plot the values to of DMM of the myDAQ device. In order to generate a graph, I repeat the measurement in a for-loop and send these values to a graph.
Could anyone point me towards additional diagnostics to run in order to pin down the problem?
Kind regards
Solved! Go to Solution.
09-17-2018 08:58 AM
Is it possible your X-axis is set to only show 3 values? Right click on the X-axis and set it to auto-scale.
09-17-2018 09:08 AM
Thanks a lot for your answer.
When I use random numbers (from the function palette) as input, the diagramm is showing all values and the x axis gets dynamically rescaled, which is exactly what I want.
As soon as I use the myDAQ DMM, only 3 values are displayed.
09-17-2018 09:11 AM
Then post your VI.
We can't debug paragraphs.
09-17-2018 09:12 AM
Can you post your code for review as well?
09-17-2018 09:17 AM
@RavensFan wrote:
Then post your VI.
We can't debug paragraphs.
Sure we can. I'll bet you a beer that there is a miss configured DDT in there somewhere.
09-17-2018 09:26 AM
Excuse me. Please find attached the VI.
I started to use LabVIEW only recently.
Therefore, I am not an expert.
09-17-2018 09:31 AM
@Wuffi wrote:
Excuse me. Please find attached the VI.
I started to use LabVIEW only recently.
Therefore, I am not an expert.
That's ok, you know enough to post and follow advice. You'll be an expert in no time
09-17-2018 09:38 AM
Thanks. That's encouraging, but I'm not afraid it's not that easy.
09-17-2018 09:52 AM
I don't see any reason why your chart wouldn't show more points once you have set the X-axis to autoscale.
What I do see is that your VI will execute the For Loop 5 times, and that will be as fast as the DAQ Assistant can return a data point. If you keep hitting the run button, you'll see more data points in groups of 5.