Author Topic: The Siglent SDG2042X Thread  (Read 566967 times)

0 Members and 2 Guests are viewing this topic.

Offline mastershake

  • Frequent Contributor
  • **
  • Posts: 411
  • Country: us
Re: The Siglent SDG2042X Thread
« Reply #1675 on: July 20, 2023, 05:19:21 am »
so i am having zero luck here. i have now modded 5 other siglent models without any issues at all this is the first one bring a pain in the neck. what am i missing here.

just got the 2 in today i ordered price was just to good to pass on (250 each brand new) and i def want the 120 but are there other things that can be enabled safely and that are useable i.e. accurate?? i appreciate the help i got the scops both done easy with your all help. now i need to do these waveform gen's

i use putty all the time def know how to use it (in IT and web design) got the ethernet hooked up. tried multiple firmwares even ones people above said they had it work with just to be sure. turn on dhcp. got ip. run putty get to the scpi screen where it lists the siglent scpi and the correct model number. run the commands, input them into the script (same one i used for the previos sig's ive upgraded so i am to assume this script works?) tried without the scope id, tried to put the mc# intp the scope id just to try it. did change the 150m to 120m before running the script, put the resulting mcbd into putty for 120m and re started unit. still stuck at 40. tried this more then 20 times now and for the life of me i must be missing something. i did just get eye shots in both eyes so im a bit foggy but i had my daughter verify the numbers for me to make sure i was putting them in right she said all was good. using this script which worked perfect for the other models https://pastebin.com/fygAJy6y

any thoughts or ideas on what i could be doing wrong. i see the message in putty showing the connection to the siglent 2024 so it appears to be connecting right. currently on firmware 2.01.01.35R3B2 because previous poster said they had it work fine with that one. so i figured why not.

this is driving me insane. i ALMOST bought hantek's instead but when he offered these to me for less money and i knew they could do 120 i said ill def take those over the hanteks. but im stuck at 40 now and the hanteks at least stock are 100. can someone help me out. so much appreciated. one of these is going to a younger student who had cancer like i do and i wanted to do something nice to brighten his day up (im teaching him what i know and we connect because we both are dealing with terminal cancer) so i really want to get it working for him. you would def be helping make him smile a ton. this is one of the last pieces he needed. i gave him my old scope and one of my microscopes so he is over the moon and this would just top it off.

thank you so much in advance if you can help me out. i just cant figure this out and watch its prob something really dumb and im going to be like omg duh. sometimes all the cancer meds dont help my thinking they have me on actinium now which is def causing some brain fog.
 

Offline mastershake

  • Frequent Contributor
  • **
  • Posts: 411
  • Country: us
Re: The Siglent SDG2042X Thread
« Reply #1676 on: July 20, 2023, 06:57:05 am »
i know i also posted this in the other 2024 hack thread but i thought it may be able to help someone and honestly im not sure which is really the current thread to follow lol prob this one

"okay so i dont know if this was mentioned and i missed it or it was me being dumb tonight with my chemo brain as we call it but when running the script for the keygen you have to put the serial number in the scope id line NOT in the serial number line. once i did that worked like a charm.


now can i upgrade to the newest firmware or will that wipe out the 120m. these seem to be more basic then i thought but the hantek quality scared me and their comparable unit did go to 150 BUT the square for example only went to 10 and triangle only to 1 etc. the only wave that was "better" was the sine. but it did have a ton more overall features then these.

i also asked tautech but ill ask here also in case it may help someone else can any of the other features on the kegen list be unlocked on the 2024 units?"
 

Offline KungFuJosh

  • Super Contributor
  • ***
  • Posts: 1574
  • Country: us
  • TEAS is real.
Re: The Siglent SDG2042X Thread
« Reply #1677 on: July 22, 2023, 08:15:41 pm »
Yes it's a bit annoying the lack of consistency across the Siglent websites  ::)
 https://siglentna.com/operating-tip/sdg-remote-scpi-command-to-request-a-screen-image-2/

SCPI command: SCDP

I did a search, and nothing else came up... Is there still no better way to get a screenshot?

I tried SCDP on telnet in putty and tera term, and in both cases it put garbage on the screen rather than capturing a screenshot file. Is there something else I need to setup to make it work?
"I installed a skylight in my apartment yesterday... The people who live above me are furious." - Steven Wright
 

Offline tautech

  • Super Contributor
  • ***
  • Posts: 28388
  • Country: nz
  • Taupaki Technologies Ltd. Siglent Distributor NZ.
    • Taupaki Technologies Ltd.
Re: The Siglent SDG2042X Thread
« Reply #1678 on: July 22, 2023, 08:23:13 pm »
Yes it's a bit annoying the lack of consistency across the Siglent websites  ::)
 https://siglentna.com/operating-tip/sdg-remote-scpi-command-to-request-a-screen-image-2/

SCPI command: SCDP

I did a search, and nothing else came up... Is there still no better way to get a screenshot?

I tried SCDP on telnet in putty and tera term, and in both cases it put garbage on the screen rather than capturing a screenshot file. Is there something else I need to setup to make it work?
For SDG (all models) and SDM (all models) a 'one button press' screenshot feature has recently been requested.  ;)
Like all worthy suggestions it needs time to soak but will be following it up in the near future.
Avid Rabid Hobbyist
Siglent Youtube channel: https://www.youtube.com/@SiglentVideo/videos
 
