LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do you set up a TTL digital trigger using a timed loop in Labview?

I have a current circuit semi-set up (which is attached).  What i am trying to do is set up a constant user-chosen time duration that will create an output of 3.3 (constant voltage) using a DAQ device (NI USB-6211).  im stuck on where to go from here and how to create the output of 3.3.  i have the timing pretty much figured out but its just putting it all together now.  any help is greatly appreciated

0 Kudos
Message 1 of 2
(2,365 Views)

octavius88:

 

Have you taken a look through the DAQ examples in LabVIEW? If you go to Help --> Find Examples, you can find them by browsing to "Hardware Input and Output --> DAQmx --> Analog Generation --> Voltage (or Current, depending on your circuit)."

 

Your best bet for timing is to wire a control to the "Wait" function inside the while loop. Additionally, you may want to make sure the example you use is software-timed (it won't have a DAQmx Timing function in the chain).

 

Good luck!

Caleb Harris

National Instruments | http://www.ni.com/support
0 Kudos
Message 2 of 2
(2,329 Views)