Reading the USB Port

BlitzMax Forums/BlitzMax Beginners Area/Reading the USB Port

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

On Linux, yes. Windows, not sure - wouldn't bet on it, unless suitable drivers and an SDK shipped with it.

from hyperterminal check if there are any extra comms ports available when the thing is plugged in

Yeah, but how do I get that data into Blitz? Is there a way to access the USB Port?

Thanks for your time,
Eric

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 ;)

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

This?