VISA Flush I/O Buffer Function

Owning Palette: Serial VIs and Functions

Requires: Base Development System

Flushes the I/O buffer specified by mask.

 Add to the block diagram  Find on the palette
VISA resource name specifies the resource to be opened. The VISA resource name control also specifies the session and class.
mask designates the buffer to flush. Combine the buffer masks by bit to flush more than one buffer simultaneously. Use logical OR, also known as OR-ing or adding, to combine the values. Use only one mask value for the receive buffer and only one mask value for the transmit buffer.

This input accepts the following values.
Mask ValuesHex CodesDescription
160x10Flushes and discards contents of the receive buffer (same as 64).
320x20Flushes and discards contents of the transmit buffer by writing all the buffered data to the device.
640x40Flushes and discards contents of the receive buffer (does not perform any I/O to the device).
1280x80Flushes and discards contents of the transmit buffer (does not perform any I/O to the device).
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
VISA resource name out is a copy of the VISA resource name that VISA functions return.
error out contains error information. This output provides standard error out functionality.