Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Send TTL Pulse from PCI-6013 DAQ Card

Hello,

 

I would like to write a labview program where I can generate a TTL pulse to be sent to a stimulator every 500 ms. I'm not sure if an input is required for this task. Essentially I want this to be run in a loop continuously generating a pulse.

 

Thanks for your help!

0 Kudos
Message 1 of 6
(3,925 Views)

ma.amanian,

 

I believe there are a number of examples in the LabVIEW Example Finder.

 

Specifically in Help > Find Examples > Hardware Input And Outout > DAQmx > Generating Digital Pulse.

 

I would start with "Gen Dig Pulse Train-Continuous.vi"

 

 

 

Regards,

 

Peter Connolly

Applications Engineer

National Instruments

Peter C.
Applications Engineer
National Instruments
0 Kudos
Message 2 of 6
(3,908 Views)

Hi PeterGC,

 

i wanted to explain my goal a little further. I wanted to trigger an external device from the Labview software. I am using the PCI 6013 DAQ card so I was going to use the PFI 6 / AO Start Trig pin to send a trigger to the device. I tried using one of the example softwares in Labview where it sends a trigger to the PFI 6 but it didnt do anything. I am wondering if my approach is correct and what I need to change to successfully complete this task.

 

Thanks!

ma.amanian

0 Kudos
Message 3 of 6
(3,854 Views)

What device are you trying to trigger?  Make sure it doesn't need anything other than a 5V from the TTL.

 

To make sure the PFI line is actually sending the trigger you could try wiring PFI6 to another line on the 6013 and see if it can detect the pulse.

Peter C.
Applications Engineer
National Instruments
0 Kudos
Message 4 of 6
(3,843 Views)

The device is a stimulator that sends a pulse once it is triggered from the Labview software and it only needs a 5V from TTL pulse. Is there a specific example that would help me achieve that? And should I be using the PFI6 pin or another pin? 


Thanks. 

 

0 Kudos
Message 5 of 6
(3,836 Views)

It looks like PFI 0-9 can be used as digital triggers.   I would try a different line, let me know how that goes.

Peter C.
Applications Engineer
National Instruments
0 Kudos
Message 6 of 6
(3,826 Views)