AntChannelAssignChannel Method
Assign an ANT channel along with its main parameters.
Throws exception if the network number is invalid.
Namespace: SmallEarthTech.AntUsbStickAssembly: SmallEarthTech.AntUsbStick (in SmallEarthTech.AntUsbStick.dll) Version: 3.0.0.0+01fc5ca24e8f030354f28ec9cef320bc5cbb0ef6
public bool AssignChannel(
ChannelType channelTypeByte,
byte networkNumber,
uint responseWaitTime
)
Public Function AssignChannel (
channelTypeByte As ChannelType,
networkNumber As Byte,
responseWaitTime As UInteger
) As Boolean
public:
virtual bool AssignChannel(
ChannelType channelTypeByte,
unsigned char networkNumber,
unsigned int responseWaitTime
) sealed
abstract AssignChannel :
channelTypeByte : ChannelType *
networkNumber : byte *
responseWaitTime : uint32 -> bool
override AssignChannel :
channelTypeByte : ChannelType *
networkNumber : byte *
responseWaitTime : uint32 -> bool
- 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
BooleanTrue on success. Note: Always returns true with a response time of 0
IAntChannelAssignChannel(ChannelType, Byte, UInt32)