ifm3dpy.device.SetTemporaryApplicationParameter

class ifm3dpy.device.SetTemporaryApplicationParameter

Bases: PCICCommand

PCIC command which temporarily overrides a single application parameter.

The override is not persisted and is reverted when the application is restarted.

__init__(self: ifm3dpy.device.SetTemporaryApplicationParameter, parameter: ifm3d::O3R::SetTemporaryApplicationParameter::Parameter, data: collections.abc.Sequence[int]) None

Constructor

Parameters
  • parameter (Parameter) – The parameter to set

  • data (list[int], tuple[int], or bytearray) – The data to set the parameter to.

Methods

__init__(self, parameter, data)

Constructor

serialize_data(self)

Serialize this command into the byte payload sent over PCIC.

serialize_data(self: PCICCommand) list[int]

Serialize this command into the byte payload sent over PCIC.

Returns

Serialized payload as byte values.

Return type

list[int]