VISA Clear Function
- Updated2025-07-30
- 2 minute(s) read
Clears the input and output buffers of the device.

Inputs/Outputs
VISA resource name
—
VISA resource name specifies the resource to be opened. The VISA resource name control also specifies the session and class.
error in (no error)
—
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
VISA resource name out
—
VISA resource name out is a copy of the VISA resource name that VISA functions return.
error out
—
error out contains error information. This output provides standard error out functionality. |
Clear for 488.2 Instruments (GPIB, VXI, TCP/IP, USB)
- GPIB—VISA sends the Selected Device Clear command.
- VXI—VISA sends the Word Serial Clear command.
- USB—VISA sends the INITIATE_CLEAR and CHECK_CLEAR_STATUS commands on the control pipe.
Clear for Non-488.2 Instruments (Serial Instr, TCP/IP Socket, USB Raw)
- Serial Instr—VISA flushes (discards) the I/O output buffer, sends a break, and then flushes the I/O input buffer.
- TCP/IP Socket—VISA flushes the I/O buffers.
- USB Raw—VISA resets the endpoints referred to by the USB Settings:Bulk-In Pipe and USB Settings:Out Pipe properties.
VISA resource name
—
error in (no error)
—
VISA resource name out
—
error out
—