EXFO PM-1600 High-Speed Power Meter User Manual
Page 123
Remote Control (SCPI) Commands
High-Speed Power Meter
113
General Commands
*LOK
Description This command is used to set the Remote Lockout programming
state, i.e., to lock and unlock the PM-1600 keypad. Once the
PM-1600 keypad is locked, no external input can interfere with
the GPIB communication. The only way to unlock the keypad is
to use the *LOK command again or turn off the unit.
Syntax
*LOK
Parameters The parameter can be “1” to set the Remote
programming state to Remote Lockout or “0” to set the Remote
programming state to Remote.
*OPC
Description This command will cause the PM-1600 to generate the
“Operation complete” message in the Standard Event Status
Register (ESR) when all pending selected PM-1600 operations
have been completed.
Syntax
*OPC
Example
*OPC;*IDN?
*OPC?
Description This query puts an ASCII 1 in the output queue when the
content of the input queue has been processed. This query is
useful to prevent another command from being processed until
the current command is complete.
Syntax
*OPC?
Response
“1”
Remote Control (SCPI) Commands
High-Speed Power Meter
113
General Commands
*LOK
Description This command is used to set the Remote Lockout programming
state, i.e., to lock and unlock the PM-1600 keypad. Once the
PM-1600 keypad is locked, no external input can interfere with
the GPIB communication. The only way to unlock the keypad is
to use the *LOK command again or turn off the unit.
Syntax
*LOK
Parameters The parameter can be “1” to set the Remote
programming state to Remote Lockout or “0” to set the Remote
programming state to Remote.
*OPC
Description This command will cause the PM-1600 to generate the
“Operation complete” message in the Standard Event Status
Register (ESR) when all pending selected PM-1600 operations
have been completed.
Syntax
*OPC
Example
*OPC;*IDN?
*OPC?
Description This query puts an ASCII 1 in the output queue when the
content of the input queue has been processed. This query is
useful to prevent another command from being processed until
the current command is complete.
Syntax
*OPC?
Response
“1”