AnalogChannelItem::getIndex Method

Returns a numerical representation of this input channel.
Syntax:
int getIndex() const;
Return value:

The index of this input channel.

Remarks:

This method returns -1, if an error occurred. -1 may also be valid input channel. Use AnalogChannelItem::isValid to determine whether the channel is valid or an error occurred.

See also: AnalogChannelItem

<< AnalogChannelItem