11-05-2009 07:51 AM
Solved! Go to Solution.
11-06-2009 04:46 AM
Hi foruc,
Have you tried removing the case structure for no change in pulse width? This would mean it would just put the current pulse width through every time and not worry if it was the same as the previous.
Let me know if this works,
Thanks,
11-06-2009 07:17 AM
Thank you for your reply Owen.
I found the error I was making. The variable "Pulse Separation" that feeds "CO Pulse Time" DAQmx event was set to 50 seconds (I didn't divide it by 1000 to make it in milisecond units). That means that even if I retrig for a new pulse immediatly after the first one, the new pulse would't show before the period of 50 seconds has elapsed (and I never waited for so long as my pulses are more in milisecond range).
Now it seems like a stupid error (and it probably is) but I thought that this variable was important only in the case of the multiple-pulse event (as set-up by "Timing: Implicit" DAQmx event). Actually, even if the "Number of pulses" is set to 1 (which was my case), it seems that though the retriggering works one won't see a pulse before "Pulse Separation" time has elapsed and that looked to me as if the retriggering did't work...
Anyway, thank you for your time Owen!
Cheers!