Hi everyone,
I am trying to setup the USB 6211 DAQ to trigger a pulse train used to activate camera video acquisition (the freq might be 30-40 Hz).
I am using the following code
ch1 = addCounterOutputChannel(s,'Dev1', 0, 'PulseGeneration');
ch1.Frequency = 10;
through an LED connected to the DAQ I am able to see the pulse signal. However, when I tried to record it (relaying the digital output to an analog input pin on the DAQ itself), I cannot see anything but noise (it could be the noise amplitude is larger than the one of the signal?).
The purpose of recording the generated train would be to compare it's offset with a similar signal generated by the camera (the camera generates an output signal for every acquired frame).
Is there another way to do visualize/calculate/detect the pulses without recording the output through the DAQ input lines ? (this may sound a bit primitive indeed). I know that a "clock counter" (a channel detecting the rises/edges of a pulsed signal and calculating the pulse freq) could be added when having 2 or more devices but in this case the same device cannot be used as both a source and target of the "counter-clock" .
Sorry if the question is too naive, I am not so familiar with this. Thanks for any advice !