07-02-2018 10:17 AM
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?
07-03-2018 06:36 AM
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
07-03-2018 08:52 AM
If you want to just generate a single DC voltage output and not a waveform, change the "Generation Mode" to "1 Sample (On Demand)".
08-30-2021 02:39 PM
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.
08-30-2021 05:01 PM
It is simple, use DAQmx driver - NOT DAQ ASSISTANT
Look up these examples on how to generate an analog output
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.