At 10:25 PM -0700 9/29/03, Brett Heliker wrote:
The device we're working on is totally custom, we printed a board
and soldered a usb connector to it.
OK, then you'll need to make a driver for it too (a kernel extension
or "kext" IIRC).
We're just trying to get a simple data logger: send input, log
output. Its been done through C, with a command line interface.
Really? This doesn't require a kext? Can you explain why? What C
commands do you use to communicate with it?
But putting a nice UI front end on it would be nice, so I was
looking into RB for that.
Well, you certainly could just communicate with your command-line
tool via the Shell class. Better would be to wrap your C code in a
REALbasic plug-in.
Is it possible to simply open a serial channel into a USB device?
To just listen to data coming from it, and possibly push serialized
data to it?
No; USB simply doesn't work that way. Every device class requires a
driver, or at least that is my understanding. There is no such thing
as a generic USB driver, though there are USB adapters for talking to
serial devices.
Best,
- Joe
--
,------------------------------------------------------------------.
| Joseph J. Strout REAL Software, Inc. |
| joe at realsoftware dot com http://www.realsoftware.com |
`------------------------------------------------------------------'
- - -
Unsubscribe or switch delivery mode:
<http://support.realsoftware.com/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
|