From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

delay value

Solved!
Go to solution

@IDILIO wrote:

See attached Example.vi



OK, now we have a little bit more information. Apparently, you data is generated at a rate of 1000Hz (one sample per millisecond). In order to keep a history for 10 seconds, you need to keep a FIFO buffer of 10000 points in a shift register. whenever you add a new point, you overwrite the oldest.

 

(Your original question was very ambiguous. We did not even know if the data was acquired at a regular rate).

 

 

0 Kudos
Message 11 of 16
(917 Views)

Ok. Thank you.

As I suspect there is no easy way to do it...

I know my original question was ambiguous...I want a generic "function" that works for all situations...Smiley Tongue

0 Kudos
Message 12 of 16
(904 Views)
Solution
Accepted by topic author IDILIO

Try something like this (attached VI is in LabVIEW 8.2):

 

 

Download All
Message 13 of 16
(903 Views)

Perfect! Thank You!

0 Kudos
Message 14 of 16
(881 Views)

Hi,

 

Good to know about the soultion.

 

Was not in a position to check the post.

 

In case an alternative way is required. Find the attached vi saved for version 8.2.

 

Regards,

K.Narayanan

0 Kudos
Message 15 of 16
(862 Views)

Thanks NaruF1

0 Kudos
Message 16 of 16
(856 Views)