VISA Flush I/O Buffer Function

Flushes the I/O buffer specified by mask.


icon

Inputs/Outputs

  • cvsrn.png VISA resource name

    VISA resource name specifies the resource to be opened. The VISA resource name control also specifies the session and class.

  • cu16.png mask (16)

    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).
  • cerrcodeclst.png error in (no error)

    error in describes error conditions that occur before this node runs. This input provides standard error in functionality.

  • ivsrn.png VISA resource name out

    VISA resource name out is a copy of the VISA resource name that VISA functions return.

  • ierrcodeclst.png error out

    error out contains error information. This output provides standard error out functionality.