473,216 Members | 1,507 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,216 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 7832
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Fazer | last post by:
Hello, I have a MP3 and I want to access the songs in them. I was wondering if Python could help me do that. I understand that this can be done using Linux by mountig it as a file system, but...
13
by: lupher cypher | last post by:
Hi, I'm trying to access memory directly at 0xb800 (text screen). I tried this: char far* screen = (char far*)0xb8000000; but apparently c++ compiler doesn't know "far" (says "syntax error...
4
by: Bradley Grant | last post by:
Does anyone out there know of where I could find some C# example programs for accessing USB Devices. There just does not seem to be much out there on this subject. Even after doing a Google,...
1
by: john wright | last post by:
I am trying to access a Human Interface device on USB. It is a device that will lock the PC when you walk away. I read the article on Coding for fun on MSDN and it was interesting, but as always...
1
by: walterbyrd | last post by:
I want my python app to read a file from a pocketpc mobile device, if possible. Assume I am running windows-xp, and activesync 3.8. Assume I have "exported" the file. As I understand it,...
37
by: Neo | last post by:
Hi, I want to write a program that essentially connects to web, access some web page and pass some parameters and fetch the return values and print like LWP in Perl Context. Can some one...
3
by: john | last post by:
I would like to view physical memory that is mapped to a pci board. I am using a tool called WinIO to try to create a virtual address to that physical memory. It works for both read and write of...
0
by: xlar54 | last post by:
Im needing to access a PocketPC device via C#. Using Windows Vista and a PocketPC 2002. I found out that if you disable the service called Windows Mobile 2003, the device will still show up in My...
2
by: wizche | last post by:
Hi, I'm currently trying to develop a IR Remote (TV consumer) listener in C under Linux. First of all I tried with an old notebook with an integrated IR peripheral (FIR)under Debian (kernel...
0
by: VivesProcSPL | last post by:
Obviously, one of the original purposes of SQL is to make data query processing easy. The language uses many English-like terms and syntax in an effort to make it easy to learn, particularly for...
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 3 Jan 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). For other local times, please check World Time Buddy In...
0
by: mar23 | last post by:
Here's the situation. I have a form called frmDiceInventory with subform called subfrmDice. The subform's control source is linked to a query called qryDiceInventory. I've been trying to pick up the...
2
by: jimatqsi | last post by:
The boss wants the word "CONFIDENTIAL" overlaying certain reports. He wants it large, slanted across the page, on every page, very light gray, outlined letters, not block letters. I thought Word Art...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: fareedcanada | last post by:
Hello I am trying to split number on their count. suppose i have 121314151617 (12cnt) then number should be split like 12,13,14,15,16,17 and if 11314151617 (11cnt) then should be split like...
0
Git
by: egorbl4 | last post by:
Скачал я git, хотел начать настройку, а там вылезло вот это Что это? Что мне с этим делать? ...
1
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....

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.