Home Previous Next


Symbolic Status Event Register Evaluation

The examples for status register handling given in section Service Request are based on a step-by-step evaluation of the STATus:OPERation register and its sub-registers. As a convenient alternative to this approach, the CMU provides commands for symbolic status event register evaluation. These commands are global (i.e. available in all function groups) and described in detail in Introduction - Commands. They organize and simplify the following actions:

STATus:OPERation:EVENt:SADDress? Return the next secondary address and associated function group where an event was reported.
STATus:OPERation:SYMBolic:ENABle 
<Event_1>[,<Event_2>,...<Event_15>]
Enable the events of the parameter list up to the status byte, i.e. set the corresponding bits in the STATus:OPERation:ENABle register and in the sub-registers STATus:OPERation:CMU:SUM1|2:ENABle and STATus:OPERation:CMU:SUM1|2:CMU <SecAddr>:ENABle so that the events are reported in the status byte. <SecAddr> denotes the current secondary address, see also example in section Service Request.
STATus:OPERation:SYMBolic[:EVENt]?
Return all events reported in the current function group. The event symbols listed with the bit assignment of the STATus:OPERation... registers; for an example see STATus:OPERation Register.
 

See also program example for symbolic status register evaluation.


Home Previous Next