Connecting to Rigol DS4000-Series by Rigol in Python
Instrument Card
The Rigol DS4000 series consists of 8 high level Oscilloscopes for professional operation, which come off very well compared to higher prices models of other brands.
Device Specification: here
Manufacturer card: RIGOL
RIGOL Technologies, Inc. specializes in development and production of test and measuring equipment and is one of the fastest growing Chinese companies in this sphere. RIGOL’s line of products includes digital storage oscilloscopes, function/arbitrary waveform generators, digital multimeters, PC-based devices compatible with LXI standard etc.
- Headquarters: Beijing, China
- Yearly Revenue (millions, USD): 23
- Vendor Website: here
Demo: Measure signal width and phase with a Tektronix oscilloscope
Connect to the Rigol DS4000-Series in Python
Read our guide for turning Python scripts into Flojoy nodes.
PROTOCOLS > SCPI
To connect to a Rigol DS4000-Series Oscilloscope using Qcodes, you can use the following Python script:
This script connects to the oscilloscope using the VISA address “USB0::0x1AB1::0x04CE::DS4A203100839::INSTR”. You may need to modify this address to match the actual address of your oscilloscope.
The script then performs various operations on the oscilloscope, such as setting the time base, enabling autoscale, starting and stopping the acquisition, and retrieving the waveform data from channel 1.
Finally, the script closes the connection to the oscilloscope using the close()
method.
Note: This script assumes that you have already installed the necessary dependencies, including Qcodes and the Rigol DS4000 driver.