status_and_error
¶
The status_and_error commands module.
These commands are used in the following models: AFG3K, AFG3KB, AFG3KC, AWG5200, AWG5K, AWG5KC, AWG70KA, AWG70KB, AWG7K, AWG7KC, DPO2K, DPO2KB, DPO4K, DPO4KB, DPO5K, DPO5KB, DPO70KC, DPO70KD, DPO70KDX, DPO70KSX, DPO7K, DPO7KC, DSA70KC, DSA70KD, MDO3, MDO3K, MDO4K, MDO4KB, MDO4KC, MSO2, MSO2K, MSO2KB, MSO4K, MSO4KB, MSO5K, MSO5KB, MSO70KC, MSO70KDX, TekScopePC
THIS FILE IS AUTO-GENERATED, IT SHOULD NOT BE MANUALLY MODIFIED.
Please report an issue if one is found.
Commands and Queries
- *OPC
- *OPC?
- *RST
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.
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 (:HEADercommand). The state of keyword and enumeration verbosity (:VERBosecommand). The Power-on Status Clear Flag (*PSCcommand). 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 (:PASSWordcommand). 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:CURVecommand (:DATa:DESTinationcommand). The source waveform for the:CURVe?or:WAVFrm?queries (:DATa:SOUrcecommand). The waveform data encoding for the:CURVecommand 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:WFMInprecommands. All user settable settings associated with the WFMOutpre commands.*RSTonly resets the programmable interface settings, it does not change the user interface settings.
Usage
- Using the
.write()method will send the*RSTcommand.
SCPI Syntax
- *RST