beautypg.com

Measurement Computing UL for NI LabVIEW User Manual

Page 77

background image

Universal Library Virtual Instruments (VIs)

Digital I/O VIs

Context

Data structure containing information from a background operation. Some of the

information included is the board number, the data array, the array size, and the
initial status of the background operation.

Follow the steps below when wiring this VI:

1.

DInScBg.VI starts a background operation.

2.

GetStatus.VI checks for completion (boolean output called "Running").

3.

StopBg.VI terminates the operation, if not already done, and frees memory aliases.

4.

Data output from the background operation is passed to GetStatus.VI and
StopBg.VI via Context, and can be wired from one or both of them for
intermediate or final actions, respectively.

The demo VIs illustrate this process effectively.

ErrCode

Error code returned from the Universal Library. Zero if no error occurred. Use the

ErrMsg VI to convert

ErrCode

into a readable string.

77