Running

Indicate whether device object is running

Description

Along with the Logging or Sending property, Running reflects the state of an analog input or analog output object. Running can be On or Off.

Running is automatically set to On once the start function is issued. When Running is On, you can acquire data from an analog input device or send data to an analog output device after the trigger occurs. For digital I/O objects, Running is typically used to indicate if time-based events are being generated.

Running is automatically set to Off once the stop function is issued, the specified data is acquired or sent, or a run-time error occurs. When Running is Off, you cannot acquire or send data. However, you can acquire one sample with the getsample function, or send one sample with the putsample function.

Characteristics

Usage

AI, AO, DIO, common to all channels and lines

Access

Read-only

Data type

String

Read-only when running

N/A

Values

{Off}

The device object is not running.

On

The device object is running.

See Also

Functions

getsample, putsample, start

Properties

Logging, Sending

Was this topic helpful?