I need to measure the number of pulses obtained within a time period (3 secs).
So if i use channel 0 to generate a gate pulse for channel 1 how can i do other other things while waiting for my 3 seconds to be up ?
Has anyone got any VB6 code to do it. At the moment i have a task in Max to generate the pulse train with two leading edges every 3 secs.
I use this output to gate the second counter channel. I then have a task created in VB to count edges. Then i would like
DAQmxReadCounterU32 to NOT hold up execution while reading two samples.
something like......
while waiting for two samples
//do
loop