VISA Read STB Function

LabVIEW 2018 Help

Edition Date: March 2018
Part Number: 371361R-01
View Product Info

DOWNLOAD (Windows Only)

LabVIEW 2016 Help
LabVIEW 2017 Help
LabVIEW 2018 Help
LabVIEW 2019 Help
LabVIEW 2020 Help

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.


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.


Not Helpful