SPFDevice Tango Device
SPF simulator for testing DISH LMC.
Properties
- GroupDefinitions
- Data type:
DevVarStringArray
- LoggingLevelDefault
- Data type:
DevUShort
- Default value:
4
- LoggingTargetsDefault
- Data type:
DevVarStringArray
- Default value:
[‘tango::logger’]
- SkaLevel
- Data type:
DevShort
- Default value:
4
Attributes
- State
The operational state of the device as enumeration.
- Access:
READ
- Data type:
DevState
- Data format:
SCALAR
- Status
More detailed textual information about the device’s status.
- Access:
READ
- Data type:
DevString
- Data format:
SCALAR
- adminMode
Read 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
- b1CapabilityState
Report the device b1CapabilityState
- Access:
READ_WRITE
- Data type:
DevEnum
- Data format:
SCALAR
- b1LnaHPowerState
Switches the B1 LNA H-channel power on/off
- Access:
READ_WRITE
- Data type:
DevBoolean
- Data format:
SCALAR
- b1LnaVPowerState
Switches the B1 LNA V-channel power on/off
- Access:
READ_WRITE
- Data type:
DevBoolean
- Data format:
SCALAR
- b2CapabilityState
Report the device b2CapabilityState
- Access:
READ_WRITE
- Data type:
DevEnum
- Data format:
SCALAR
- b2LnaHPowerState
Switch the B2 LNA H-channel power on/off
- Access:
READ_WRITE
- Data type:
DevBoolean
- Data format:
SCALAR
- b2LnaVPowerState
Switch the B2 LNA V-channel power on/off
- Access:
READ_WRITE
- Data type:
DevBoolean
- Data format:
SCALAR
- b3CapabilityState
Report the device b3CapabilityState
- Access:
READ_WRITE
- Data type:
DevEnum
- Data format:
SCALAR
- b3LnaPowerState
Switches the B3 LNA power on/off
- Access:
READ_WRITE
- Data type:
DevBoolean
- Data format:
SCALAR
- b4CapabilityState
Report the device b4CapabilityState
- Access:
READ_WRITE
- Data type:
DevEnum
- Data format:
SCALAR
- b4LnaPowerState
Switches the B4 LNA power on/off
- Access:
READ_WRITE
- Data type:
DevBoolean
- Data format:
SCALAR
- b5aCapabilityState
Report the device b5aCapabilityState
- Access:
READ_WRITE
- Data type:
DevEnum
- Data format:
SCALAR
- b5aLnaPowerState
Switches the B5a LNA power on/off
- Access:
READ_WRITE
- Data type:
DevBoolean
- Data format:
SCALAR
- b5bCapabilityState
Report the device b5CapabilityState
- Access:
READ_WRITE
- Data type:
DevEnum
- Data format:
SCALAR
- b5bLnaPowerState
Switches the B5b LNA power on/off
- Access:
READ_WRITE
- Data type:
DevBoolean
- Data format:
SCALAR
- bandInFocus
Returns the BandInFocus.
- Access:
READ_WRITE
- Data type:
DevEnum
- Data format:
SCALAR
- buildState
Read the Build State of the device.
- Access:
READ
- Data type:
DevString
- Data format:
SCALAR
- commandedState
Read 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 start of the Off(), Standby(), On() or Reset() long running commands.
- Access:
READ
- Data type:
DevString
- Data format:
SCALAR
- controlMode
Read the Control Mode of the device.
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
- fwVersions
Firmware serial numbers
- Access:
READ
- Data type:
DevString
- Data format:
SPECTRUM
- Max_dim_x:
100
- healthState
Returns the healthState of the device.
- Access:
READ_WRITE
- Data type:
DevEnum
- Data format:
SCALAR
- loggingLevel
Read the logging level of the device.
Initialises to LoggingLevelDefault on startup. See
LoggingLevel- Access:
READ_WRITE
- Data type:
DevEnum
- Data format:
SCALAR
- 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.
- Access:
READ_WRITE
- Data type:
DevString
- Data format:
SPECTRUM
- Max_dim_x:
4
- 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
- lrcFinished
Read info of the finished long running commands.
- Access:
READ
- Data type:
DevString
- Data format:
SPECTRUM
- Max_dim_x:
100
- lrcProtocolVersions
Return supported protocol versions.
- Access:
READ
- Data type:
DevLong64
- Data format:
SPECTRUM
- Max_dim_x:
2
- operatingMode
Returns the operating mode of the device.
- Access:
READ_WRITE
- Data type:
DevEnum
- Data format:
SCALAR
- powerState
Returns the powerstate this device.
- Access:
READ_WRITE
- Data type:
DevEnum
- Data format:
SCALAR
- raiseCmdException
Raises an exception on commands when flagged True
- Access:
READ_WRITE
- Data type:
DevBoolean
- Data format:
SCALAR
- serialNumbers
Hardware serial numbers
- Access:
READ
- Data type:
DevString
- Data format:
SPECTRUM
- Max_dim_x:
100
- simulationMode
Read the Simulation Mode of the device.
Some devices may implement both modes, while others will have simulators that set simulationMode to True while the real devices always set simulationMode to False.
- Access:
READ_WRITE
- Data type:
DevEnum
- Data format:
SCALAR
- skipAttributeUpdates
Skip or apply attribute update in command execution
- Access:
READ_WRITE
- Data type:
DevBoolean
- Data format:
SCALAR
- swVersions
Software module serial number
- Access:
READ
- Data type:
DevString
- Data format:
SPECTRUM
- Max_dim_x:
100
- testMode
Read the Test Mode of the device.
Either no test mode or an indication of the test mode.
- Access:
READ_WRITE
- Data type:
DevEnum
- Data format:
SCALAR
- versionId
Read the Version Id of the device.
- Access:
READ
- Data type:
DevString
- Data format:
SCALAR
Commands
- Abort() DevVarLongStringArray
Abort
- AbortCommands() DevVarLongStringArray
Abort commands
- CheckLongRunningCommandStatus(DevString) DevString
Check long running command status
- DebugDevice() DevUShort
Debug device
- Returns:
The TCP port the debugger is listening on.
- ExecutePendingOperations() DevVoid
Execute pending operations
- GetVersionInfo() DevVarStringArray
Get version info
- Init() DevVoid
Reinitialise the Tango device.
- Off() DevVarLongStringArray
Off
- On() DevVarLongStringArray
On
- RemountSdCard() DevBoolean
RemountSdCard
- Reset() DevVarLongStringArray
Reset
- ResetToDefault() DevVoid
Used to reset device to default values. Used in testing
- Restart() DevVoid
Restart
- SendFeedCommand(DevVarShortArray) DevVoid
SendFeedCommand
- SendHeliumCommand(DevLong64) DevVoid
SendHeliumCommand
- SetCapStateDegraded(DevFloat) DevVoid
Set CapabilityState
- SetFeedMode(DevVarShortArray) DevVoid
SetFeedMode
- SetHeliumMode(DevLong64) DevVoid
SetHeliumMode
- SetMaintenanceMode() DevVoid
Set SetMaintenanceMode
- SetOperateMode() DevVoid
Set SPFOperatingMode
- SetStandbyLPMode() DevVoid
Set OperatingMode and PowerState
- SetStartupMode() DevVoid
Set SetStartupMode
- SetVacuumMode(DevLong64) DevVoid
SetVacuumMode
- Shutdown() DevVoid
Shutdown
- Standby() DevVarLongStringArray
Standby