Hi,
I am currently using the CDaq 9178 and NI9401 modules. Programming using labview.
The program that I have is that I want to generated an output signal from the counter input using the NI9401, meaning to say for example on NI9401 module 1, I received a counter input of 1000 in 100ms, I would want to generate 1000 pulse signal within the next 100ms. And i test it using the virtual signal waveform generator, a comparator to determine when is high/low, before having another DAQ assistant VI to link to the output of another port on a separate NI9401 on the same CDAQ. However, the number of pulse generated from the NI9401 look unrelated to the frequency I set.
For example, when i set 10Hz, the output pulse is 5Hz, when I set 100Hz or 1000Hz, the output pulse is 50mHz. This is using a sampling rate of 200000/s. And it gets even weirder as I vary the sampling rate, the output frequency changes as well.
Hope someone can give me an idea thanks a lot. Been trying quite a number of alternatives.