Products > Test Equipment
Siglent SDS1104X-E and SDS1204X-E: Bode plot with a non-Siglent AWG
4x1md:
At a certain point after getting the SDG1204X-E oscilloscope I started to wonder if it might be possible to use the Bode plot function with a non-Siglent waveform generator. After some hours of researching and reverse engineering I wrote this Python program. It is a small server which emulates Siglent arbitrary waveform generator connected to LAN.
While drawing a Bode plot, the oscilloscope sends the commands to PC instead of the AWG and my program is what makes the oscilloscope think that it communicates with a genuine Siglent signal generator. The program extracts the commands sent to the generator, parses them and translates to the commands, which can be understood by the connected to the PC non-Siglent generator.
The program is written in Python. I tested it only under Linux. Later I'll test it under Windows too.
The source code and the explanations about running it are located here:
https://github.com/4x1md/sds1004x_bode
Here is a video which shows how the program works:
You are welcome to discuss the program here.
bluejedi:
--- Quote from: 4x1md on July 17, 2018, 11:07:08 pm ---At a certain point after getting the SDG1204X-E oscilloscope I started to wonder if it might be possible to use the Bode plot function with a non-Siglent waveform generator. After some hours of researching and reverse engineering I wrote this Python program. It is a small server which emulates Siglent arbitrary waveform generator connected to LAN.
While drawing a Bode plot, the oscilloscope sends the commands to PC instead of the AWG and my program is what makes the oscilloscope think that it communicates with a genuine Siglent signal generator. The program extracts the commands sent to the generator, parses them and translates to the commands, which can be understood by the connected to the PC non-Siglent generator.
--- End quote ---
Do you have any plans to add support for the MHS-5200A?
https://www.eevblog.com/forum/testgear/mhs-5200a-serial-protocol-reverse-engineered/
Except for the UI and max. frequency the MHS-5200A looks functionally similar to the JDS6600 (but I'm unaware if their interface command language / format is similar).
4x1md:
Currently I support only the devices I have. I'll add one more model which is very similar to BK4075.
It would be nice to add more generators but currently I have no idea how to do it without having the specific model. Maybe I'll have to work together with somebody who has it and can test my code.
xenganier:
Thanks for doing this. I have it working with an RPi3 running Dietpi and it works well except for a few glitches. Especially on medium and high resolution modes the JDS6600 goes to zero frequency once in awhile, maybe three times on a 20-20k sweep. In your video near the end on high res yours does it too. I tried raising Sleeptime in steps up to 100ms but it didn't seem to make a difference. Any idea what might be going on?
4x1md:
--- Quote from: xenganier on August 07, 2018, 09:56:57 pm ---Thanks for doing this. I have it working with an RPi3 running Dietpi and it works well except for a few glitches. Especially on medium and high resolution modes the JDS6600 goes to zero frequency once in awhile, maybe three times on a 20-20k sweep. In your video near the end on high res yours does it too. I tried raising Sleeptime in steps up to 100ms but it didn't seem to make a difference. Any idea what might be going on?
--- End quote ---
No. I'll try to understand when I have free time.
Navigation
[0] Message Index
[#] Next page
Go to full version