EasyManua.ls Logo

OPHIR RF - Status Reporting

Default Icon
21 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Appendix A
This Document contains proprietary and confidential information of Ophir RF Inc.
March 28, 2023 Rev: H
14
*OPC
Operation Complete. This command is accepted, but is not processed.
*OPC?
Operation Complete query. The response is always the character “1”.
*RST
Reset Command. Clears the Event Status Register only.
*SRE
Sets bits in the Service Request Enable register. Valid parameters are 0-255 (e.g.,
*SRE 255).
*SRE?
Reads the contents of the Service Request Enable register.
*STB?
Reads the Status Byte.
*TST?
Reads self-test results. The response is always the character “1”.
*WAI
Wait to Continue. This command is accepted, but is not processed.
Note that the above commands are only available during normal operation (i.e.,
they are not available when either the Configuration or Calibration menus are
active).
2.2.3 Status Reporting
Status reporting, i.e., the setting of the Service Request (SRQ) line and status bits in the
Event Status Register and Status Byte register (STB), are handled per tailored
requirements of IEEE-488.2. The reporting structure is presented in Figure 2. This figure
shows which status bits are used and which are always a logic zero.
Important Considerations:
1. The ESE and SRE registers have default values of all zeros. If status reporting is
desired, these registers must be initialized whenever power to the amplifier is
cycled.
2. Once the SRQ is asserted, then a serial poll command will un-assert the SRQ.
However, the STB and ESR registers will not clear until an *CLS command is
received.
The recommended/expected response to a service request is as follows:
1. The GPIB controller conducts a serial poll to determine which instrument made
the request (asserted the SRQ flag). If serial polling is not used, then the controller
could read the Status Byte, via the *STB? query to determine if a specific
instrument made the request.
2. Issue the standard clear serial poll command if serial polling is used.
3. Read the Event Status Register, via the *ESR? Query to determine the reason for
the service request.
4. If the User Request bit in the ESR is set, a fault condition occurred in the
amplifier. Read the status of the amplifier’s monitors via the Monitors? query.
5. Clear the ESR and monitor status registers via the *CLS command. Note that the
*CLS clears both the GPIB registers (ESR and STB) and acknowledges faults
(i.e., has the effect of issuing the ack_faults command). If a serial poll command
was not used, the SRQ line is un-asserted via the *CLS command.