Welcome Guest,Register Now
Log In

ANT Forum

Welcome guest, please Login or Register

   

Bike power meter got lots of fail when Heartbeat work properly

Rank

Total Posts: 3

Joined 2022-09-08

PM

Hello,

We are trying to gather data of bike powermeter on one usb stick. We openthe channel got lots of RX_Fail..
Have you an idea of the reason of this issue ? (it's works fine when we connect an heartbeat device in the same way).
I provide an exemple of code and the output we got.

For this test we only write in console on messages RX_Fail et RX_Fail_Go_To_Search

Thanks for your help.

Code exemple :
device0 null;
                
device0 = new ANT_Device();   // Create a device instance using the automatic constructor (automatic detection of USB device number and baud rate)
                
device0.ResetUSB();
                
device0.ResetSystem();
                
Thread.Sleep(500);
                
device0.setNetworkKey(USER_NETWORK_NUMUSER_NETWORK_KEY500);
                  
                
device0.enableRxExtendedMessages(true);
                
device0.deviceResponse += new ANT_Device.dDeviceResponseHandler(DeviceResponse);    // Add device response function to receive protocol event messages
                
device0.serialError += OnSerialError;

                var 
c1 device0.getChannel(0);
                
c1.channelResponse += new dChannelResponseHandler(ChannelResponse);
                
c1.assignChannel(ANT_ReferenceLibrary.ChannelType.BASE_Slave_Receive_0x00USER_NETWORK_NUM500);
                
c1.setChannelID(42747false110500);
                
c1.setChannelPeriod(8070500);
                
c1.setChannelSearchPriority(0);
                
c1.setChannelFreq(57500);
                if (
c1.openChannel(500)){
                    Trace
.WriteLine("Open power channel");
                


exemple of output :
ChannelReceived BROADCAST_DATA_0x4E
  
:: 4e00-52-FF-58-FA-27-00-05-94-80-FB-A6-0B-05
Chan ID
(0,42747,11,5) - type device powerRx:(0): 52-FF-58-FA-27-00-05-94
Channel
EVENT_RX_FAIL_0x02
  
:: 4000-01-02
Rx Fail
Channel
EVENT_RX_FAIL_0x02
  
:: 4000-01-02
Rx Fail
Channel
EVENT_RX_FAIL_0x02
  
:: 4000-01-02
Rx Fail
Channel
EVENT_RX_FAIL_0x02
  
:: 4000-01-02
Rx Fail
Channel
EVENT_RX_FAIL_0x02
  
:: 4000-01-02
Rx Fail
Channel
EVENT_RX_FAIL_0x02
  
:: 4000-01-02
Rx Fail
Channel
EVENT_RX_FAIL_0x02
  
:: 4000-01-02
Rx Fail
Channel
EVENT_RX_FAIL_0x02
  
:: 4000-01-02
Rx Fail
Channel
EVENT_RX_FAIL_GO_TO_SEARCH_0x08
  
:: 4000-01-08 
     
RankRankRankRank

Total Posts: 370

Joined 2012-06-27

PM

Try moving the USB closer to the power meter. Confirm that you have set the channel period to match the profile document.      

Signature

Ian Haigh

Rank

Total Posts: 3

Joined 2022-09-08

PM

So it was both, it seems for the power meter we have test we need to touch the usb stick for detect the sensor (probably the sensor have a trouble), for other we detect them at many meters. We also mix the channel period.
Thanks for your help !      
Rank

Total Posts: 1

Joined 2023-04-09

PM

itsEloi - 05 October 2022 04:18 AM
Hello,

We are trying to gather data of bike powermeter on one usb stick. We openthe channel got lots of RX_Fail..
Have you an idea of the reason of this issue ? (it's works fine when we connect an heartbeat device in the same way).
I provide an exemple of code and the output we got.

For this test we only write in console on messages RX_Fail et RX_Fail_Go_To_Search

Thanks for your help.
Have you solved it? I will visit here again. But right now, I am gonna visit https://studyclerk.com/pay-someone-to-do-my-homework here because I got a lot of assignments and I can't do them on my own. That is why I was searching for someone who I can pay to do my homework and I found an essay writer on the given website.

Have you solved it?