mbus CSDB Clear Overflow.vi
Description
Continuously reading received data must be done at a pace to avoid receive buffer overflow. Overflow errors are reported by the mbus CSDB Clear Overflow.vi when the incoming new data overwrites the data already in the buffer and waiting to be read. In such situation, the new data overwrites the unread ones resulting in data loss. Application must be designed to allow sufficient receive buffer size and do repeated calls to the mbus CSDB Receive.vi within short delay to avoid buffer overflow.
Overflow error can be handled by calling the mbus CSDB Clear Overflow.vi once the error occurred. Clearing the overflow error allows to continue reading the received data using mbus CSDB Receive.vi.
Parameters | ||
---|---|---|
error in | in | error conditions that occur before entering the function |
portHandle | in | reference to the configured port |
error out | out | error information |
function return | out | function execution status |
Availability
Available in Multibus VI 1.3 and later.
See Also
-
Example
-