Skip to content

mbus A429 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 A429 Receive Advanced.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 A429 Receive Advanced.vi within short delay to avoid buffer overflow.

Overflow error can be handled by calling the mbus A429 Clear Overflow.vi once the error occurred. Clearing the overflow error allows to continue reading the received data using mbus A429 Receive Advanced.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.0 and later.

See Also

-

Example

-