Rigol_DS1000Z
- class src.oscope.Rigol_DS1000Z(visa: str | None = None)[source]
A class for communicating with a Rigol DS1000Z series oscilloscope. This class is compatible with context managers. The functional interfaces
acquire,channel,display,measure,timebase,trigger, andwaveformare bound to this object as partial functions. IEEE 488.2 common commands (e.g.idn,rst,cls,opc) are available as methods.- Parameters:
visa (str) – The VISA resource address string.
- autoscale()[source]
:AUToscaleAutoscale the oscilloscope, blocking until complete.Autoscale is an overlapped operation; completion is awaited via
opc()(*OPC?), which blocks until the autoscale finishes.
- ese(value: int | None = None)[source]
*ESESet (when given) and query the event status enable register.
- query(cmd: str, delay: float | None = None)[source]
Execute a query over the VISA communication interface. The blocking read also synchronizes the controller to the response.
- Parameters:
cmd (str) – The command string to be written.
delay (float) – Time delay between write and read (optional).
- Returns:
The received string.