08-29-2011 04:41 PM
Hello Labview Users,
I have a vi that records mass gains as a function of time. The problem I have is that I want the time on the x-axis to be in seconds but somehow the vi records the data fast and the time is definitely not seconds. It's not milliseconds either. I have attached the front panel and I need help in making the vi record the data as a function of real time (in seconds).
Thanks.
-Sicelo
Solved! Go to Solution.
08-29-2011 04:48 PM
Sicelo,
it seems that your vi is running each loop in the computer availability.
In order to make your graph works, you can either put a wait timer on your loop (1000ms wait time) or you can program your AD converter and use the sample time as a delta time on your graph.
If you system is slow ( one sample per second) then, you can use a wait time. If your signal is fast, then the best way to go is to program your AD converter and then you plot your data as a wafeform graph, with arrays of data, instead of waveform chart.
08-29-2011 05:09 PM
Thanks for your reply.
I would rather not program the AD converter and I want to display the data as a waveform chart. Does it matter if the graph is being displayed as a waveform chart or graph?
Thanks.
-Sicelo
08-29-2011 05:12 PM
the waveform chart every time you read your signal, you plot your data.
The waveform graph you plot arrays of data. If you don't want to program the ad, then, use the wafeform chart, and time your loop, so you will have your measurements in a definide time. If you don't time your loop, the computer runs it as fast as it can, and you can't garantee that it will read your signa in regular intervals.
08-29-2011 05:14 PM
Alright. Sounds good.
Thanks.
-Sicelo