LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

collect data after a 2 loop

Hi again Ravens,

thanks to your suggestions, I have improved some other steps of the program and now I am collecting the data correctly.

 

I have only 2 last problems:

 

1. the data time coming from the "present time" looks always the same, in my case is 3.41459E+9 and look appears to change only after many minutes. Why?

 

2. Just to know if is possible: I am plotting the data with a wave chart now that scroll from left to rigth. Is possible to use a graph that rescale automatically during acquisition, so that I can see all the data in the plot without scrolling?

 

Thank you for your support!

 

 

0 Kudos
Message 11 of 13
(348 Views)

To be better clear, I have tried to make this exercise (in attachment)...

In the the x-y function is the subtraction from the Get start time and the present time: why isn't representing the elapsed time?

 

Thank you, G.

0 Kudos
Message 12 of 13
(347 Views)

As I said, that is seconds since the epoch and is over 3 billion.  Your format is set to scientific notation and has 6 significant digits.  Write that out normally, it is 3,414,590,000.  So you aren't going to see a change in your scientific notation number until 10,000 seconds have passed.  Increase your significant digits.  Or change the format of your indicator to show time.

 

Waveform charts have a limited history, so as it fills up, older data points disappear which adds to the scrolling effect.  You can set your X-scale to autoscale.  There are also a few different appearance you can do for sweeping the display.

 

As for elapsed time, your calcs are messed up.  You are subtracting the elapsed time from the start time, you are getting an answer that is moving backwards in time.

0 Kudos
Message 13 of 13
(344 Views)