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

VISA Clear Function

LabVIEW 2013 Help

Edition Date: June 2013

Part Number: 371361K-01

»View Product Info

Owning Palette: VISA VIs and Functions

Requires: Base Development System

Clears the input and output buffers of the device.

Details  

VISA resource name specifies the resource to be opened. The VISA resource name control also specifies the session and class.
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.

VISA Clear Details

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.

 

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