beautypg.com

Adac ai clear – Measurement Computing ADAC-LVi User Manual

Page 37

background image

Chapter 2 Intermediate Analog Input VIs

ADAC LabVIEW VI

31

ADAC AI Clear

This VI stops, frees all allocated resources and releases an A/D 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_StopDevice and AL_ReleaseDevice to stop and 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 AI 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 in use. This behavior is controlled
by the AutoLoad=YES setting in the ADAC-LVi.con file
located in the main Windows directory.

Device Handle (0) Device Handle is a numeric value that identifies the board's A/D
subsystem to be acted upon. The default Device Handle is 0.

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

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.