status_and_error
¶
The status_and_error commands module.
These commands are used in the following models: DPO7AX, LPD6, MSO4, MSO4B, MSO5, MSO5B, MSO5LP, MSO6, MSO6B
THIS FILE IS AUTO-GENERATED, IT SHOULD NOT BE MANUALLY MODIFIED.
Please report an issue if one is found.
Commands and Queries
- *ESE <NR1>
- *ESE?
- *OPC
- *OPC?
- *RST
Ese
¶
Bases: SCPICmdWrite, SCPICmdRead
The *ESE command.
Description
- This command sets and queries the bits in the Event Status Enable Register (ESER). The ESER prevents events from being reported to the Status Byte Register (STB). For a more detailed discussion of the use of these registers, see Registers. Note: Setting the DESER and the ESER to the same values allows only those codes to be entered into the Event Queue and summarized on the ESB bit (bit 5) of the Status Byte Register. Use the DESE command to set the DESER.
Usage
- Using the
.query()method will send the*ESE?query. - Using the
.verify(value)method will send the*ESE?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send the*ESE valuecommand.
SCPI Syntax
- *ESE <NR1>
- *ESE?
Info
<NR1>specifies the binary bits of the ESER according to this value, which ranges from 0 through 255. The power-on default for the ESER is 0 if*PSCis 1. If*PSCis 0, the ESER maintains the previous power cycle value through the current power cycle.
Opc
¶
Bases: SCPICmdWriteNoArguments, SCPICmdRead
The *OPC command.
Description
- This command generates the operation complete message in the Standard Event Status
Register (SESR) when all pending commands that generate an OPC message are complete. The
*OPC?query places the ASCII character ‘1’ into the output queue when all such OPC commands are complete. The*OPC?response is not available to read until all pending operations finish. For a complete discussion of the use of these registers and the output queue, see Registers and Queues. The*OPCcommand allows you to synchronize the operation of the instrument with your application program. For more information, see Synchronization Methods. Refer to the Oscilloscope operations that can generate OPC table for a list of commands that generate an OPC message. (See Table 3-3.)
Usage
- Using the
.query()method will send the*OPC?query. - Using the
.verify(value)method will send the*OPC?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write()method will send the*OPCcommand.
SCPI Syntax
- *OPC
- *OPC?
Rst
¶
Bases: SCPICmdWriteNoArguments
The *RST command.
Description
-
- This command (no query form) resets the instrument to the factory default settings. This
- command does the following: Recalls the default instrument setup. Clears the current
*DDTcommand. Disables aliases (:ALIAS:STATE 0). Disables the user password (for- the
*PUDcommand). The*RSTcommand does not change the following: The current - working directory (:
FILESystem:CWDcommand). The state of command headers (: HEADer - command). The state of keyword and enumeration verbosity (: VERBose command). The Power-on
- Status Clear Flag (
*PSCcommand). The Event Status Enable Register (*ESE - command). The Service Request Enable Register (
*SREcommand). The Event Status Enable - Register (
*ESEcommand). The Service Request Enable Register (*SREcommand). The - Device Event Status Enable Register ( DESE command). The user password for protected user
- data (: PASSWord command). The content of protected user data (
*PUDcommand). The - enabled state of the socket server (:
SOCKETServer:ENAblecommand). The socket server - port number (:
SOCKETServer:PORTcommand). The socket server protocol (: SOCKETServer:PROTOColcommand). The USBTMC port configuration (:-
USBDevice:CONFigurecommand). The destination reference waveform or file path for the - CURVe command (:
DATa:DESTinationcommand). The source waveform for the : CURVe? or -
- WAVFrm? queries (:
DATa:SOUrcecommand). The source waveform for the : CURVe? or : - WAVFrm? queries (:
DATa:SOUrcecommand). The waveform data encoding for the : CURVe - command or query or the : WAVFrm? query (:
DATa:ENCdgcommand). The starting point for - CURVe? queries (:
DATa:STARtcommand). The ending point for : CURVe? queries (:DATa:STOPcommand). All settings associated the : WFMInpre commands. All user settable settings associated with the WFMOutpre commands.*RSTonly resets the programmable interface settings, it does not change the user interface settings.
- WAVFrm? queries (:
Usage
- Using the
.write()method will send the*RSTcommand.
SCPI Syntax
- *RST