04-10-2011 12:08 PM
Dear all,
I am reading a digital input from a NI USB 6225 DAQ board using measurement studio 7.1 with vb.net 2003. I have created my digital task and use the myDigitalTask_DigitalChangeDetection function to execute some code every time there is an event. What I would like to do is to measure the time interval between two events. I currently do it using Windows internal clock, but it doesn't work very well. Is there a way to use the daq clock? how?
best regards to everybody
nunzio
04-11-2011 11:29 AM
You should use a gated counter.
04-11-2011 11:43 AM
thank you for the reply. Both the counters on my board are already assigned to linear and angular encoders. Furthermore, I need to read also the time interval between events from different digital inputs to implement a shuttle test (a person running between two or more photoelectric gates). There is no way to use digital inputs and read a clock every time there is an event?
nunzio