Keysight N778xC Series Polarization Instruments Programming Guide
31
Instrument Setup and Status
3
Command:
*OPC?
Syntax:
*OPC?
Description:
The OPeration Complete query *OPC? parses all program message units in the input queue, sets the operation complete bit
in the Standard Event Status register, and places an ASCII ’1’ in the output queue, when the contents of the input queue
have been processed.
Taking advantage of this feature, and using *OPC? in a loop to query until the instrument returns 1, can lead to useful gains
in program execution efficiency.
Parameters:
none
Response:
1 is returned if all modules are ready to execute a new operation.
0 is returned if any module is busy.
Example:
*OPC?
->
1
Command:
*OPT?
Syntax:
*OPT?
Description:
The OPTions query *OPT? returns the options installed in your instrument.
Parameters:
none
Response:
Returns the part number of all installed options, separated by commas.
Slots are listed starting with the lowest slot number, that is, slot 1.
Example:
*OPT? -> N7752A-002, N7752A-002, N7752A-001,N7752A-001,
Command:
*RST
Syntax:
*RST
Description:
The ReSeT command *RST sets the mainframe and all modules to the reset setting (standard setting) stored internally.
The instrument is placed in the idle state awaiting a command. The *RST command clears the error queue.
The *RST command is equivalent to the *CLS command AND the syst:preset command.
The following are not changed:
Instrument interface address
Service request enable register (SRE)
Standard Event Status Enable Mask (SESEM)
NOTE: When the saved configurations are needed and should not be erased the preset can be done with conf:meas:sett:pres
command.