set_ieee488_enable
Set IEEE 488.2 event and service enable registers on a Rigol MHO98 oscilloscope to define which status bits trigger service requests, and optionally arm *OPC for completion polling.
Instructions
Set IEEE488.2 enable registers (*ESE, *SRE) and optionally arm *OPC.
event_enable: bit sum (0..255) for the standard event register
(OPC=1, QYE=4, DDE=8, EXE=16, CME=32, PON=128 — table 3.153).
service_enable: bit sum (0..255) for the status byte register
(ERR queue=4, QSD=8, MAV=16, SES=32, MSS=64, OSR=128 — table 3.154).
signal_operation_complete: send *OPC so bit 0 of *ESR latches when all
pending operations finish (poll with get_ieee488_status).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| event_enable | No | ||
| service_enable | No | ||
| signal_operation_complete | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |