Products > Test Equipment

Setting Date and Time on Siglent SDS with a script

(1/1)

sibir:
That the SDS1104X-E does not keep date and time is really annoying when saving PNGs or other files to a USB stick.
I still have not given up hope that a future firmware update will let the scope fetch the time via NTP.

But as tv84 and BillB have pointed out elsewhere, you can set date and time via SCPI. Then the scope will time-stamp saved files correctly until the next power cycle.
To make life a little easier I now run the simple python script below to set the date and time. Note, that I assigned a static IP address to my scope.
Once I get tired of that I might turn it into a cron job or systemd service on some Raspberry Pi I use for home automation.


--- Code: ---import visa, time
rm = visa.ResourceManager() 
inst = rm.open_resource('TCPIP::192.168.1.99::INSTR')
inst.write(':SYST:DATE ' + time.strftime('%Y%m%d'))
inst.write(':SYST:TIME ' + time.strftime('%H%M%S'))

--- End code ---

tautech:
FYI SDS1*04X-E
NTP support was added along with Logging in the V3 OS update along with FW update V6.1.37R2
Links:
https://int.siglent.com/upload_file/zip/firmware/Oscilloscope/SDS1xx4X-E_EN.zip (OS update)
https://int.siglent.com/upload_file/zip/firmware/Oscilloscope/SDS1xx4X-E_6.1.37R2_EN.zip

With an active LAN connection and correct NTP settings to your local NTP server IP, real time can be displayed and file timestamps are added.

Latest FW version is:
https://int.siglent.com/upload_file/zip/firmware/Oscilloscope/SDS1xx4X-E_V6.1.37R10_EN.zip

Navigation

[0] Message Index

There was an error while thanking
Thanking...
Go to full version
Powered by SMFPacks Advanced Attachments Uploader Mod