DeviceChannelList.set Method

Module: DeviceChannelList

Definition

Sets an item of the DeviceChannelList object.

set(self, index: int, device_channel_item: DeviceChannel) -> None

Parameters

index int
in Index of the DeviceChannel item to set.

device_channel_item DeviceChannel
in DeviceChannel item to set.

Exceptions

An error has occurred during Devices Library execution.
void set(int index, DeviceChannel deviceChannelItem)

Parameters

index int
in Index of the DeviceChannel item to set.

deviceChannelItem DeviceChannel
in DeviceChannel item to set.

Exceptions

An error has occurred during Devices Library execution.
public void Set(int index, DeviceChannel deviceChannelItem)

Parameters

index int
in Index of the DeviceChannel item to set.

deviceChannelItem DeviceChannel
in DeviceChannel item to set.

Exceptions

An error has occurred during Devices Library execution.
public void set(int index, DeviceChannel deviceChannelItem) throws DevicesException

Parameters

index int
in Index of the DeviceChannel item to set.

deviceChannelItem DeviceChannel
in DeviceChannel item to set.

Exceptions

An error has occurred during Devices Library execution.
int id3DevicesDeviceChannelList_Set (
    ID3_DEVICES_DEVICE_CHANNEL_LIST hDeviceChannelList,
    int index,
    ID3_DEVICES_DEVICE_CHANNEL hDeviceChannelItem)

Parameters

in Handle to the DeviceChannelList object.

index int
in Index of the DeviceChannel item to set.

hDeviceChannelItem ID3_DEVICES_DEVICE_CHANNEL
in DeviceChannel item to set.

Returns

int
An error code.
See id3DevicesError file for the list of possible error codes.