RIGOL DM3058 User Manual
Page 189

RIGOL
Programming Guide for DM3058/DM3058E
6-16
56 Return 288
/* change status, execute the single trigger once and
enter “wait to trigger” status */
Explanations:
1. Commands in line 2, 28 and 43 clear the current status (the value of the event
status register and the error queue) of the status register. By using it every time
when you query the register status, the interferences by existing information may
be suppressed
2. Commands in line 3~6 set the enable register of each register. As is shown in
Figure 2-1, each register has a relationship with the status byte register.
3. Commands in line 16, 31 and 45 query the condition register of the status byte
register. They are suggested to be executed before querying the status register,
since every time the value of the register is changed, the condition register would
be updated.
4.
Command in line 27 returns 256, indicating the “event” was changed; line 42
returns 272, indicating the setting has been changed, the measurement “event”
happend; line 56 returns 288, it indicates the setting has been changed, the
instrument is waiting to trigger.
5. “*ESR”, “:status:questionable?” and “:status:operation?” query the each event
register, and the value of them would be cleared every time after the query .
6. The first colon “:” in “:status:operation?” command can be omited for being
compatible with RIGOL and Agilent commands.