Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Repeating Trigger with Start.Retriggerable

Solved!
Go to solution

I have a PCI-6259 DAQ card (M-series card) that I am programming with DAQmx. I would like to know if there is a limit in terms of how close together you can use repeating triggers. I plan to use a 1us internal clock rate. An asynchronous external TTL signal will be used to trigger a finite digital output sequence from the 6259. The finite digital sequence is 4 samples long, so it will take 4us. The asynchronous trigger edges will occur about every 100us. I plan to use trigger property Start.Retriggerable = TRUE so that I can repeat this 4 sample generation every time the external TTL signal is recieved.

 

Is 100us too close together? Is there a limit to how close together you can repeat a hardware trigger when using Start.Retriggerable = TRUE?

 

Is there any way to know if my PCI-6259 card even supports the trigger property Start.Retriggerable?

0 Kudos
Message 1 of 4
(5,087 Views)
Solution
Accepted by topic author joshxdr

100 us will be fine (the re-arm time is on the order of a timebase tick or two, ~10s of ns).

 

However, the M Series does not directly support retriggerable digital output.  Instead, configure a finite retriggerable counter output to generate 4 pulses at 1 MHz (this uses both onboard counters of the M Series).  Use the internal counter output as the sample clock for a continuous digital output task that will repeat your 4 sample sequence.

 

 

Best Regards,

John Passiak
0 Kudos
Message 2 of 4
(5,078 Views)

Thanks for your response John. Do you know if a there is a LabVIEW DAQmx example of using counters to enable retriggerable triggers on m-series DAQ? I searched with the example finder and I have not found anything.

0 Kudos
Message 3 of 4
(5,075 Views)

I couldn't find a good example either (a lot of old/conflicting information out there too due to different behavior on various generations of hardware).

 

On your M Series you'll want to do something like this:

 

 

RetriggerableDO.png

 

The low time is very small since the low time is used as the intial delay for retriggering on M Series (see here).

 

 

Best Regards,

John Passiak
Message 4 of 4
(5,069 Views)