Rohde & Schwarz MXO44-2410 Oscilloscope

User Manual - Page 727

For MXO44-2410.

PDF File Manual, 759 pages, Read Online | Download pdf file

MXO44-2410 photo
Loading ...
Loading ...
Loading ...
Remote control commands
R&S
®
MXO 4 Series
727User Manual 1335.5337.02 ─ 05
17.19.9 Programming tips and examples
Example: Observing the limits violation of a measurement
The following example describes how to use the status register commands to observe,
if a violation of a measurement limit has occurred.
*SRE 8
// Enables the STATus:QUEStionable bit in the service-request (SRE)
STATus:QUEStionable:ENABle 512
// Enables the LIMIt bit of the STATus:QUEStionable register
MEASurement1:ENABle ON
MEASurement2:ENABle ON
MEASurement3:ENABle ON
// Enables measurement 1,2,3
STATus:QUEStionable:LIMit:ENABle ALL
// Enables the limit check for all active measurements
STATus:QUEStionable:LIMit:ENABle?
MEAS1,MEAS2,MEAS3
//Queries which measurement were active at the time the
//STATus:QUEStionable:LIMit:ENABle was send
*SRQ?
// A service request was sent
*STB?
72
// STATus:QUEStionable is set:
// #72= 64 + 8 = 2^6 + 2^3
// 64 : bit 6 is awlays on when a SRQ is sent
// 8: bit 3 for STATus:QUEStionable
STATus:QUEStionable:EVENt?
512
// 512= 2^9,
STATus:QUEStionable:LIMit:EVENt?
MEAS1,MEAS2
// Measurements 1 and 2 have exceeded the limit
// The event register is cleared after the query
STATus:QUEStionable:LIMit:EVENt?
NONE
// The event bit has been set to 0 after the first query
Status reporting
Loading ...
Loading ...
Loading ...