471,317 Members | 1,979 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,317 software developers and data experts.

Accessing a USB device

Hi,

I have a blood glucose meter (a Lifescan OneTouch Ultra in case anyone
was wondering) which I connect to my PC using a USB cable and I would
like to have a go at accessing the data on this device without having
to use the software provided by Lifescan. The software is free and is
okay but it's not very good at manipulating the data.

Although I connect my meter using a USB cable, it can be connected by a
serial cable (there is a 3.5mm input jack which the cable plugs into)
so I think the key to accessing the device is through the cable itself
and the drivers which come with it.

My question is really how do I even get started? I've looked around
for guides on accessing UDB devices and I can't really find much info.
I think I'm right in assuming that I don't try and access the device
directly but use the drivers provided.

Sorry to sound a bit dumb. Just a few basic pointers would be a great
help.

Thanks,

Jimmy.

Jan 23 '06 #1
2 7749
Jimmy,

If there is a serial connection, then you might want to consider using
that. It will be slower, but there are classes in the framework (2.0 and
up) which allow you to handle Serial devices.

You will want to use the classes in the System.IO.Ports namespace to
access the port to your device.

Beyond that, you have to figure out the protocol for getting the data.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Jimmy Reds" <ji******************@stormhealer.com> wrote in message
news:11*********************@g47g2000cwa.googlegro ups.com...
Hi,

I have a blood glucose meter (a Lifescan OneTouch Ultra in case anyone
was wondering) which I connect to my PC using a USB cable and I would
like to have a go at accessing the data on this device without having
to use the software provided by Lifescan. The software is free and is
okay but it's not very good at manipulating the data.

Although I connect my meter using a USB cable, it can be connected by a
serial cable (there is a 3.5mm input jack which the cable plugs into)
so I think the key to accessing the device is through the cable itself
and the drivers which come with it.

My question is really how do I even get started? I've looked around
for guides on accessing UDB devices and I can't really find much info.
I think I'm right in assuming that I don't try and access the device
directly but use the drivers provided.

Sorry to sound a bit dumb. Just a few basic pointers would be a great
help.

Thanks,

Jimmy.

Jan 23 '06 #2
Nicholas,

I've just had a look in one of the INF files that the driver CD
installed and it says the following in the first two lines :

; SERWPL.INF - INF file for USB-to-Serial Device
; Copyright (C) 2001, Prolific Technology Inc.

So I'm going to see if I can use the serial port classes to access the
device. I think the cable is simply a custom built USB to Serial
cable.

Thanks for the advice.

Jimmy.

Jan 23 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

7 posts views Thread by Fazer | last post: by
13 posts views Thread by lupher cypher | last post: by
4 posts views Thread by Bradley Grant | last post: by
1 post views Thread by john wright | last post: by
1 post views Thread by walterbyrd | last post: by
37 posts views Thread by Neo | last post: by
reply views Thread by xlar54 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.