Data Acquisition Toolbox    
StartAction

Specify the M-file action function to execute just before the device object starts running

Description

A start event is generated immediately after the start function is issued. This event executes the action function specified for StartAction. When the action function has finished executing, Running is automatically set to On and the device object and hardware device begin executing.

Start event information is stored in the Type and Data fields of the EventLog property. The Type field value is Start. The Data field values are given below.

Data Field Value
Description
AbsTime
The absolute time (as a clock vector) the event occurred.
RelSample
The acquired (AI) or output (AO) sample number when the event occurred.

Characteristics

Usage
AI, AO, Common
Access
Read/write
Data type
String
Read-only when running
No

Values

The default value is an empty string.

See Also

Functions

start

Properties

EventLog, Running


 SensorRange StopAction