Products > Test Equipment
Siglent SDS1104X-E and SDS1204X-E: Bode plot with a non-Siglent AWG
cdc3oo:
--- Quote from: BlackICE on March 30, 2020, 11:30:58 pm ---Using the bode II stimulus in units other than amplitude (eg. dBV, dBu) doesn't work. I looked at the code and those commands are not being handled. The FY6900 I have doesn't have those units either but it should be strait forward to convert from dB units to amplitude to get the desired results, although the FY6900 display will show volts. Any interest for me to do so and to post the code back to GitHub?
--- End quote ---
Hello I missed your post before writing my first one...
Unless you already did it, here is the code which should work with others AWGs:
elif args[n] == "AMPDBM":
self.awg.set_amplitude(channel, 0.77459*2.82843*pow(10,float(args[n+1])/20))
n += 2
timkoers:
Hi all!
I am planning to buy a AWG that is supported by this awesome hack.
Is there any list with (un-)officially supported AWG's, with their development status?
At first I looked for the JDS6600 but now I'm leaning towards the FY6800 or FY6900.
aljordan:
Thank you very much for creating this script and making it available. It works great with a Koolertron signal generator, which appears to be a re-branded jds6600 available on Amazon. I first tried running it from my laptop running Manjaro Linux, but the oscilloscope wouldn't connect. Maybe the ports were locked down. Instead I installed pip and pyserial on a Raspberry Pi running Diet Pi and had no issues connecting and running plots.
Thanks again.
ptype:
I tried this today with a FY2300 and it worked the first attempt with no problems. Thanks!
For those who would rather not open a port as root, there is a built-in way to do internal NAT (port forwarding) in Linux.
First open up awg_server.py
and change
RPCBIND_PORT = 111
VXI11_PORT = 703
to
RPCBIND_PORT = 8000
VXI11_PORT = 8001
next run this at the commandline to set up the port forward
sudo iptables -t nat -A PREROUTING -p tcp --dport 111 -j REDIRECT --to-port 8000
Now you can run bode.py as an unprivileged user (no sudo needed):
python bode.py <awg_name> <serial_port> <baud_rate>
clean up the port forward at any time with a reboot. There are also iptables commands to delete the port forward but that seemed like TMI for this post.
Archades:
Has anyone tried this with a Uni-T UTG962?
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version