Data Acquisition Toolbox    
SamplesAcquiredAction

Specify the M-file action function to execute every time a predefined number of samples is acquired for each channel group member

Description

A samples acquired event is generated immediately after the number of samples specified by the SamplesAcquiredActionCount property is acquired for each channel group member. This event executes the action function specified for SamplesAcquiredAction.

You should use SamplesAcquiredAction if you must access each sample that is acquired. If you do not have this requirement, you may want to use the TimerAction property.

Samples acquired event information is not stored in the EventLog property.

Characteristics

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

Values

The default value is an empty string.

See Also

Properties

EventLog, SamplesAcquiredActionCount, TimerAction


 SamplesAcquired SamplesAcquiredActionCount