LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

set output levels

I don't have my DAQ output devices yet.   I'm first setting up my front panel.   How do I set simple output levels, ie.  4 volt, 5 volts, etc.?   Do I put a numeric constant (4 or 5) in my case structure and expect the same voltage on my outputs?   Or do I just set boolean levels (true=on, false=off) and trim voltage outputs seperately?

Eric Yuzon
Senior engineer
ERC
Walled Lake, MI 48390
ericyuzon@e-reman.com
e-reman.com
0 Kudos
Message 1 of 2
(2,280 Views)

Hi Eric,

 

If you are planning to use the DAQmx Driver to control your NI DAQ device, there are great examples that ship with the DAQmx driver.  After the install, you can find the examples in LabVIEW by navigating to Help»Find Examples...»Hardware Input and Output»DAQmx»Analog Generation»Voltage»Gen Voltage Update.VI.  This VI properly demonstrates how to send data to the DAQmx Write VI, which will tell the card to output a corresponding voltage level.

 

The way this is accomplished is by wiring a numeric control to the data output terminal, which can be controlled on the front panel.  You can also use a continuous voltage update, which will allow you to change the voltage level on-the-fly.

 

Best,

Adam
Academic Product Manager
National Intruments
0 Kudos
Message 2 of 2
(2,251 Views)