LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Chart History Length in Loop

Solved!
Go to solution

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

0 Kudos
Message 1 of 25
(2,819 Views)

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.

0 Kudos
Message 2 of 25
(2,816 Views)

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.

0 Kudos
Message 3 of 25
(2,812 Views)

Then post your VI.

 

We can't debug paragraphs.

0 Kudos
Message 4 of 25
(2,808 Views)

Can you post your code for review as well?

Steven Howell
Controls and Instrumentation Engineer
Jacobs Technologies
NASA Johnson Space Center
0 Kudos
Message 5 of 25
(2,807 Views)

@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. 


"Should be" isn't "Is" -Jay
0 Kudos
Message 6 of 25
(2,801 Views)

Excuse me. Please find attached the VI.

I started to use LabVIEW only recently.

Therefore, I am not an expert.

Download All
0 Kudos
Message 7 of 25
(2,795 Views)

@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 


"Should be" isn't "Is" -Jay
0 Kudos
Message 8 of 25
(2,792 Views)

Thanks. That's encouraging, but I'm not afraid it's not that easy.

0 Kudos
Message 9 of 25
(2,784 Views)

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.

0 Kudos
Message 10 of 25
(2,770 Views)