Accessing USB Port

Dear Friends,

I am writing an application which should read from and write to USB port. But I dont know how to access it. I also can buy an OCX module if there is one. But at firsthand I want to acess it by my codes. I'll be happy to receive any codes or part of codes that will give insight.

I also appreciate any comments

Thanks in advance
LVL 4
MacroLandAsked:
Who is Participating?
 
Jaime OlivaresConnect With a Mentor Software ArchitectCommented:
You will need specific drivers for each device, I guess scale driver could have an internal serial-to-usb converter, so you can program it as a serial device. Most cameras act as a standard USB harddisk.
0
 
Jaime OlivaresSoftware ArchitectCommented:
USB has not a 'generic' driver. Will depend on which device are you trying to interface to. So, please detail.
0
 
MacroLandAuthor Commented:
I want to use it for a scale machine and also for a digital camera to take pictures.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.