Base model (ska_ser_test_equipment.base)

This subpackage provides for base monitoring and control functionality.

class ska_ser_test_equipment.base.TestEquipmentBaseDevice(*args, **kwargs)

A Tango device for monitor and control of test equipment.

class InitCommand(*args, **kwargs)

Initialisation command class for this base device.

do(*args, **kwargs)

Initialise the attributes of this TestEquipmentBaseDevice.

Parameters:
  • args (Any) – additional positional arguments; unused here.

  • kwargs (Any) – additional keyword arguments; unused here.

Return type:

Tuple[ResultCode, str]

Returns:

a resultcode, message tuple.

is_Reset_allowed()

Return whether Reset command may be called in current device state.

Here we override the ska-tango-base implementation, which only allows Reset() in FAULT state. That’s silly.

Return type:

bool

Returns:

whether the command may be called in the current device state.