SRinfo Tango Python Class












SRinfo Properties :


There is no class properties


Device Properties
Name
Description
Type
Default Value
Topudevice the topup device String tango://tom:20000/sr/feedback/topup
Dcctdevice name of tango device for reading SR current String tango://tom:20000/sr/diagnostics/DCCT_S4
BeamONlowThresold threshold value of SR current for switching beamON to false.
Value in [mA]
double 20
ReadInterval interval between two field readings, in milliseconds int 2000
MachineStatus Name of device/attrbute for reading the the global sttaus of the storage ring.
The value of the property is set manually by the control room operator.
String tango://tom:20000/elettra/status/userstatus/machinestatus







SRinfo Class Commands
Name
Input type
Output type
Level
Description
State DEV_VOID DEV_STATE OPERATOR This command gets the device state (stored in its device_state data member) and returns it to the caller.
Status DEV_VOID CONST_DEV_STRING OPERATOR This command gets the device status (stored in its device_status data member) and returns it to the caller.






Command State :


State Definition
Input Argument Tango::DEV_VOID none.
Output Argument Tango::DEV_STATE State Code
DisplayLevel OPERATOR ..
Inherited true ..
Abstract true ..
Polling Period Not polled ..



Command allowed for All states ..






Command Status :


Status Definition
Input Argument Tango::DEV_VOID none.
Output Argument Tango::CONST_DEV_STRING Status description
DisplayLevel OPERATOR ..
Inherited true ..
Abstract true ..
Polling Period Not polled ..



Command allowed for All states ..







SRinfo Class Attributes
Name
Inherited
Abstract
Attr. type
R/W type
Data type
Level
Description
BeamON false false Scalar READ Tango::DEV_BOOLEAN OPERATOR True when beamline users can perfom experiments
Topupbits false false Spectrum READ Tango::DEV_BOOLEAN OPERATOR Bits:\n0 OFF\n1 ON\n2 ALARM\n3 RUNNING\n4 FAULT





There is no dynamic attribute defined.





Attribute BeamON :


Attribute Definition
Attribute Type Scalar
R/W Type READ
Data Type Tango::DEV_BOOLEAN
Display Level OPERATOR
Inherited false
Abstract false
Polling Period Not polled
Memorized Not set


Read NOT allowed for
  • FAULT
  • Attribute Properties
    label beam on for users
    unit
    standard unit
    display unit
    format
    max_value
    min_value
    max_alarm
    min_alarm
    max_warning
    min_warning
    delta_time
    delta_val
    Attribute Event Criteria
    Periodic Not set
    Relative Change Not set
    Absolute Change Not set


    Archive Periodic Not set
    Archive Relative Change Not set
    Archive Absolute Change Not set


    Push Change event by user code false
    Push Archive event by user code false
    Push DataReady event by user code Not set






    Attribute Topupbits :


    Attribute Definition
    Attribute Type Spectrum ( 5 )
    R/W Type READ
    Data Type Tango::DEV_BOOLEAN
    Display Level OPERATOR
    Inherited false
    Abstract false
    Polling Period 2000
    Memorized Not set


    Read NOT allowed for
  • FAULT
  • Attribute Properties
    label top up bitmask
    unit
    standard unit
    display unit
    format
    max_value
    min_value
    max_alarm
    min_alarm
    max_warning
    min_warning
    delta_time
    delta_val
    Attribute Event Criteria
    Periodic Not set
    Relative Change Not set
    Absolute Change Not set


    Archive Periodic Not set
    Archive Relative Change Not set
    Archive Absolute Change Not set


    Push Change event by user code false
    Push Archive event by user code false
    Push DataReady event by user code Not set










    SRinfo Class States
    Name
    Description
    ON can determine the top-up status
    FAULT no relaiable dat is available data
    INIT device not fully functional :failed to import some device proxy