06-07-2012 10:37 PM
I am reading a digital input through ni DAQ USB 6225 , I am using a Boolean indicator (LED) in while loop to continuously monitor the status of the port,
The LED on the front panel will be glowing only for some amount of time and I want to calculate the amount of time the led glow
is it possible to get the amount of time the led glows? Or is there any other method to determine the time?
06-14-2012 02:25 PM
the status of the port is a digital event of "0" or "1" (On/Off, Hi/Lo,TRUE/FALSE)...hook your status to a "statement case" and clock the differences inside and outside of that case statement as it toggles between the two states...