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, DPO7AX, DPO7K, DPO7KC, DSA70KC, DSA70KD, LPD6, MDO3, MDO3K, MDO4K, MDO4KB, MDO4KC, MSO2, MSO2K, MSO2KB, MSO4, MSO4B, MSO4K, MSO4KB, MSO5, MSO5B, MSO5K, MSO5KB, MSO5LP, MSO6, MSO6B, 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
- *CLS
- *ESR?
- *STB?
- *WAI

Cls

Bases: SCPICmdWriteNoArguments

The *CLS command.

Description
  • This command (no query form) clears the following: Event Queue Standard Event Status Register Status Byte Register (except the MAV bit) If the *CLS command immediately follows an , the Output Queue and MAV bit (Status Byte Register bit 4) are also cleared. MAV indicates that information is in the output queue. The device clear (DCL) control message will clear the output queue and thus MAV. *CLS does not clear the output queue or MAV. *CLS can suppress a Service Request that is to be generated by an *OPC. This will happen if a single sequence acquisition operation is still being processed when the *CLS command is executed.
Usage
  • Using the .write() method will send the *CLS command.
SCPI Syntax
- *CLS

Esr

Bases: SCPICmdRead

The *ESR command.

Description
  • This query-only command returns the contents of the Standard Event Status Register (SESR). *ESR? also clears the SESR (since reading the SESR clears it). For a more detailed discussion of the use of these registers, see Registers.
Usage
  • Using the .query() method will send the *ESR? query.
  • Using the .verify(value) method will send the *ESR? query and raise an AssertionError if the returned value does not match value.
SCPI Syntax
- *ESR?

Stb

Bases: SCPICmdRead

The *STB command.

Description
  • The *STB? (Read Status Byte) query returns the contents of the Status Byte Register (SBR) using the Master Summary Status (MSS) bit. For more information, refer to Registers.
Usage
  • Using the .query() method will send the *STB? query.
  • Using the .verify(value) method will send the *STB? query and raise an AssertionError if the returned value does not match value.
SCPI Syntax
- *STB?

Wai

Bases: SCPICmdWriteNoArguments

The *WAI command.

Description
  • The *WAI (Wait) command (no query form) prevents the instrument from executing further commands or queries until all pending commands that generate an OPC message are complete. This command allows you to synchronize the operation of the instrument with your application program. For more information, refer to Synchronization Methods.
Usage
  • Using the .write() method will send the *WAI command.
SCPI Syntax
- *WAI