The following users thanked this post: KungFuJosh, Martin72, Detlev

Offline KungFuJosh

  • Super Contributor
  • ***
  • Posts: 1574
  • Country: us
  • TEAS is real.
Re: The Siglent SDG2042X Thread
« Reply #1679 on: July 22, 2023, 08:32:40 pm »
For SDG (all models) and SDM (all models) a 'one button press' screenshot feature has recently been requested.  ;)
Like all worthy suggestions it needs time to soak but will be following it up in the near future.

Noice, I'm not surprised SDG was included in that request. So, in the meantime be patient? 😉
"I installed a skylight in my apartment yesterday... The people who live above me are furious." - Steven Wright
 

Offline gjvdheiden

  • Contributor
  • Posts: 40
  • Country: nl
Re: The Siglent SDG2042X Thread
« Reply #1680 on: July 23, 2023, 11:58:15 am »
Yes it's a bit annoying the lack of consistency across the Siglent websites  ::)
 https://siglentna.com/operating-tip/sdg-remote-scpi-command-to-request-a-screen-image-2/

SCPI command: SCDP

I did a search, and nothing else came up... Is there still no better way to get a screenshot?

I tried SCDP on telnet in putty and tera term, and in both cases it put garbage on the screen rather than capturing a screenshot file. Is there something else I need to setup to make it work?

The garbage is the image in binary format and your client (putty, tera term whatever) is diplaying it as characters using the character encoding. You might be able to use a command line option to redirect the data to a file. Using > won't work, because the character encoding is in the way, you need binary.

I used the python script with the same skippy command ('SCDP') and it works fine. That Python script just opens a binary stream and reads the image. I can't find the original script. I crippled the script, you can't use command line arguments. You also need the pyvisa stuff.
 
The following users thanked this post: Detlev

Offline KungFuJosh

  • Super Contributor
  • ***
  • Posts: 1574
  • Country: us
  • TEAS is real.
Re: The Siglent SDG2042X Thread
« Reply #1681 on: July 23, 2023, 01:43:03 pm »
The garbage is the image in binary format and your client (putty, tera term whatever) is diplaying it as characters using the character encoding. You might be able to use a command line option to redirect the data to a file. Using > won't work, because the character encoding is in the way, you need binary.

I used the python script with the same skippy command ('SCDP') and it works fine. That Python script just opens a binary stream and reads the image. I can't find the original script. I crippled the script, you can't use command line arguments. You also need the pyvisa stuff.

