Hey, I used some hacks from this forum to automate collecting bode plot data from Siglent, in attachment you can find script in python that uses LAN SCPI command engine vxi11 (free for commercial use) and telnet for communication with instruction how to use it (at bottom of file are some notes about running it). That took me a while as I couldn't find syntax for not documented commands and is a little bit backdoor method. Hope it will help someone, nice forum you have
.
Works for setup with (and of course I am not responsible for any harm for user or equipment
):
-Windows machine with lan connection to Siglent and python 3.8
-Oscilloscope Siglent 1104X-e (Software version 6.1.37R8, Uboot-os 8.3)
-Generator Siglent 2042X
How to use it:
Setup IP connection on your Siglent
Turn off oscilloscope
Plug pendrive with siglent_device_startup.sh and remount.sh from Paul_GD post (should be empty beside that, otherwise siglent won't like it)
https://www.eevblog.com/forum/testgear/unlocking-siglent-sds1104x-e-step-by-step/msg4292821/#msg4292821Turn on oscilloscope (it will start telnet server)
Setup your bode plot measurement, script need to have CH1, CH2 and CH3 in use (better read that:
https://siglentna.com/application-note/bode-plot-filter-oscilloscope-generator/ )
Start Run of bode plot
Don't touch your oscilloscope buttons (it uses interface for interaction)
Set IP in script (line 324, SDS_instance = SDS1104X_E("192.168.0.210")
Run script, it should save every bode plot cycle of oscilloscope to file and display oscilloscope screen
Note: if you use low frequencies (~10Hz) you may want to regulate some variables in script (siglent responses have lags in this case)
Thanks for Rerouter priv help and those posts:
Thank you Siglent, You build in a feature requests and don't even make note of it..
There was a uprising amount of stuff added, its about 3MB extra on the main application alone.
We have all new Bode Plot SCPI commands
BODE:SW BODE:SWITCH Query / Command
BODE:AWG Query / Command
BODE:STIM BODE:STIMULUS Command
BODE:SWP BODE:SWEEP Command
BODE:SWP:EDIT BODE:SWEEP:EDIT Command
BODE:DUT Command
BODE:OPER BODE:OPERATE Command
BODE:DIS:APM BODE:DISPLAY:APM Command
BODE:DIS:PHA BODE:DISPLAY:PHA Command
BODE:DIS:ASET BODE:DISPLAY:ASET Command
BODE:DIS:CRS BODE:DISPLAY:CRS Command
BODE:DATA Command
Some new probe commands that hint at digital probes
C1:POffs Command / Query
C1:PDAC Command / Query
C1:PDelta Command / Query
C1:PIntc C1:PIntercept Command / Query
C1:PCali C1:ProbeCalibrate Command / Query
C1:PInfo C1:ProbeInfo Command / Query
C1:ProbeSN
C1:PType C1:ProbeType
C1:PRes C1:ProbeRes
C1:PCap C1:ProbeCap
C1:PBW C1:ProbeBW
C1:PGain C1:ProbeGain
And just way too much new stuff around decoders and triggering for me to dig through tonight, its about 4 pages worth of commands, more or less breaking out every available settings, Good work devs,
Just a small tip as to how to get root access the easiest on the SDS1104X-E
This works on the latest Uboot 8.3 and 6.1.37R9 firmware
Simply put the two scripts I attached on the root of your USB stick, the scope will automatically open up a root telnet on port 9999 while booting.
When in telnet, you can use the remount.sh script to change the USB from r/o to r/w.
Don't forget to remove the file after playing around, we don't want exposed root shells on the network!
But to cover myself, I of course take no responsibility for any damage that may occur to the user or the scope by using my script.
I hope this can help some people who didn't have success flashing a custom Uboot ^^