Hi, I'm trying to trigger the counter card (PCI 6602) with start and stop signal and read back the total amount of rising edges occurring between start and stop triggering events. The start and stop signal are defined as the rising and falling edges of an external logic signal. I need the data to be acquired between only one rising and falling edges. With this signal I need to trigger two different counting channels of the counter card.
I'm operating with Labview 2010 with DAQmx where the most suitable solutions appears to be "two edge separation" or "measure pulse width" channels. This two channels combined with an external timing signal (my signal to be counted) seems to meet my needings. Labview examples for both channels do not work, however the counter examples do work, thus I know that a signal could be read from the counter card.
Working examples:
Hardware and Input>>DAQmx>>Count Digital Events>>Count Digital Events.vi
Hardware and Input>>DAQmx>>Count Digital Events>>Count Digital Events-Pause Trig.vi
Not Working examples:
Hardware and Input>>DAQmx>>Meas Two-Signal Edge-Separation>>Meas Two Edge Separation.vi
Hardware and Input>>DAQmx>>Period or Pulse Width>>Meas Pulse Width.vi
error message is very similare for both examples and reads:
Error-200474 Occured at Meas Pulse Width.vi possible reason specified operation did not complete because of the specified timeout expired.
The signal fed into was a square logic signal of period 200ms and could be used with the counting examples. Min and maximum pulsewidth time was adjusted accordingly inside the vi.
Thank you for your help