LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

waveform buffer size with muliple data plots unsynchronize timestamps

Here is the 2012 version of the code.

0 Kudos
Message 11 of 14
(891 Views)

Thanks. So from my understanding this could only be done with class?

0 Kudos
Message 12 of 14
(872 Views)

Thanks but that's not exactly what I was looking for. Your buffer start adding from left to right instead of rigth to left. Your buffer works based on #samples, for example 5000= 1min.  but I do appreciate the help. 

0 Kudos
Message 13 of 14
(869 Views)

Why do you want data to be added from right to left?  Almost every application I have seen has data added from left to right.  Also the time on the bottom of the wafeform graph is displayed from left to right.  If you really need the data to go the opposite way you can pull it out of the waveform, use a "reverse 1D array" function, then put it back.

 

Yes, my buffer is based on the number of samples.  If you want the buffer to hold samples from a known duration (say five minutes) you just take your duration and divide it by your sample period (e.g. .01 seconds) to get the number of samples to store (in this case 30,000).

0 Kudos
Message 14 of 14
(848 Views)