beautypg.com

The analog output vis, 7kh$qdorj2xwsxw9,v, Adac ao config – Measurement Computing ADAC-LVi User Manual

Page 57

background image

Chapter 2 Analog Output-VIs

ADAC LabVIEW VI

51

The Analog Output VIs

The Analog Output VIs are used to perform analog output functions.

To access the ADAC Analog Output VIs, choose Functions

>> User

Libraries

>> ADAC >> Analog Output.

ADAC AO Config

ADAC AO Update Channel

ADAC AO Clear

ADAC AO Config

The ADAC AO Config VI allocates and configures a device's D/A subsystem returning a
Device Handle to be used in subsequent VI calls.

If the error in cluster contains an error from a previous VI call this VI does nothing and
returns the error in cluster unmodified in the error out. In the event of a previous error the
Device Handle is set to -1.

Board ID (0) Specifies the ADAC-LVi board ID number to be used in this acquisition.
The ID numbers are defined in the configuration file ADAC-LVi.con located in the
Windows main directory.

DATA CODE (TWOS_COMP:0) DATA CODE is a numeric value that sets the
hardware data coding configuration of the device.
The available options are:

0:TWOS_COMPLEMENT Two's Complement data coding
1:STRAIGHT_BINARY Straight Binary data coding
2:OFFSET_BINARY Offset Binary data coding

The default DATA CODE is 0:TWOS_COMPLEMENT