05-24-2011 02:04 PM
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?
05-25-2011 06:37 PM
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.
05-26-2011 10:51 AM
Jake,
Thank you very much for your guidance. I will look at the tutorials that you recommended.
Best,
Paola