Adac dio clear – Measurement Computing ADAC-LVi User Manual

Page 80

Advertising
background image

Chapter 2 Digital I/O VIs

ADAC LabVIEW VI

74

ADAC DIO Clear

This VI stops, frees all allocated resources and releases an DIO subsystem and
association 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 DIO 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.

Device Handle (0) Device Handle is a numeric value that identifies the board's DIO
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.

Advertising