VISA Read STB Function

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


icon

Inputs/Outputs

  • cvsrn.png VISA resource name

    VISA resource name specifies the resource to be opened. The VISA resource name control also specifies the session and class.

  • cerrcodeclst.png error in (no error)

    error in describes error conditions that occur before this node runs. This input provides standard error in functionality.

  • ivsrn.png VISA resource name out

    VISA resource name out is a copy of the VISA resource name that VISA functions return.

  • iu16.png status byte

    status byte contains the status byte read from the instrument.

  • ierrcodeclst.png error out

    error out contains error information. This output provides standard error out functionality.

  • 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.