Data Acquisition Toolbox | ![]() ![]() |
Specify the M-file callback 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
SamplesAcquiredFcnCount
property is acquired for each channel group member. This event executes the callback function specified for SamplesAcquiredFcn
.
You should use SamplesAcquiredFcn
if you must access each sample that is acquired. If you do not have this requirement, you might want to use the TimerFcn
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.
Properties
EventLog
, SamplesAcquiredFcnCount
, TimerFcn
![]() | SamplesAcquired | SamplesAcquiredFcnCount | ![]() |