Thanks, that's what I assumed. I don't plan on reinstalling pyvisa, so I'll be patient and wait for a screenshot button to work.

It would be nice if they made a web interface like the scopes have.
"I installed a skylight in my apartment yesterday... The people who live above me are furious." - Steven Wright
 
The following users thanked this post: Bad_Driver

Offline hfleming

  • Contributor
  • Posts: 44
  • Country: no
Re: The Siglent SDG2042X Thread
« Reply #1682 on: July 24, 2023, 01:15:08 pm »
This simple project might show you how to roll out your own web-interface.

https://stupid-projects.com/posts/write-python-scripts-for-your-siglent-sdg1025/

The garbage is the image in binary format and your client (putty, tera term whatever) is diplaying it as characters using the character encoding. You might be able to use a command line option to redirect the data to a file. Using > won't work, because the character encoding is in the way, you need binary.

I used the python script with the same skippy command ('SCDP') and it works fine. That Python script just opens a binary stream and reads the image. I can't find the original script. I crippled the script, you can't use command line arguments. You also need the pyvisa stuff.

Thanks, that's what I assumed. I don't plan on reinstalling pyvisa, so I'll be patient and wait for a screenshot button to work.

It would be nice if they made a web interface like the scopes have.
 
The following users thanked this post: KungFuJosh

Offline KungFuJosh

  • Super Contributor
  • ***
  • Posts: 1574
  • Country: us
  • TEAS is real.
Re: The Siglent SDG2042X Thread
« Reply #1683 on: July 24, 2023, 03:49:05 pm »
This simple project might show you how to roll out your own web-interface.

Thank you, but no. I'm not employed by Siglent. 😉
"I installed a skylight in my apartment yesterday... The people who live above me are furious." - Steven Wright
 

Offline DaleWentz

  • Newbie
  • Posts: 8
  • Country: us
Re: The Siglent SDG2042X Thread
« Reply #1684 on: July 30, 2023, 12:07:41 am »
I could not find it in the manuals, but does anyone know if there is an option to set the output reading in dBm instead of volts PP?
I will probably use this more as an RF signal generator and am used to dealing in dBm. I know I can do the conversion but that just slows things down.

Thanks
 

Offline tautech

  • Super Contributor
  • ***
  • Posts: 28388
  • Country: nz
  • Taupaki Technologies Ltd. Siglent Distributor NZ.
    • Taupaki Technologies Ltd.
Re: The Siglent SDG2042X Thread
« Reply #1685 on: July 30, 2023, 12:12:45 am »
I could not find it in the manuals, but does anyone know if there is an option to set the output reading in dBm instead of volts PP?
Yep when you engage 50 Ohm output dB units become available.
Avid Rabid Hobbyist
Siglent Youtube channel: https://www.youtube.com/@SiglentVideo/videos
 

Offline DaleWentz

  • Newbie
  • Posts: 8
  • Country: us
Re: The Siglent SDG2042X Thread
« Reply #1686 on: July 30, 2023, 01:08:03 am »
Thank you, that is what I was wanting! You just cost me $500.00 LOL
 

Offline KG7AMV

  • Frequent Contributor
  • **
  • Posts: 321
  • Country: us
  • Rhine_Labs
    • My Personal Blog
Re: The Siglent SDG2042X Thread
« Reply #1687 on: August 20, 2023, 08:34:12 am »
Anyone suddenly have low or no output form the SDG2042X, Chan 2 is intermittent. I May have to test the siglent warranty! I'll call the siglentna on monday.

It may have overheated powerd it back on this morning and has output odd?
« Last Edit: August 20, 2023, 12:10:05 pm by KG7AMV »
 

Offline Tjuurko

  • Regular Contributor
  • *
  • Posts: 95
