Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

USB 6001 how to set analog output voltage

I am using the DAQ assistant and want to do something vewry simple (set the voltage). 

 

When I select ao0, I am given a choice of waveform (sine, square or triangle).  There is no none option.  If I try to set the minimum equal to the maximum I get the following error:

 

 

Possible reason(s):

Minimum is greater than or equal to the maximum. Ensure the maximum value is greater than the minimum value. If using a custom scale, ensure that the scaled maximum is greater than the scaled minimum.

Property: AO.Min
Corresponding Value:  3.300000
Property: AO.Max
Corresponding Value:  3.300000
Channel Name: VoltageOut

Task Name: _unnamedTask<4>

 

How do I just set the analog output to 3.3V?

 

0 Kudos
Message 1 of 5
(4,365 Views)

Hi,

 

Thank you for posting this question. I would like to check up on this post since no one in the community has gotten back to you yet.  

 

Could you please explain what it is you are trying to achieve? If you want to simulate a signal using the DAQassistant, you still cannot specify an exact voltage since no instrument can ever give exactly 3.3 V out. Have a look at this tutorial for more details on how to set up this task: http://www.ni.com/tutorial/2744/en/#toc2

 

Best regards,

Sara

Applications Engineer

National Instruments 

0 Kudos
Message 2 of 5
(4,342 Views)

If you want to just generate a single DC voltage output and not a waveform, change the "Generation Mode" to "1 Sample (On Demand)".

——
Brandon Streiff
ni.com/compactdaq · ni.com/daq
Message 3 of 5
(4,339 Views)

I have the same question as the original poster - I would like to have my 6001 produce an analog output voltage from LabView. I know how to configure the DAQ assistant to provide an analog output, but waveform is the only choice - no DC.  I know one poster above says it is impossible to have an exact value output, which is true.  But that has not stopped previous versions of LabView to allow DC output at an approximation of the value requested to within bit tolerance. Also the Test Panel in MAX allows a DC output.  How do I get LabView to do the same thing that MAX will do?  Using a pulse wave form will not work, because I want the voltage to stay on long enough to make other measurements.

0 Kudos
Message 4 of 5
(2,865 Views)

It is simple, use DAQmx driver - NOT DAQ ASSISTANT

 

Look up these examples on how to generate an analog output

santo_13_0-1630360822470.png

 

One basic thing to understand is that many of these examples use a waveform type to make it easy for the user to understand that you can also generate an array of values at timed intervals, it is just a simple demo you can replace that feature with whatever array of values you need, like an ECG waveform or just anything compatible with voltage range and sampling rate.

 

 

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
0 Kudos
Message 5 of 5
(2,858 Views)