Products > Test Equipment

Siglent SDS1104X-E and SDS1204X-E: Bode plot with a non-Siglent AWG

<< < (18/35) > >>

2N3055:

--- Quote from: cncjerry on January 16, 2022, 10:08:18 am ---For those, if any, who :=\ are interested, this is a great foundation for using non Siglent generators.  The primary issue though, is using it on windows and specifically, using python3.  Python3 has a number of explicit changes, and in addition to having to change all the print statements, byte arrays and strings that were somewhat the same prior to python3 now throw errors when they are concatenated using the "+" sign.  Again, python isnt my first language, but I got it working to the point where it has to reply to the ID request. This is one of the responses that has a string embedded in byte arrays (e.g. the ID of the siglent generator it spoofs) so I have to look at it more closely or just hard code all the responses since after that they are just null.

Bottom line is that I havent given up.  I figure once i get this HP8904 working it will be a nice setup for audio work.  I've used it in the past with my distortion analyzer as they are compatible. I have 4 or 5 HP generators for which I can write gpib drivers.

But since the scope is just measuring the voltage during a sweep, one could just as easily send gpib commands to the generator, query the scope and just dump the data into excel.  I was impressed with RF-loop's bode dissertation though, enough to order a sdg1032x.

More to come.

Jerry

--- End quote ---

Yeah, FRA from Siglent (the one in the scope that you use with Siglent AWG) is not only measuring voltage.
It's a hell of a lot more complicated than that.
So if you can make a gateway device that will make 3rd party gen properly respond to commands from scope and make it properly emulate Siglent AWG then you're good.
Otherwise it will be easier just to buy cheapest Siglent  AWG than to write proper FRA application..

cncjerry:
so I went back and installed python2.7.18 on my windows machine after playing with linux all day.

Test connection is successful and the commands come over when I press run.  I just have to clean-up some of the HP8904 command conversions to set the amplitude and frequency.

Pretty cool.  I wish I would have just install python 2.7 prior to ordering the SDG1032x, ha!

I'll post the HP8904 code after I clean it up.  Then I am going to do my 8648D, 8350, and a couple others I have as they all use the same gpib format and the commands are close.

Jerry

cncjerry:
update:

I have both the HP8648 and HP8904 working thru gpib.  It's a little tricky because I had to use a VP.Net console program to drive the GPIB until I get PYGPIB or PYVISA working on this stupid machine that just refuses to work...

I then started thinking about this little AD9910 generator I have that sits on an Arduino Mega2560 as a shield.  There are a bunch out there made by "GRA&AFCH" originally. The AD9910 is very clean for a DDS with ≤ −125 dBc/Hz @ 1 kHz offset (400 MHz carrier) and 80dB SFDR.  The nice thing about it is that it is small and can run off USB. It only has +4dBm output so it needs an amp on it.  I also had to change the code so that it took a 10Mhz reference as an input.

I have a 1032x coming and I am going to try to trace the USB setup and commands, most likely it presents as an HID compliant device and I've coded that before. But in the meantime, the AD9910 board I have can connect to the OP's code as a serial device using a VCP.  The AD9910 board didn't have serial commands until I just added them.  I only added Frequency and Amplitude, On and Off as I think that is pretty much all the scope sends of importance.

If anyone is interested in any of this, drop me a PM.

Jerry

tautech:

--- Quote from: cncjerry on January 20, 2022, 05:23:48 am ---update:

I have both the HP8648 and HP8904 working thru gpib.  It's a little tricky because I had to use a VP.Net console program to drive the GPIB until I get PYGPIB or PYVISA working on this stupid machine that just refuses to work...

I then started thinking about this little AD9910 generator I have that sits on an Arduino Mega2560 as a shield.  There are a bunch out there made by "GRA&AFCH" originally. The AD9910 is very clean for a DDS with ≤ −125 dBc/Hz @ 1 kHz offset (400 MHz carrier) and 80dB SFDR.  The nice thing about it is that it is small and can run off USB. It only has +4dBm output so it needs an amp on it.  I also had to change the code so that it took a 10Mhz reference as an input.

I have a 1032x coming and I am going to try to trace the USB setup and commands, most likely it presents as an HID compliant device and I've coded that before. But in the meantime, the AD9910 board I have can connect to the OP's code as a serial device using a VCP.  The AD9910 board didn't have serial commands until I just added them.  I only added Frequency and Amplitude, On and Off as I think that is pretty much all the scope sends of importance.

If anyone is interested in any of this, drop me a PM.

Jerry

--- End quote ---
Looking forward to the comparison Bode plot screenshots from your 4 signal sources.  :popcorn:

cncjerry:
It will be interesting to see how the much source impacts the plot.  I didnt think of running a comparison.

The source I`m excited about is that little DDS board.  It generates clean signals up to at least  1Gig.   I have a few broadband amps I can use after it and then I can make the power adjustment in the driver ( for the amp).  I plan to make a box with a splitter in it to have the dual outputs for phase.  Sort of like the external box they sell.  I'm not suggesting this board as an alternative, but if you have it, I think it will, work great as a source.

Jerry

Navigation

[0] Message Index

[#] Next page

[*] Previous page

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