Welcome Guest,Register Now
Log In

ANT Forum

Welcome guest, please Login or Register

   

Can I use the ANT DLL with .NET? Is there a reference design available?

Avatar
RankRankRankRank

Total Posts: 140

Joined 2008-12-09

PM

Yes. Our most recent reference designs for PC applications use the .NET framework (Managed Extensions for C++ and C++/CLI) and can be compiled using the free version of Microsoft Visual C++ 2008. These will soon be available in the ANT Developerâ??s Zone.      

Signature

For a complete list of frequently asked questions and answers, please view the FAQ user profile by clicking on the FAQ user name. 

Rank

Total Posts: 1

Joined 2009-02-19

PM

That's great for the C++ developers, but I'd like to be able to connect to an ANT stick using VB or C#. Are there any examples on how to connect using VB or C#?      
Rank

Total Posts: 21

Joined 2008-11-03

PM

Although the ANT DLL may be used in many different build environments including VB, C#, Java or Labview, we do not have the bandwidth or the expertise to support all of them. The C++ example is the most generic one that we have. A generic book or example on C# that shows how to handle dll's and callback functions should suffice to port this example to C#.      
RankRankRankRank

Total Posts: 523

Joined 2012-11-15

PM

Hi,


yes, you can use the "ANT_Managed_Library" library (ANT_DLL.dll) in the your c# application and configure the channel settings with the help of device profile to communicate with the devices.

Rgds,
shekhar