1811Views5Replies

Author Options:

Program to read/write data on usb? Answered

I am looking for a program or at least how it can be done on visual basic that:
allows the user to read incoming serial information and produce outgoing serial information on windows.

Example:
Write is selected > Baud rate selected > binary data entered
Result: serial data is transmitted through the usb port

Thanks!

Comments

The forums are retiring in 2021 and are now closed for new topics and comments.
0
rvijay435
rvijay435

9 years ago

Even I am facing some problems with USB configuration which is in-built in the processors like.... MPC8360E and PIC18F4550 etc.. How to use USB with these processors for sending and receiving data?

0
steveastrouk
steveastrouk

10 years ago

Do you mean over a USB-serial port ?
The process is entirely transparent. You don't need any low level USB comms to do it, just standard API calls.

In my opinion, and using either C++ or Delphi, using the Async Pro tools - which are open sources on SourceForge is the best and easiest way to access serial protocols on a Windows platform. Steve

0
seanroberts
seanroberts

Answer 10 years ago

Thanks for the help, do you know of any programs which are readily availably and provide somewhat of an interface already? I can try myself as a last option but my own programming skills are next to nonexistent!

0
steveastrouk
steveastrouk

Answer 10 years ago

Sean,
Describe exactly what you want to do. It sounds to me you're just looking for a terminal program !

Steve

0
frollard
frollard

Answer 10 years ago

Sounds exactly like what he needs... @op: On the computer side you need a serial communications API. google a 'serial demo + language of your choice" to see how your favourite language deals with serial. There are tonnes of tutorials and demos. On the hardware side, you cannot hook 'something' that doesnt speak usb up to a usb port and hope it takes the serial data. You need a serial-usb adapter (as steve mentions) or a project that inherently works with usb (like an arduino with the ftdi chip built in).