Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Trigger multiple PFI channels

Solved!
Go to solution

Hello World!

 

I want to create a trigger dependent on two incoming (from external function generators)  PFI signals. Both are square waves but the frequency differs. My wish is to trigger the slower from high to low to count three high to low of the faster and then generate analog output. The picture is hopefully more descriptive than my words.

 

TriggerIssue.JPG

I use a 6713 NI DAQmx card. It doesn't matter if the solution is a LabVIEW VI or a C++ written text file. Any recommendations of good tutorials or similar is very welcome. I manage to trig the arbitrary waveform after signal A or B but I don't manage the "count/wait three pulses" condition.

 

Best Regards

K. Berg

0 Kudos
Message 1 of 4
(3,773 Views)
Solution
Accepted by CharlieBrown

Hi K Berg,

 

This is possible with the 6713--you'll need to use a counter output to generate the trigger signal for your AO.  Use your slow signal to trigger the counter output.  Use the fast signal for the counter's timebase with an initial delay set to 3 ticks.  The counter will trigger on the edge of your slow signal, and once it has been triggered will generate a pulse after 3 ticks of the fast signal.

 

 

Counter AO Trigger.png

 

 

Best Regards,

John Passiak
0 Kudos
Message 2 of 4
(3,766 Views)

Great solution, it is very helpful to me!

 

Best regards

K. Berg

 

0 Kudos
Message 3 of 4
(3,758 Views)

Hello,

     I have similar problem. My device is PXI-6562.  Can I do that? I am using C++ for programming.

 

 

0 Kudos
Message 4 of 4
(3,460 Views)