TMSiSDK.device.devices.apex.apex_device.ApexDevice.set_device_references

TMSiSDK.device.devices.apex.apex_device.ApexDevice.set_device_references#

ApexDevice.set_device_references(list_references: list, list_indices: list)#

Sets the channels to be used as reference.

Parameters:
  • list_references (list[int]) – list of reference values.

  • list_indices (list[int]) – list of indices to be edited.

Raises:
  • TMSiError – TMSiErrorCode.device_error if set references fails.

  • TMSiError – TMSiErrorCode.device_not_connected if not connected.

  • TypeError – if references is not only integers

  • TypeError – if indices is not only integers.

Returns:

list of new channels.

Return type:

list[ApexChannel]