Example Code

AO Voltage and AO Current in one task- DAQmx

Products and Environment

This section reflects the products and operating system used to create the example.

To download NI software, including the products shown below, visit ni.com/downloads.

    Hardware

  • Data Acquisition (DAQ)

    Software

  • LabVIEW

    Driver

  • NI DAQmx

Code and Documents

Attachment

Overview
The example is to demonstrate how to write two kinds of analog output in serial manner

Description:
The program is using the DAQmx driver to utilize the DAQ hardware to access the Analog Output device with the predefined range of value

Instructions:

Steps to Implement:

1. Access the block diagram by Ctrl + E
2. Configure the analog output pins for the AO Voltage DAQmx Create Virtual Channel and AO Current DAQmx Create Virtual Channel
3. (Optional) Change the range of the Minimum and Maximum Value of V and A
4. Run the VI
5. (Optional) Turn on the Highlight Execution to see the flow of the VI

To execute this example:

1. Install the required software.
2. Connect the DAQ hardware that supports the AO features
3. Confirm the connection with the MAX with TestPanel
4. Open the VI and refer the Implement Steps
 

aovolbd.PNG

Requirements
Software
LabVIEW 2012 or compatible
NI-DAQmx 16.0 or compatible

Hardware
cDAQ with C series Analog Output Module

**This document has been updated to meet the current required format for the NI Code Exchange.**

 

 
Dom C

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.

Comments
monika8
Member
Member
on

please post a VI for Voltage-Current measurement in labview 12 using GPIB and Keithley-488A for keithley 237