Example Code

Stepping Voltage Output from Text File

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
This example allows the user to specify voltage steps and duration to be written to an analog output.

Description:
This is a program that allows the user to specify voltage steps and duration to be written to an analog output. The program uses a nested while loop to index through the input data array.
The nested while loop is set to iterated every 1ms.
Text data is also attached to demonstrate format.

Steps to implement or execute code
To implement this example:

  1. Run the VI
  2. (Optional) Turn on the Highlight Execution to see the flow of the VI

To execute this example:

  1. Install the required software.
  2. Open the VI and refer the Implement Steps


Requirements
Software
LabVIEW 2012 or compatible

Hardware
-

 

bd.JPGfp.JPG

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

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