Purpose
Returns the channel number from the channel name.
Syntax
[nChannelNumber = ] Object.Channel (sChannelName)
The ChannelNumber property syntax has the following parts:
Name |
Type |
Description |
Object |
DioGroup |
DioGroup object. |
sChanneNamel |
String |
Channel name. |
nChannelNumber |
SHORT |
A zero based index specifying the chanel numbner in the DIO file. |
Comments
If nIndex is out of range then nChannel is 0xFFFF.
See Also
Add, Delete, Count, ChannelName