Welcome Guest,Register Now
Log In

ANT Forum

Welcome guest, please Login or Register

   

ANT_SendBurstTransfer in .net dll

RankRank

Total Posts: 33

Joined 0

PM

Hi,

Is the ANT_SendBurstTransfer function in the .net dll avaiable?
I can't find him, only a sendbursttransfer with 2 parameters, but i want the 4 parameters.

Already thanks.

Best Regards,
Klaasjan      
Avatar
RankRankRankRank

Total Posts: 662

Joined 2012-10-09

PM

Yes, the ANT_SendBurstTransfer function only has two parameters:
byte[] data = data to send, can be any length
UInt32 completeWaitTime = Time in ms to wait for completion of transfer

Please note that byte arrays in C# have the length embedded, which is why it is no longer necessary to pass the length of the array as in C++. Also, since the managed library is channel based, it is not necessary to pass the channel number as in the C++ version.


The DEMO_NET in the ANT Windows Library package is a great starting point to get a better understanding on the usage of the managed library.