Author Topic: How to script a waveform for Rigol?  (Read 836 times)

0 Members and 1 Guest are viewing this topic.

Offline Gandalf_Sr

  • Super Contributor
  • ***
  • Posts: 1769
  • Country: us
How to script a waveform for Rigol?
« 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
« Last Edit: December 07, 2020, 01:43:08 pm by Gandalf_Sr »
If at first you don't succeed, get a bigger hammer

Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo