Page 1 of 1

USB input

Posted: Sun May 10, 2015 11:36 pm
by dna
Hello.

I was looking for resources that can help me code a routine that receives input from the USB ports.
Any help is appreciated.

Thanks

Re: USB input

Posted: Sun May 10, 2015 11:51 pm
by Julian

Re: USB input

Posted: Mon May 11, 2015 8:17 am
by infratec
Or do you mean a serial to USB adapter?

Then you can use the normal serial port stuff.

Bernd

Re: USB input

Posted: Mon May 11, 2015 9:49 pm
by dna
I meant the normal USB 3.0 ports.

Re: USB input

Posted: Tue May 12, 2015 9:54 pm
by User_Russian
OS does not provide access to applications to the USB ports. This is only available for the USB driver.
You need to work with the USB device through its driver.

Re: USB input

Posted: Sun Oct 02, 2022 6:21 pm
by technopol
infratec wrote: Mon May 11, 2015 8:17 am Or do you mean a serial to USB adapter?

Then you can use the normal serial port stuff.

Bernd
Is it possible to specify baud rates faster than 115200 with OpenSerialPort?

technopol

Re: USB input

Posted: Sun Oct 02, 2022 7:42 pm
by infratec
Yes.

Re: USB input

Posted: Sun Oct 02, 2022 10:07 pm
by technopol
infratec wrote: Sun Oct 02, 2022 7:42 pmYes.
Thanks for quick reply!

Is there a list of valid baud rates? I aim at 100 000 000 baud (and higher eventually).

technopol

Re: USB input

Posted: Sun Oct 02, 2022 10:08 pm
by TassyJim
If you are referring to Linux, this thread may help.
viewtopic.php?t=78721

Most adapters will work with that method.

For Windows, each adapter type has it's own limits.

Jim

Re: USB input

Posted: Mon Oct 03, 2022 3:17 pm
by infratec
As you can read more, clear informations are needed:

Which OS,
which device,
which driver.

I thought you are using windows with an USB device which uses its own driver.