04-15-2010 05:20 PM
How can i get the instantaneous value at a specified time (say 2.5 seconds) when my VI runs for 5 seconds?
Any help is much appreciated. Thanks!
noviceLabVIEWuser
04-15-2010 06:11 PM
Right click on the orange wire inside the loop and click Create - Indicator. This indicator will be placed on the front panel and will be updated with the elapsed time every loop iteration.
04-15-2010 06:18 PM
tbob,
thanks again for helping; I know that I can create an indicator from the elapsed time wiring. I guess my question is, how can I save the instantaneous value @ 2.5 seconds (maybe in a shift register) while my VI runs until 5 seconds have elapsed?
thanks!
04-15-2010 06:25 PM
disregard my previous post tbob,
I figured it out. thanks again!
04-15-2010 06:31 PM
I have already done the coding, so compare this to yours. When using floating point numbers (orange wires), you should not use equals function because of rounding off errors (5 might be represented by 4.99999999 or 5.00000000001 and equal will fail). Use the In Range function like shown here: