Company Events Academic Community Support Solutions Products & Services Contact NI MyNI

VISA Flush I/O Buffer Function

LabVIEW 2013 Help

Edition Date: June 2013

Part Number: 371361K-01

»View Product Info

Owning Palette: Serial VIs and Functions

Requires: Base Development System

Flushes the I/O buffer specified by mask.

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.

 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit