Prologix GPIB-USB Controller User Manual
4/19/2011 14
SYNTAX: ++spoll [<PAD> [<SAD>]]
PAD (Primary Address) is a decimal value between 0 and 30.
SAD (Secondary Address) is a decimal value between 96 and 126. SAD is optional.
MODES AVAILABLE: CONTROLLER
EXAMPLE:
++spoll 5 Serial poll instrument at primary address 5
++spoll 9 96 Serial poll instrument at primary address 9, seconday address 0
++spoll Serial poll currently addressed instrument
8.17. srq
This command returns the current state of the GPIB SRQ signal. The command returns
‘1’ is SRQ signal is asserted (low) and ‘0’ if the signal is not asserted (high).
SYNTAX: ++srq
MODES AVAILABLE: CONTROLLER
8.18. status
The status command is used to specify the device status byte to be returned when serial
polled by a GPIB controller. If the RQS bit (bit #6) of the status byte is set then the
SRQ signal is asserted (low). After a serial poll, SRQ line is de-asserted and status byte is
set to 0. Status byte is initialized to 0 on power up.
SRQ is also de-asserted and status byte is cleared if DEVICE CLEAR (DCL) message,
or SELECTED DEVICE CLEAR (SDC) message, is received from the GPIB
controller.
If the command is issued without any arguments it returns the currently specified status
byte.
SYNTAX: ++status [0-255]
MODES AVAILABLE: DEVICE
EXAMPLE:
++status 48 Specify serial poll status byte as 48. Since bit #6 is set, this
command will assert SRQ.
++status Query current serial poll status byte.