B5dcProxy Tango Device
Implementation of the B5dcProxy Tango device.
Attributes
- B5dcProxy.State
The operational state of the device as enumeration.
- Access:
READ
- Data type:
DevState
- Data format:
SCALAR
- B5dcProxy.Status
More detailed textual information about the device’s status.
- Access:
READ
- Data type:
DevString
- Data format:
SCALAR
- B5dcProxy.adminMode
The Admin Mode of the device. It may interpret the current device condition and condition of all managed devices to set this. Most possibly an aggregate attribute.
- Access:
READ_WRITE
- Data type:
DevEnum
- Data format:
SCALAR
- B5dcProxy.buildState
Get B5DC version information.
- Access:
READ
- Data type:
DevString
- Data format:
SCALAR
- B5dcProxy.clkPhotodiodeCurrent
Reflects the photodiode current in mA.
- Access:
READ
- Data type:
DevDouble
- Data format:
SCALAR
- B5dcProxy.commandedState
The last commanded Operating State of the device. Initial string is “None”. Only other strings it can change to is “OFF”, “STANDBY” or “ON”, following the Off(), Standby() or On() commands. If the state transition commands are long running commands the commanded state will only update when the long running command starts executing.
- Access:
READ
- Data type:
DevString
- Data format:
SCALAR
- B5dcProxy.connectionState
Return the status of the connection to the B5dc server endpoint
- Access:
READ
- Data type:
DevEnum
- Data format:
SCALAR
- B5dcProxy.controlMode
The control mode of the device are REMOTE, LOCAL Tango Device accepts only from a ‘local’ client and ignores commands and queries received from TM or any other ‘remote’ clients. The Local clients has to release LOCAL control before REMOTE clients can take control again.
- Access:
READ_WRITE
- Data type:
DevEnum
- Data format:
SCALAR
- B5dcProxy.hPolRfPowerIn
Reflects the RFCM RF power input for horizonal polarization in dBm.
- Access:
READ
- Data type:
DevDouble
- Data format:
SCALAR
- B5dcProxy.hPolRfPowerOut
Reflects the RFCM RF power output for horizonal polarization in dBm.
- Access:
READ
- Data type:
DevDouble
- Data format:
SCALAR
- B5dcProxy.healthState
Read the Health State of the device. It interprets the current device condition and condition of all managed devices to set this. Most possibly an aggregate attribute.
- Access:
READ
- Data type:
DevEnum
- Data format:
SCALAR
- B5dcProxy.loggingLevel
Read the logging level of the device.
Initialises to LoggingLevelDefault on startup. See
LoggingLevel- Returns:
Logging level of the device.
- Access:
READ_WRITE
- Data type:
DevEnum
- Data format:
SCALAR
- B5dcProxy.loggingTargets
Read the additional logging targets of the device.
Note that this excludes the handlers provided by the ska_ser_logging library defaults - initialises to LoggingTargetsDefault on startup.
- Returns:
Logging level of the device.
- Access:
READ_WRITE
- Data type:
DevString
- Data format:
SPECTRUM
- Max_dim_x:
4
- B5dcProxy.longRunningCommandIDsInQueue
Read the IDs of the long running commands in the queue.
Every client that executes a command will receive a command ID as response. Keep track of IDs currently allocated. Entries are removed self._command_tracker._removal_time seconds after they have finished.
- Access:
READ
- Data type:
DevString
- Data format:
SPECTRUM
- Max_dim_x:
66
- B5dcProxy.longRunningCommandInProgress
Read the name(s) of the currently executing long running command(s).
Name(s) of command and possible abort in progress or empty string(s).
- Access:
READ
- Data type:
DevString
- Data format:
SPECTRUM
- Max_dim_x:
2
- B5dcProxy.longRunningCommandProgress
Read the progress of the currently executing long running command(s).
ID, progress of the currently executing command(s). Clients can subscribe to on_change event and wait for the ID they are interested in.
- Access:
READ
- Data type:
DevString
- Data format:
SPECTRUM
- Max_dim_x:
4
- B5dcProxy.longRunningCommandResult
Read the result of the completed long running command.
Reports unique_id, json-encoded result. Clients can subscribe to on_change event and wait for the ID they are interested in.
- Access:
READ
- Data type:
DevString
- Data format:
SPECTRUM
- Max_dim_x:
2
- B5dcProxy.longRunningCommandStatus
Read the status of the currently executing long running commands.
ID, status pairs of the currently executing commands. Clients can subscribe to on_change event and wait for the ID they are interested in.
- Access:
READ
- Data type:
DevString
- Data format:
SPECTRUM
- Max_dim_x:
132
- B5dcProxy.longRunningCommandsInQueue
Read the long running commands in the queue.
Keep track of which commands are that are currently known about. Entries are removed self._command_tracker._removal_time seconds after they have finished.
- Access:
READ
- Data type:
DevString
- Data format:
SPECTRUM
- Max_dim_x:
66
- B5dcProxy.lrcExecuting
Expose a signal as a Tango attribute.
- Access:
READ
- Data type:
DevString
- Data format:
SPECTRUM
- Max_dim_x:
2
- B5dcProxy.lrcFinished
Expose a signal as a Tango attribute.
- Access:
READ
- Data type:
DevString
- Data format:
SPECTRUM
- Max_dim_x:
100
- B5dcProxy.lrcProtocolVersions
Return supported protocol versions.
- Returns:
A tuple containing the lower and upper bounds of supported long running command protocol versions.
- Access:
READ
- Data type:
DevLong64
- Data format:
SPECTRUM
- Max_dim_x:
2
- B5dcProxy.lrcQueue
Expose a signal as a Tango attribute.
- Access:
READ
- Data type:
DevString
- Data format:
SPECTRUM
- Max_dim_x:
32
- B5dcProxy.rfTemperature
Reflects the RFCM RF PCB temperature in deg C.
- Access:
READ
- Data type:
DevDouble
- Data format:
SCALAR
- B5dcProxy.rfcmFrequency
Indicates the PLL Output Frequency. The default value is 11.1 GHz
- Access:
READ
- Data type:
DevDouble
- Data format:
SCALAR
- B5dcProxy.rfcmHAttenuation
Reflects the RFCM H-polarization attenuation value in dB.
- Access:
READ
- Data type:
DevDouble
- Data format:
SCALAR
- B5dcProxy.rfcmPllLock
Status flags for RFCM PLL lock and lock loss detection.
- Access:
READ
- Data type:
DevEnum
- Data format:
SCALAR
- B5dcProxy.rfcmPsuPcbTemperature
Reflects RFCM PSU PCB temperature in deg C.
- Access:
READ
- Data type:
DevDouble
- Data format:
SCALAR
- B5dcProxy.rfcmVAttenuation
Reflects the RFCM V-polarization attenuation value in dB.
- Access:
READ
- Data type:
DevDouble
- Data format:
SCALAR
- B5dcProxy.simulationMode
When TRUE the device is using a simulator
- Access:
READ_WRITE
- Data type:
DevEnum
- Data format:
SCALAR
- B5dcProxy.testMode
If TEST the device is using testing logic
- Access:
READ_WRITE
- Data type:
DevEnum
- Data format:
SCALAR
- B5dcProxy.vPolRfPowerIn
Reflects the RFCM RF power input for vertical polarization in dBm.
- Access:
READ
- Data type:
DevDouble
- Data format:
SCALAR
- B5dcProxy.vPolRfPowerOut
Reflects the RFCM RF power output for vertical polarization in dBm.
- Access:
READ
- Data type:
DevDouble
- Data format:
SCALAR
- B5dcProxy.versionId
Read the Version Id of the device.
- Returns:
the version id of the device
- Access:
READ
- Data type:
DevString
- Data format:
SCALAR
Commands
- B5dcProxy.Abort() DevVarLongStringArray
No input parameter (DevVoid)
- Returns:
[ResultCode.STARTED][command_id]
- B5dcProxy.AbortCommands() DevVarLongStringArray
No input parameter (DevVoid)
- Returns:
returns (None): A tuple containing a return code and a string message indicating status. The message is for information purpose only.
- B5dcProxy.CheckLongRunningCommandStatus(DevString) DevString
command id
- Returns:
TaskStatus
- B5dcProxy.DebugDevice() DevUShort
No input parameter (DevVoid)
- Returns:
The TCP port the debugger is listening on.
- B5dcProxy.GetVersionInfo() DevVarStringArray
No input parameter (DevVoid)
- Returns:
returns (None): The result code and the command unique ID
- B5dcProxy.Init() DevVoid
Init
- B5dcProxy.Off() DevVarLongStringArray
No input parameter (DevVoid)
- Returns:
[ResultCode][message or command id]
- B5dcProxy.On() DevVarLongStringArray
No input parameter (DevVoid)
- Returns:
[ResultCode][message or command id]
- B5dcProxy.Reset() DevVarLongStringArray
No input parameter (DevVoid)
- Returns:
[ResultCode][message or command id]
- B5dcProxy.SetFrequency(DevLong64) DevVarLongStringArray
Set the frequency on the band 5 down converter.
B5dcFrequency.F_13_2_GHZ(2) or B5dcFrequency.F_13_86_GHZ(3)]
- Returns:
- return:
(not documented)
- rtype:
DevVarLongStringArray
- B5dcProxy.SetHPolAttenuation(DevLong64) DevVarLongStringArray
Set the horizontal polarization attenuation on the band 5 down converter.
- Returns:
- return:
(not documented)
- rtype:
DevVarLongStringArray
- B5dcProxy.SetVPolAttenuation(DevLong64) DevVarLongStringArray
Set the vertical polarization attenuation on the band 5 down converter.
- Returns:
- return:
(not documented)
- rtype:
DevVarLongStringArray
- B5dcProxy.Standby() DevVarLongStringArray
No input parameter (DevVoid)
- Returns:
[ResultCode][message or command id]