Re: The Siglent SDG2042X Thread
« Reply #1688 on: August 28, 2023, 10:32:00 am »
In new firmware (V2.01.01.37R*), button "SWEEP" increases the amplitude of the output signal: CH1 +25%, CH2 +5%.
Without cables connected, the output overvoltage protection is activated.
Tested for SDG2042X (SV: 2.01.01.35R3B2, HV: 02-01-00-40-00).
 

Offline LogicalDave

  • Regular Contributor
  • *
  • Posts: 94
  • Country: us
Re: The Siglent SDG2042X Thread
« Reply #1689 on: September 03, 2023, 11:13:52 pm »
I'm sorry if I missed it (I've searched for a while), but is there a way to convince the SDG2042X to retain the external clock source setting?  I have the generator slaved to an external 10MHz standard, but the clock source setting always reverts to internal when the generator is turned on again. 
 

Offline tautech

  • Super Contributor
  • ***
  • Posts: 28388
  • Country: nz
  • Taupaki Technologies Ltd. Siglent Distributor NZ.
    • Taupaki Technologies Ltd.
Re: The Siglent SDG2042X Thread
« Reply #1690 on: September 04, 2023, 01:12:53 am »
I'm sorry if I missed it (I've searched for a while), but is there a way to convince the SDG2042X to retain the external clock source setting?  I have the generator slaved to an external 10MHz standard, but the clock source setting always reverts to internal when the generator is turned on again.
In the firmware release notes this was fixed:
6/16/2016 2.01.01.21R2
l) Can not remember the clock source setting

This is the latest:
https://int.siglent.com/upload_file/zip/firmware/Signal_generator/SDG2000X_V2.01.01.37R6_EN.zip

Please confirm if it works as expected with the latest version.
Avid Rabid Hobbyist
Siglent Youtube channel: https://www.youtube.com/@SiglentVideo/videos
 

Offline bicycleguy

  • Frequent Contributor
  • **
  • Posts: 265
  • Country: us
Re: The Siglent SDG2042X Thread
« Reply #1691 on: September 04, 2023, 05:08:55 am »
I'm sorry if I missed it (I've searched for a while), but is there a way to convince the SDG2042X to retain the external clock source setting?  I have the generator slaved to an external 10MHz standard, but the clock source setting always reverts to internal when the generator is turned on again.
After setting the source make sure 'Utility/System/PowerOn Setting' is set to last or make a new user state file and set to that.
 
The following users thanked this post: tautech, LogicalDave

Offline LogicalDave

  • Regular Contributor
  • *
  • Posts: 94
  • Country: us
Re: The Siglent SDG2042X Thread
« Reply #1692 on: September 04, 2023, 11:08:31 pm »
Thank you @bicycleguy and @tautech, that did the trick (saves the external clock source setting persistently)
 
The following users thanked this post: tautech, gjvdheiden

Online Mortymore

  • Frequent Contributor
  • **
  • Posts: 444
  • Country: pt
Re: The Siglent SDG2042X Thread
« Reply #1693 on: September 05, 2023, 12:03:04 am »
I believe there's a search for a reasonable way to take a screenshot from the SDG2000X

I use this ConnectionManager for my SDG1000X, and I think that it may work for the SDG2000X as well

https://www.eevblog.com/forum/testgear/visa-scanscreen-capture-utility/msg3947497/#msg3947497
 
The following users thanked this post: KungFuJosh

Offline KungFuJosh

  • Super Contributor
  • ***
  • Posts: 1574
  • Country: us
  • TEAS is real.
Re: The Siglent SDG2042X Thread
« Reply #1694 on: September 05, 2023, 01:18:01 am »
I use this ConnectionManager for my SDG1000X, and I think that it may work for the SDG2000X as well

How are you connecting to make it work?

I installed the required ni-visa runtime, and the app runs now, but it can't find my SDG on port 5024 or 5025 when trying to use it over the network (tcpip).

EDIT: I wonder if it's because the default command it sends is *INSTR which doesn't prompt a response when I try it connected with Putty.
« Last Edit: September 05, 2023, 02:04:03 am by KungFuJosh »
"I installed a skylight in my apartment yesterday... The people who live above me are furious." - Steven Wright
 

