beautypg.com

Other status register commands – GW Instek PPH-1503 User Manual

Page 128

background image

PPH-1503 User Manual

128

Function

Queries the standard event register. It returns a
binary-weighted decimal value in the range of
0~255.

Example

*ESR?
198
It returns 198 as the standard event register has a
binary value of 1100 0110.

Other Status Register Commands

Command

*CLS

Function

Clears the status byte summary registers and the
all event registers.

Example

*CLS
Clears all the event registers.


Command

*OPC

Function

After all the pending operations are complete, sets
the operation complete bit in the standard event
status register.

Example

*OPC


Command

*OPC?

Function

Will return “1” to the output queue when all
pending operations have been completed.

Example

*OPC?
After the last command is executed, will return a
“1” to the output queue.