IAnt ChannelAssign Channel Method
Assign an ANT channel along with its main parameters.
Throws exception if the network number is invalid.
Definition
Namespace: SmallEarthTech.AntRadioInterface
Assembly: SmallEarthTech.AntRadioInterface (in SmallEarthTech.AntRadioInterface.dll) Version: 5.0.2+3bc433b476ad11fc6896cfd0bd783d60504dc315
True on success. Note: Always returns true with a response time of 0
Assembly: SmallEarthTech.AntRadioInterface (in SmallEarthTech.AntRadioInterface.dll) Version: 5.0.2+3bc433b476ad11fc6896cfd0bd783d60504dc315
C#
bool AssignChannel(
ChannelType channelTypeByte,
byte networkNumber,
uint responseWaitTime
)VB
Function AssignChannel (
channelTypeByte As ChannelType,
networkNumber As Byte,
responseWaitTime As UInteger
) As BooleanC++
bool AssignChannel(
ChannelType channelTypeByte,
unsigned char networkNumber,
unsigned int responseWaitTime
)F#
abstract AssignChannel :
channelTypeByte : ChannelType *
networkNumber : byte *
responseWaitTime : uint32 -> bool Parameters
- channelTypeByte ChannelType
- Channel Type byte
- networkNumber Byte
- Network to assign to channel, must be less than device's max networks-1
- responseWaitTime UInt32
- Time to wait for device success response
Return Value
BooleanTrue on success. Note: Always returns true with a response time of 0