Products > Test Equipment
SCPI commands on Siglent scope
<< < (3/3)
PatrickB:
If I understand what is happening with my problem, my oscilloscope does not handle the SCPI command input queue very well.
It begins to process an order while the previous one has not been completely completed.

I can say this because the SCDP instruction returned a second time allows the display to be updated correctly on my PC with the correct programming of the trigger.

I wonder if this is a bug of the SDS1000 series...

The Siglent programming manual for the SDS1204X-E is not complete, a lot of instructions are missing.
@tv84 sent me a useful link and I just found the full Siglent manual for the SDS1000 series:
https://int.siglent.com/upload_file/user/SDS1000CFL/SDS1000_RemoteManual_RC01012-E02B.pdf
There are many instructions for status and error registers (ESR, ESE, STB, CMR, ....). The explanations are not always very clear  and understandable but I will try to do something about it.
PatrickB:
In order to have a solution and an explanation, I contacted Siglent Europe a long time ago. For your information, here is the latest explanation I received:

The process of sending from scpi to machine to complete this operation:
1, SCPI send -> 2, configuration layer (synchronous message), SCPI at that layer that is returned -> 3, bottom layer take effect (synchronous message) about 50ms, UI update (asynchronous message) about 200ms.
The current mechanism of OPC is to return the register status bit after judging the completion of command sending. Therefore, the image returned by the SCDP command is the image of the machine that has not been operated (the user interface has not been refreshed). If the OPC mechanism is changed to return after refreshing the user interface, the program will run much slower. The reason we say this is not a problem is that similar machines from other brands use the same mechanism.
SparkyM8:
You will find that many of the cheaper scopes do not implement SCPI fully.
Only the bare minimum to control and get data is present.
Many of the registers just don't exist.
You will never get a 0 response to *OPC?
Think I mentioned this in a DS1054Z post a good while back.
Siglent used to have one dreadful programming manual for all scopes that they just kept adding to. Finding out what applied to a particular scope was difficult.
Good luck.
tautech:

--- Quote from: SparkyM8 on September 15, 2023, 01:33:59 pm ---Siglent used to have one dreadful programming manual for all scopes that they just kept adding to. Finding out what applied to a particular scope was difficult.

--- End quote ---
Not the case now.  :P

The low value DSO's do share a common one and the higher value units have model specific programming manuals but with a supported models list.
Couple of examples:
https://int.siglent.com/u_file/document/SDS1000%20Series&SDS2000X&SDS2000X-E_ProgrammingGuide_PG01-E02D.pdf
https://int.siglent.com/u_file/download/23_07_25/ProgrammingGuide_EN11D.pdf
colorado.rob:
It looks like OP just needs to use the INR? query to determine when the data has been captured before executing the SCDP command.
Navigation
Message Index
Previous page
There was an error while thanking
Thanking...

Go to full version
Powered by SMFPacks Advanced Attachments Uploader Mod