03-22-2010 04:41 PM
hi guys , im fairly new to all this labview , so i apologise if this is a silly question, im useing an elapsed timer , i have a signal when greater than a constant it resets the timer giving a value of 0 to an indicater , when the signal is in range the timer indicates the elapsed time ontill the signal falls out of range indicating 0 again ,
so im trying to obtain the last value before reset was exacuted , or time inbetween pluses , so as i can send the value for futher calculations like rpm
thanks for any hints !!
my head hurts !
Solved! Go to Solution.
03-25-2010 08:17 AM
Dear Vadajooz,
To do this you need to save the previous boolian value to allow you to process the time before it is reset.
The Saved Time shift register is only accessed under the correct circumstances to update its value and will hold it though other iterations of the loop.
regards,
03-28-2010 05:36 AM
thanks for that took a while to digest it im starting to see how it works now ,
when i try and connect an analoge voltage signal to inputs , it tells me im connecting different types , is there a way of converting the signal so your vi will work with the daq ?
i was trying to time pulses from a proxy , useing the 6008 , i tryied the tone mesurement and read the frequancy , that worked ok when the pulse was constant , but when the proxy wasnt active i was picking up noise at about 1v and the frequancy shot up , i tried some filters , and also put a rlc ciricut on the proxy but didnt kill the noise ,
hence why i was trying to use counters and only count between 3v and 12 volts to give me a time value ,
thanks again for your help
03-29-2010 06:13 AM
Hi Vadajooz,
You can use the convert from Dynamic data VI and configure it to convert to a single scalar. This will give you a floating point number that you can input in to the comparator.
Regards.
03-31-2010 08:20 AM