11-29-2014 07:11 AM
Hello,
I have an Digital Input signal coming to my Daq, which is 4sec ON and 10sec OFF.
But I would like to compare the 4sec ON, if the high signal was high for more on equal to 2sec, if send a true signal, if it was less then 2sec then a false.
I know i have to use case structure to have true & false conditions, but I dont know how can i check how long the signal was high.
Any help would be appreciated.
Kind regards,
12-01-2014 10:06 AM
Hi Sky
You can use DAQmx to measure the period of the digital input:
https://decibel.ni.com/content/docs/DOC-12160
Then just add a case structure for the conditions and the actions
Hope that helps
Jimbo