Data Acquisition Toolbox
  Function/Property:
    Search    Help Desk 
SamplesAcquiredAction    See Also

SamplesAcquiredAction specifies the M-file function to be executed every time the number of samples specified by SamplesAcquiredActionCount are acquired for each channel group member. The actual frequency with which SamplesAcquiredAction is called is based largely on this value and the sample rate.

If data is to be processed as it is being acquired, it must be extracted from the data acquisition engine with the getdata function during execution of the SamplesAcquiredAction M-file. getdata ensures that all data is processed and that no data is missed. Therefore, acquisition performance may be affected.

Characteristics

Device Objects

AI
Class

Common
Access

Read/write
Data Type

String
Modify while Running

Yes

Values

The default value is an empty string.

See Also

Properties

SamplesAcquiredActionCount



[ Previous | Help Desk | Next ]