Connecting to Rigol DG1062Z by Rigol in Python
Instrument Card
The Rigol DG1062Z is a two channel Function / Arbitrary Waveform Generator to create high quality signals up to 60 MHz (Sine) with very low jitter (200 ps) and the new SiFi (SIgnal FIdelity) technology. Beside the two analog outputs, the device includes an USB-Host- and an USB-device interface.
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
Connect to the Rigol DG1062Z in Python
Read our guide for turning Python scripts into Flojoy nodes.
PROTOCOLS > SCPI
Here is a Python script that uses Qcodes to connect to a Rigol DG1062Z Function Generator:
This script connects to a Rigol DG1062Z Function Generator using the specified address. It then sets the frequency, amplitude, and offset of channel 1 using the freq
, ampl
, and offset
parameters of the RigolDG1062Channel
class. The output of channel 1 is enabled using the state
parameter. Finally, a burst is triggered on channel 1 using the on
, ncycles
, and trigger
parameters of the RigolDG1062Burst
class.
Note: Make sure to replace the instrument address ("TCPIP0::169.254.187.99::inst0::INSTR"
) with the actual address of your Rigol DG1062Z Function Generator.