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

VISA Read STB 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

Reads a service request status byte byte from the message-based device specified by VISA resource name.

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.
status byte contains the status byte read from the instrument.
error out contains error information. This output provides standard error out functionality.

VISA Read STB Details

Status Bytes for 488.2 Instruments (GPIB, VXI, TCP/IP, USB)

This function reads a service request from a message-based device. The following details are bus-specific:

  • GPIB—This function reads the status by serial polling the device.
  • VXI—This function sends the Word Serial Read STB query to the device.
  • USB—This function sends the device the Read Status Byte command on the control pipe.

Status Bytes for Non-488.2 Instruments (Serial Instr, TCP/IP Socket, USB Raw)

This function retrieves status information by sending a message in response to a service request. For a session to a Serial Instr or Ethernet Socket, if the property IO Protocol is Serial-TCPIP/488 (4), the device is sent the string "*STB?\n" and then the device status byte is read; otherwise, this operation is not valid.


 

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