MX Foundation 4
|
The way to set a basic acquisition receive application is as follows:
Condition | Description |
---|---|
MXF_RXACQ_MODE_LINEAR | In this mode the acquisition stops when the buffer is full. |
MXF_RXACQ_MODE_CIRCULAR | In this mode the acquisition buffer is circular and never stops receiving. Whenever the acquisition queue becomes full, the acquisition process will discard newest received record. |
The MXF_FLEXANALOG_DATAREC structure must be used for reading ADC messages with acquisition service.
The example below shows how to implement an ADC basic receive acquisition application.