Welcome Guest,Register Now
Log In

ANT Forum

Welcome guest, please Login or Register

   

How to use Multi channel

Rank

Total Posts: 2

Joined 2016-01-18

PM

I'm not English man .

I can't find the way perfectly.

So I write a new topic.

Please reply this topic.


I use DEMO_NET program for my project.
and I can recive one device data.
But I want to recive two data at the same time.
Two data is Cadence and Speed data.
I know I should use Multi Channel.
But I don't know How can I do.

Please tell me What should I do.
Please send me an Example Code . please
Thank you.

Following code is What I used.

ANT_PLUS File\ANT_PLUS_DEVELOP\DEMO_NET\demo.cs
     
RankRankRankRank

Total Posts: 120

Joined 2013-05-07

PM

Hi guicharnism,

Feel free to communicate in the language of your choice.

What device or devices are you trying to connect to? If you are trying to connect to a combined bike speed and cadence device, only one channel is necessary to get both types of data. If you are trying to connect to a separate bike speed sensor and a separate cadence sensor, you can open two separate channels to connect to both devices.      
Rank

Total Posts: 2

Joined 2016-01-18

PM

thank you for your replying .

I have separate devices.

I know I should use Multi Channel.

Actually I want a script or code for multi channel. ㅠ . ㅠ
Please give me an example for multi channel.      
RankRankRankRank

Total Posts: 120

Joined 2013-05-07

PM

Using multiple channels is very straightforward. Just open to channels on the same device, one configured to connect to the Bike Speed device, and the other configured to connect to the Bike Cadence device.

Resources:
The ANT PC SDK contains sample code on how to acquire a device and open a channel.
The ANT Message Protocol Document discusses how to use the ANT interface.
The Multi Channel Design Considerations Application Note discusses special considerations when designing multiple channels into a device.
The ANT+ Bike Speed and Cadence Profile discusses the channel parameters and message payload formats required for interacting with ANT+ Bike Speed and ANT+ Bike Cadence sensors.