EEVblog Electronics Community Forum

Products => Test Equipment => Topic started by: Gandalf_Sr on December 07, 2020, 11:27:28 am

Title: How to script a waveform for Rigol?
Post by: Gandalf_Sr on December 07, 2020, 11:27:28 am
I have 2 Rigol AWGs, a DG4162 and a DG992, I also have an MSO5074 with AWG.

I know that I can use Rigol's Ultra Sigma software to plot points on a waveform but tracing out the sine wave seems silly plus I would have to buy a license and all I want to do is set up a 1 kHz sine wave at 15 mV pk-pk and then change the amplitude to 500 mV pk-pk.

Is there a simple way to write a script that sends commands to the signal generator in some timed way and can that be done using free tools?

[EDIT] So I looked back at this subject and realized it's come up for me before when trying to calibrate my DP832A.  What that thread seems to have settled on is using Python running on PyCharm so I have that already installed (along with PyVISA); I could use some guidance on how to get started writing a script in PyCharm that would allow me to run the Rigol SCPI commands.

Thanks in advance :D