Reading the USB Port

BlitzMax Forums/BlitzMax Beginners Area/Reading the USB Port

Eric(Posted 2007) [#1]
I have a USB OSILLISCOPE that I would like to create an Application for... Is there a way to read the streaming data from a USB port?

Thanks in Advance for any help you can offer,
Eric


FlameDuck(Posted 2007) [#2]
On Linux, yes. Windows, not sure - wouldn't bet on it, unless suitable drivers and an SDK shipped with it.


skidracer(Posted 2007) [#3]
from hyperterminal check if there are any extra comms ports available when the thing is plugged in


Eric(Posted 2007) [#4]
Yeah, but how do I get that data into Blitz? Is there a way to access the USB Port?

Thanks for your time,
Eric


grable(Posted 2007) [#5]
In Windows you can open serial ports with CreateFile(), i think this applies to virtual ports as well.

EDIT: just to clarify, i meant the Win32 API call. Didnt know there was a CreateFile() in blitzmax ;)


Eric(Posted 2007) [#6]
Is there anyone that can help me learn how to read data from a USB Port? I mean is it even possible in BMax?

Thanks,
Eric


tonyg(Posted 2007) [#7]
This?