beautypg.com

Adac ao clear – Measurement Computing ADAC-LVi User Manual

Page 61

background image

Chapter 2 Analog Output-VIs

ADAC LabVIEW VI

55

$'$& $2 8SGDWH &KDQQHO FRQW

error in (no error) Error in describes error conditions occurring before this VI executes.
This cluster defaults to no error.

Element (0) Element is a numeric value that specifies the DAQ hardware subsystems
DAC number. For a two DAC board the first DAC would be Element 0 and the second
DAC would be element 1.

The default Element is 0.

Device Handle out Device Handle is a numeric value that identifies the board's D/A
subsystem to be acted upon in subsequent VI subsystem calls.

error out Error out contains error information. If the error in cluster indicated an error,
the error out cluster contains the same information. Otherwise, error out describes the
error status of this VI.

ADAC AO Clear

This VI stops, frees all allocated resources and releases an D/A subsystem associated
with the specified Device Handle. Once called, the Device Handle should be considered
invalid, and not use in any subsequent subsystem calls.

This VI calls AL_ReleaseDevice to release the subsystem even if the error in cluster
contains an error, or if any VIs called result in an error.

Before another acquisition can begin, you must call ADAC AO Config again to reallocate
the device subsystem.

υ Note

This VI will automatically release the ADAC-LVi
environment if the specified Device Handle is the last valid
ADAC-LVi Device Handle available. This behavior is
controlled by the AutoLoad=YES setting in the ADAC-
LVi.con file located in the main Windows directory.