TMSiSDK.device.devices.apex.apex_device.ApexDevice.set_device_channel_names

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

ApexDevice.set_device_channel_names(names: list, indices: list) list#

Sets the device channel names

Parameters:
  • names (list[str]) – names to be set.

  • indices (list[int]) – index of the channels to edit.

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

  • TMSiError – TMSiErrorCode.device_not_connected if not connected.

  • TypeError – if names is not only strings

  • TypeError – if indices is not only integers.

Returns:

list of new channels.

Return type:

list[ApexChannel]