From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
04-02-2013 03:10 AM
Hello,
I want to program a NI 6602 card to send digital output pulses, triggered by one digital input pulse. The first output pulse should be sent 15 microseconds after the input trigger pulse is received, and then up to 6 further digital pulses should be sent on different channels, up to 40 microseconds or more after the trigger input pulse. The accuracy of the time the pulses are sent should be less than 1 microsecond.
Can I use any of the example-VIs which come with the NI-DAQmx 9.7 download? Which one(s)?
Best regards
Claes
04-02-2013 04:28 AM
Hi Claes,
the specs for your NI6602 clearly say: "Timing: software" for those digital IO pins.
So it will be hard to automate them to play some pulse patterns using hardware timing...
04-02-2013 06:01 AM
Is that correct that it is not possible to program the hardware of the card for my needs? Under Counter/Timers it at least says "Pulse Generation Yes", and in the data sheet it is written on page 388 under "Features": ...Each counter has one output that can be routed externally...".
The card only needs to ouput one single pulse on each channel/output after each input trigger pulse. There will be 2-5 milliseconds between each input trigger pulse.
Best regards,
Claes
04-02-2013 06:23 AM
There is a "Counter - Single Pulse Output"-VI that should be able to generate a pulse triggered by an external source. But can I program it to add a 15 (or 20 or 30) microsecond delay?
04-02-2013 06:39 AM
Actually, the "DAQmx Create Virtual Channel"-VI, that is a sub-VI of the "Counter - Single Pulse Output"-VI, has a "initial delay"-input. I will try to use that...
Claes
04-05-2013 08:25 AM
So, I tried the "Counter - Single Pulse Output"-VI, but unfortunately the delay of the ouput pulse does not change, when changing the "initial delay" input variable. Maybe it only affects the first generated pulse...
Claes
04-29-2013 01:35 AM
I eventually managed to generate the pulses by setting the "low time"-input on the "Counter - Single Pulse Output"-VI, to the desired delay. However, it seems to use two counters per output pulse, but I only want one counter to generate each pulse. That should be possible somehow, since the pulse width can be arbitrary short in my case. See my other post: http://forums.ni.com/t5/LabVIEW/How-do-I-program-a-NI-6602-card-to-send-trigger-pulses-one-at/td-p/2...
Claes