Offline tautech

  • Super Contributor
  • ***
  • Posts: 28388
  • Country: nz
  • Taupaki Technologies Ltd. Siglent Distributor NZ.
    • Taupaki Technologies Ltd.
Re: The Siglent SDG2042X Thread
« Reply #1695 on: September 05, 2023, 02:34:20 am »
I use this ConnectionManager for my SDG1000X, and I think that it may work for the SDG2000X as well

How are you connecting to make it work?

I installed the required ni-visa runtime, and the app runs now, but it can't find my SDG on port 5024 or 5025 when trying to use it over the network (tcpip).
See P6; open xxx xxx xxx xxx 5024
https://int.siglent.com/u_file/document/SDG_Programming%20Guide_PG02-E05B.pdf
Avid Rabid Hobbyist
Siglent Youtube channel: https://www.youtube.com/@SiglentVideo/videos
 

Offline KungFuJosh

  • Super Contributor
  • ***
  • Posts: 1574
  • Country: us
  • TEAS is real.
Re: The Siglent SDG2042X Thread
« Reply #1696 on: September 05, 2023, 01:36:27 pm »
See P6; open xxx xxx xxx xxx 5024
https://int.siglent.com/u_file/document/SDG_Programming%20Guide_PG02-E05B.pdf

Yes, I've RTFM. 😉😉

If you read further in my post, I mentioned I was able to test in Putty fine (as I have in the past, I have a connection preset for it).

The issue is connecting from the "ConnectionsManager" app linked above. I've tried both ports 5024 and 5025, with the IP and port separated by a colon, and again separated by just a space. Neither works. I've also tried without specifying a port.

The app by default sends *INSTR as the query when searching for devices. The SDG doesn't give a response to that query, and my current assumption is that is why it can't find the device.

I will post in the linked thread and see if I can get a response.

Thanks,
Josh
"I installed a skylight in my apartment yesterday... The people who live above me are furious." - Steven Wright
 

Offline tv84

  • Super Contributor
  • ***
  • Posts: 3222
  • Country: pt
Re: The Siglent SDG2042X Thread
« Reply #1697 on: September 05, 2023, 01:57:29 pm »
When you say *INSTR, don't you mean *IDN?  ?

I don't recognize *INSTR as a valid query and, even if it were, it would require the question mark in order to be a query.
« Last Edit: September 05, 2023, 02:00:06 pm by tv84 »
 

Offline KungFuJosh

  • Super Contributor
  • ***
  • Posts: 1574
  • Country: us
  • TEAS is real.
Re: The Siglent SDG2042X Thread
« Reply #1698 on: September 05, 2023, 02:06:29 pm »
When you say *INSTR, don't you mean *IDN?  ?

I don't recognize *INSTR as a valid query and, even if it were, it would require the question mark in order to be a query.

I don't know, I don't recognize the command either, but I do know what *IDN? is. 😉

this is what the log says:
Quote
Scanning xxx.xxx.xxx.xxx:5025 on visa://xxx.xxx.xxx.xxx:5025/(TCPIP|GPIB)?*INSTR
No instruments detected!

Same thing if I use 5024, or a space instead of a colon.
"I installed a skylight in my apartment yesterday... The people who live above me are furious." - Steven Wright
 

Offline gjvdheiden

  • Contributor
  • Posts: 40
  • Country: nl
Re: The Siglent SDG2042X Thread
« Reply #1699 on: September 06, 2023, 09:13:35 am »
When you say *INSTR, don't you mean *IDN?  ?

I don't recognize *INSTR as a valid query and, even if it were, it would require the question mark in order to be a query.

In some Python scripts I saw TCPIP::x.x.x.x::INSTR (x.x.x.x is the ip address) to connect via the visa driver. So that may be something. Can't test it now.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf