LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

synchronous submillisecond pulse generation on 2 outputs

I'm using a 6052E with LabView6.1. I need to simultaneously trigger two devices. The first is to send a trigger signal to another LabView program via Trig1 to tell it to begin collecting data. I can't modify that progam. The second is a TTL pulse to another device. This pulse needs to be between 100 and 500 usec. The two outputs need to be independent as sometimes the second device is activated when the first is not. I've been trying to produce two synchronized pulses using the counters, but can't figure it out. Thanks!
0 Kudos
Message 1 of 2
(2,514 Views)
Hello,

Thank you for contacting National Instruments!

What you are describing calls for an application called triggered pulse generation. What you can do is configure both counters to produce individual pulses when a trigger signal is received on each counters gate. You can connect the same trigger signal to gate of each counter.

I have attached an example program that shows how to generate a triggered pulse from a single counter. You will need to do the same for the second counter. A good way to do this is to configure counter 0 then configure counter 1 ,then enter the while loop and arm counter 0 and then arm counter 1. Then when the trigger signal is received on the gates of the counters, they will both produce a pulse. If you do not want one c
ounter to produce a pulse, you can simple not arm the counter in the while loop by using a case structure and a boolean control.

Regards,
Bill B
Applications Engineer
National Instruments
0 Kudos
Message 2 of 2
(2,514 Views)