I'm trying to have the scope send a service request (SRQ) when the trigger is ready or a signal is acquired. So no status polling would be needed.
(I have SRQ call-backs working on a Keithley DMM6500, which is quite handy.)
Those states can be read using the INR? command, reading the "Internal State Change Register". (Which works using the polling method)
The *STB? query returns the status byte register, bit 0 would be set when a change in the "Internal State Change Register" occurs when the corresponding bit is
enabled in the "Internal State Change Enable Register".
That bit 0 can be enabled to actually send a service request using *SRE 1
-- that seems to be working: *SRE? returns 1
There's only a slight problem, the command INE, which would enable bits in the "Internal State Change Enable Register" does not seem to function.
(That is not entirely surprising because a lot of this stuf is not in the documentation, but the scope should be able to work this way IMO.)
Siglent documentation however refers to enabling the event bit, but does not explain how.
Google finds this document:
http://cdn.teledynelecroy.com/files/manuals/dda-rcm-e_05.pdfor
http://cdn.teledynelecroy.com/files/manuals/wm-rcm-e_rev_d.pdfSomehow LeCroy and Siglent seems to be related when it comes to SCPI. Other LeCroy documents served me well. But the INE command, which would be a most logical command, does not work.
Any suggestions?