Kat,
Thanks for providing me the info
I followed the link you provided.
On the .net library there is a WPF app (ANT_NetDll_Demo)that I see.
I made the following changes to the demo.cs file after reading the document ANT_Weight_Scale_Device_ Profile
static readonly byte CHANNEL_TYPE_INVALID = 2;
static readonly byte USER_ANT_CHANNEL = 0; // ANT Channel to use
static readonly ushort USER_DEVICENUM = 0; // Device number
static readonly byte USER_DEVICETYPE = 119; // Device type
static readonly byte USER_TRANSTYPE = 5; // Transmission type
static readonly byte USER_RADIOFREQ = 57; // RF Frequency + 2400 MHz
static readonly ushort USER_CHANNELPERIOD = 8192; // Channel Period (8192/32768)s period = 4Hz
static readonly byte[] USER_NETWORK_KEY = { 0, 0, 0, 0, 0, 0, 0, 0 };
static readonly byte USER_NETWORK_NUM = 0; // The network key is assigned to this network number
static ANT_Device device0;
static ANT_Channel channel0;
static ANT_ReferenceLibrary.ChannelType channelType;
static byte[] txBuffer = { 0, 0, 0, 0, 0, 0, 0, 0 };
When I run the app and click the start demo, I always get the error.
I have tried using the ANT + Display Simulator and am able to invoke the weighing machine and get the weight. But still no luck with the .net application that I am working on.
THanks,
Imran
Image Attachments
Click thumbnail to see full-size image