Mixins subpackage (ska_ser_test_equipment.mixins)

Mixin classes for devices and component managers.

class ska_ser_test_equipment.mixins.SCPISendReceiveMixin

Allow a component manager to send arbitrary scpi commands.

__weakref__

list of weak references to the object (if defined)

send_receive_scpi(scpi_request)

Send a scpi request, and receive an scpi response.

Parameters:

scpi_request (ScpiRequest) – details of the scpi request to be sent.

Return type:

ScpiResponse

Returns:

details of the scpi response.

class ska_ser_test_equipment.mixins.SCPIWriteQueryMixin

Enables raw scpi commands/query execution on any device.

NB. The device’s component manager needs to mix in SCPISendReceiveMixin also to add the send_receive_scpi method.

__weakref__

list of weak references to the object (if defined)