| Data Acquisition Toolbox™ | ![]() |
A data missed event is generated immediately after acquired data is missed. This event executes the callback function specified for DataMissedFcn. The default value for DataMissedFcn is daqcallback, which displays the event type and the device object name.
In most cases, data is missed because:
The engine cannot keep up with the rate of acquisition.
The driver wrote new data into the hardware's FIFO buffer before the previously acquired data was read. You can usually avoid this problem by increasing the size of the memory block with the BufferingConfig property.
Data missed event information is stored in the Type and Data fields of the EventLog property. The Type field value is DataMissed. 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 sample number when the event occurred. |
When a data missed event occurs, the analog input object is automatically stopped.
Usage | AI, Common to all channels |
Access | Read/write |
Data type | String |
Read-only when running | No |
The default value is daqcallback.
![]() | ClockSource | DefaultChannelValue | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |