Remote Operation
Publication 31470-001, Rev C, November 2, 2017
3-47
*STB?
Syntax:
*STB?
Example:
*STB?
! QUERIES THE STATUS BYTE REGISTER VALUE
Description:
This query returns the current Status Byte Register value. The response to the query is a
decimal value that corresponds to the binary-weighted sum of all the bits in the register. Values
returned by this query range from 0 through 255.
The bits in the Status Byte Register are latched meaning once a bit is set, clearing the
condition does not clear the bit. Performing the *STB? query clears the bits in the Status Byte
Register. The entire register can be cleared by sending the Clear Status (*CLS) command.
*SRE
Syntax:
*SRE
space
<binary-weighted sum of all the bits to be enabled, 0 to 255>
Example:
*SRE 32
! SET BIT 5 (2
5
) OF THE SERVICE REQUEST ENABLE REGISTER
Example 2:
*SRE?
! QUERIES THE SERVICE REQUEST ENABLE REGISTER VALUE
Description:
This command sets/clears the Service Request Enable Register. This is effectively the enable
mask of the Status Byte Register. The Service Request Enable Register can be both set and
queried.
Set the register by using the command *SRE followed by the binary-weighted sum of all the
bits to be enabled. For example, *SRE 160 (2
5
+2
7
) will enable bits 5 and 7of the Status Byte
Register mask.
Querying the Service Request Enable Register does not clear the bits. The Service Request
Enable Register bits can be cleared only by setting the register to 0; *SRE 0.
Summary of Contents for 8650B Series
Page 3: ...Series 8650B Universal Power Meters Publication 31470 001 Rev C November 2 2017 iii ...
Page 18: ......
Page 32: ......
Page 78: ......
Page 236: ......
Page 244: ......
Page 258: ......
Page 267: ...Publication 31470 001 Rev C November 2 2017 Last page of the document ...