ScopeDriverBase#
- class ScopeDriverBase[source]#
Bases:
ABCVendor scope driver contract. Concrete drivers compose a transport (typically
VisaDriver).Channels are 1-indexed analog input numbers throughout — the wrapper instrument (
InstroScope) is responsible for range-checking against the declarednum_channels.
Methods
Drain the vendor's error queue; raise |
|
Close the underlying transport. |
|
Arm a single acquisition and block until the trigger fires and the capture completes. |
|
Fetch the most recently acquired waveform from |
|
Force a trigger event immediately, regardless of the configured conditions. |
|
Read back the current acquisition mode. |
|
Read back the acquisition run state (RUNNING / STOPPED). |
|
Read back the waveforms-to-average count. |
|
Read back input coupling on |
|
Read back the timebase (seconds/div). |
|
Read back |
|
Read back the current sample rate (samples per second). |
|
Read back the trigger status (ARMED / READY / TRIGGERED / …). |
|
Read back |
|
Read back |
|
Recall a scope setup from |
|
Read a built-in measurement (VPP, VMAX, VMIN, VAVG, VRMS, …) on |
|
Open the underlying transport. |
|
Start continuous (free-running) acquisition. |
|
Capture a screenshot. |
|
Save the current scope setup. |
|
Set the acquisition mode. |
|
Set the number of waveforms to average. |
|
Set AC/DC input coupling on |
|
Set the timebase to |
|
Set |
|
Set the trigger threshold to |
|
Set the trigger sweep mode (AUTO / NORMAL). |
|
Set the trigger edge slope (RISING / FALLING / EITHER). |
|
Set the trigger source to analog |
|
Set the trigger type (EDGE, PULSE, …). |
|
Set |
|
Set |
|
Ensure a measurement slot exists for |
|
Arm a single-shot acquisition. |
|
Stop acquisition. |