Academic Hardware Products (myDAQ, myRIO)

cancel
Showing results for 
Search instead for 
Did you mean: 

generate a TTL signal output using myDAQ system.

I am not very familiar with labview and I need to generate a TTL signal output using myDAQ system.  Can you make any suggestions on how to write the labview code? 

0 Kudos
Message 1 of 3
(9,922 Views)

Hey PJara,

 

The digital output on the myDAQ is a TTL signal, specifically a low-voltage TTL signal (see specifications, p. 39).  The specifications have a few ways of interfacing with the myDAQ, but the easiest way would be to use the NI-ELVISmx driver to generate a TTL signal.  Once you have the driver installed, go to the block diagram of a VI and open the functions palette.  Under Functions >> Measurement I/O >> NI ELVISmx, open the Digital Writer.  From there you can control your digital output. 

 

If you would like to use the NI-DAQmx driver to control your digital output, you can use the example finder, provided by LabVIEW.  When LabVIEW first opens up, there is an option on the lower left side that says Find Examples.  From there, you can browse to Hardware Input and Output >> DAQmx >> Digital Generation, and since you are new to LabVIEW you may want to start with Write Dig Chan.vi

 

Also, there are many examples and tutorials online that you may want to search for on ni.com.

Regards,
Jake G.
National Instruments
Applications Engineer
0 Kudos
Message 2 of 3
(9,909 Views)

Jake,

 

Thank you very much for your guidance.  I will look at the tutorials that you recommended.

 

Best,

Paola

0 Kudos
Message 3 of 3
(9,897 Views)