Member Login
Search
Jump to a Date
Sponsored Communities
Cool stuff
Twitter Feed
Neat Stuff

Visit our shop for nerds in control lifestyle products.
Thermal Overload
The threads that wouldn't die...
- PC reliability?
- Windows, real time
- PID loops
- PCs vs. PLCs
- Replacing people
- MS 'monopoly'?
- Software quality
- Where do we go from here?
- Why pay?
- PC reliability?
- Windows, real time
- PID loops
- PCs vs. PLCs
- Replacing people
- MS 'monopoly'?
- Software quality
- Where do we go from here?
- Why pay?
Fortune
Furbling, v.:
Having to wander through a maze of ropes at an airport or bank
even when you are the only person in line.
-- Rich Hall, "Sniglets"
Having to wander through a maze of ropes at an airport or bank
even when you are the only person in line.
-- Rich Hall, "Sniglets"
RSS Feed
www.control.com/rss/
To get a personalized feed, become a member at no cost.
Hello friends,
I want to connect USB port using VB How can I do that without using USB to RS232 converter? Can any one help me to know how can I connect USB port. I am using the device which uses data transfer at high speeds which cannot be supported using USB to RS 232 so can you please let me know how I can directly connect to the USB port using my GUI.
Thank you,
mail me back to venkatsubbarao@gmail.com
I want to connect USB port using VB How can I do that without using USB to RS232 converter? Can any one help me to know how can I connect USB port. I am using the device which uses data transfer at high speeds which cannot be supported using USB to RS 232 so can you please let me know how I can directly connect to the USB port using my GUI.
Thank you,
mail me back to venkatsubbarao@gmail.com
You don't say what USB device you wish to communicate with. The class of that device and the device driver associated with that device will dictate how you can access it in VB.
See the book "USB Complete" by Jan Axelson.
Robert Scott
Real-Time Specialties
Embedded Systems Consulting
See the book "USB Complete" by Jan Axelson.
Robert Scott
Real-Time Specialties
Embedded Systems Consulting
I m using a Mitshibushi controller which is having USB feature and its belong to communication class. Actually we are developing this device so we have to configure the class in the software in the device side. We are using the driver provided by thesycon for this device
VB GUI sample, DLL code and more--
EID, Corp. is an OEM manufacturer (100% made in U.S.A) for many kinds of E-USB boards and kits, such as I/O, ADC, timer, counter, etc. You will be able to control directly from your PC via USB port. Yes, free DLL and other free software...
Write your code, application utilizing our free DLL.
See the following links:
1. Free VB, C++ etc. DLL and demo software E-USB PC-ports kits:
http://www.eidusa.com/Electronics_Kits_EUSB_DLL.htm
htt p://www.eidusa.com/Electronics_Kits_EUSB_Software.htm
2. Electronic Kit (DIY), I/O and more via E-USB:
http://www.eidusa.com/Electronics_Kits.htm
Regards,
Ron
EID, Corp. is an OEM manufacturer (100% made in U.S.A) for many kinds of E-USB boards and kits, such as I/O, ADC, timer, counter, etc. You will be able to control directly from your PC via USB port. Yes, free DLL and other free software...
Write your code, application utilizing our free DLL.
See the following links:
1. Free VB, C++ etc. DLL and demo software E-USB PC-ports kits:
http://www.eidusa.com/Electronics_Kits_EUSB_DLL.htm
htt p://www.eidusa.com/Electronics_Kits_EUSB_Software.htm
2. Electronic Kit (DIY), I/O and more via E-USB:
http://www.eidusa.com/Electronics_Kits.htm
Regards,
Ron
Hello,
I was searching the net for some FAQs on this exact subject so i thought I would jump the band wagon. I am a student and am working on a project at my school that requires me send 4 bit signals to a transmitter. the connection on the transmitter is connected via DB-9 serial, my problem is when I interface with my laptop there is no DB-9 present so i purchased a USB-SERIAL converter. Here is where im lost and i have lost my mind trying to figure this out. I have code written in VB however during the testing phase I wrote the code and tested at my home computer (using the DB-9 serial) and it worked fine. however when i used the adapter (USB) at my school I got all sorts of mscomm port errors. I was told that i had to modify my code to the USB. Any help here would be greatly appreciated.
Nathan
I was searching the net for some FAQs on this exact subject so i thought I would jump the band wagon. I am a student and am working on a project at my school that requires me send 4 bit signals to a transmitter. the connection on the transmitter is connected via DB-9 serial, my problem is when I interface with my laptop there is no DB-9 present so i purchased a USB-SERIAL converter. Here is where im lost and i have lost my mind trying to figure this out. I have code written in VB however during the testing phase I wrote the code and tested at my home computer (using the DB-9 serial) and it worked fine. however when i used the adapter (USB) at my school I got all sorts of mscomm port errors. I was told that i had to modify my code to the USB. Any help here would be greatly appreciated.
Nathan
I have a USB to serial that I bought for 78 bucks from radio shack, been using mine for 2 years now, have not found a thing that it has not worked with and I use mine at least once a week.
They still sell it.
They still sell it.
But do you use it for VB 6.0? If so what is the brand maybe I could look for it?
Nathan
Nathan
Give me your e-mail address and I will send you some test source code in VB 6.
hi, i am also looking for VB6 code samples to control a USB-HID device, i would appreciate if you can also send one for me. thanks a lot.
email: ericgmejia@yahoo.com
email: ericgmejia@yahoo.com
Hey Starride,
Please kindly send the VB6 example USB-Serial code to my email. sfuller94@yahoo.com
Thanks,
Seth
Please kindly send the VB6 example USB-Serial code to my email. sfuller94@yahoo.com
Thanks,
Seth
Dear sir,
Kindly give me the vbcode, how to cofigure USB port. I am using Righttag scanner to read & write data into tag using vbapplication.
Here is my e-mail address:
akhtarrs@gmail.com
thanx.
Kindly give me the vbcode, how to cofigure USB port. I am using Righttag scanner to read & write data into tag using vbapplication.
Here is my e-mail address:
akhtarrs@gmail.com
thanx.
Hey Starride,
Please kindly send the VB6 example USB-Serial code to my email. mourad.abdelbaki@wanadoo.fr
Thanks, Mourad
Please kindly send the VB6 example USB-Serial code to my email. mourad.abdelbaki@wanadoo.fr
Thanks, Mourad
khalid_hanifm@yahoo.com
I am testing printer that hook to USB and I am using Visual Studios 2003. Do you have any code that will help me be able to communicate to these printers using VB or VB.Net. These printers are the ones you see in hospitals that make the id bracelets.
Thanks.
Thanks.
i'm also looking for vb or vb.net code to configure USB port.
pls kindly send the code to my email: algareebnet@yahoo.com
thanks,
pls kindly send the code to my email: algareebnet@yahoo.com
thanks,
I m working in a manufacturing company. It would be gr8 to have the code in VB 6.0 that configures the USB port. Please send me the code on malvika.joshi@rediffmail.com as soon as possible.
It would be really helpful...
Regards
It would be really helpful...
Regards
hey starride, if ur still giving out that source code could you please send it to my email scorpiom84@aol.com?
...I'm working on a senior design project that requires me to take in data from a USB port.
...I'm working on a senior design project that requires me to take in data from a USB port.
Hello,
I need also some help with Visual Basic to write USB driver. To be exact I need to send some ASCI strig over USB to another UNIT.
Here is my email: gvgregor@yahoo.com.
Thanks,
Greg
I need also some help with Visual Basic to write USB driver. To be exact I need to send some ASCI strig over USB to another UNIT.
Here is my email: gvgregor@yahoo.com.
Thanks,
Greg
Please Starride can I still have the test code for USB in VB6. Thank you. email addy is mawobadejo@gmail.com
plz five me the usb source code in vb 6. i really need it. this is my e-mail: saikoy@gmail.com
Hi Starride,
pls send me your source codes in VB6 or VB.NET. My mail: quinhngoc@yahoo.com
Thanks.
pls send me your source codes in VB6 or VB.NET. My mail: quinhngoc@yahoo.com
Thanks.
If you have a code for connecting a scanner to VB or VB.net, please send it, I will grateful to you.
I'm a Spanish student. I'm investigating about connection USB with VB 6.0. Until now, in my view, the device and the conection type are not specifices (serial, bluetooth...).
If somebody has code for connecting some device with VB 6.0, please send it, I will be grateful to you.
potypoty55 @ yahoo. es
If somebody has code for connecting some device with VB 6.0, please send it, I will be grateful to you.
potypoty55 @ yahoo. es
Hi,
Could you please also send me details of the USB-Serial interface and VB source code?
Thanks,
kathymay@ozemail.com.au
Could you please also send me details of the USB-Serial interface and VB source code?
Thanks,
kathymay@ozemail.com.au
I would be interested in your visual basic code, if you are still giving it out. My email is andy @ egl-neon. com. Thank you.
I would be interested in your visual basic code, if you are still giving it out. My email is KandM3301 at midsouth. rr.com. Thank you.
Hello!
I'm a student, and a need this code to conect and control a usb-bluetooth on vb6. Can you send me this code, please? Thank you very very very mch.
nonoweb20@hotmail.com
I'm a student, and a need this code to conect and control a usb-bluetooth on vb6. Can you send me this code, please? Thank you very very very mch.
nonoweb20@hotmail.com
Hi Nisa,
USB - bluetooth devices are used as same as a serial port when you install your bluetooth device drivers.
So you can use it via MSComm (MSComm32.ocx) component with Visual Basic, it is not different than an ordinary RS232 port.
However, some bluetooth device drivers add two serial ports at the same time, one is used for sending and the other is used for receiving but it is a rare situation; most of the devices do receiving and sending in same serial port.
Hope this helps.
---
http://indanotes.blogspot.com
Industrial Automation Notes: A blog about PC managed automation systems.
USB - bluetooth devices are used as same as a serial port when you install your bluetooth device drivers.
So you can use it via MSComm (MSComm32.ocx) component with Visual Basic, it is not different than an ordinary RS232 port.
However, some bluetooth device drivers add two serial ports at the same time, one is used for sending and the other is used for receiving but it is a rare situation; most of the devices do receiving and sending in same serial port.
Hope this helps.
---
http://indanotes.blogspot.com
Industrial Automation Notes: A blog about PC managed automation systems.
Please send me
farzadmn2 @ yahoo. com
farzadmn2 @ yahoo. com
Also when I used searching Engine for the same titles I found this which is more more important for me, please send me this code for configuring the USB port through VB6
MSCOMM must have pin 1 of the DB9 serial point at a high level or it will not initialize. Dumb limitation but a fact to deal with.
Hello,
I dont think you need to change your code, this is a similar problem i had while communicating with a PLC.
The serial converter sets itself up (with the help of the driver) as a standard com port.
So you need to go into control panel/system/ports and check which port it has assigned for the adapter eg com1/com2 etc.then you can set up your mscomm port settint to the correct port value.Beware if you have more than one USB port and you plug your serial adapter into a different one the computer will re assign a new com port number.
hope this helps
Bob
I dont think you need to change your code, this is a similar problem i had while communicating with a PLC.
The serial converter sets itself up (with the help of the driver) as a standard com port.
So you need to go into control panel/system/ports and check which port it has assigned for the adapter eg com1/com2 etc.then you can set up your mscomm port settint to the correct port value.Beware if you have more than one USB port and you plug your serial adapter into a different one the computer will re assign a new com port number.
hope this helps
Bob
Hello!
I 'm a student and I want to connect the PPC to other device (such as microcontroller) across USB port. Hence i need some help.
pls kindly send the source code to my email: wing.ho@student.adelaide.edu.au
Thank you very much!
I 'm a student and I want to connect the PPC to other device (such as microcontroller) across USB port. Hence i need some help.
pls kindly send the source code to my email: wing.ho@student.adelaide.edu.au
Thank you very much!
Hi
If you want to connect your PC to microcontroller through USB port,your microcontroller must have USB port or you have to buy additional IC that convert USB to serial.
For example you can check http://www.ftdi.com and search for ft232bm. It is USB to RS232 convertor.
I you have any problem you can mail to me.
javadarefi@yahoo.com
If you want to connect your PC to microcontroller through USB port,your microcontroller must have USB port or you have to buy additional IC that convert USB to serial.
For example you can check http://www.ftdi.com and search for ft232bm. It is USB to RS232 convertor.
I you have any problem you can mail to me.
javadarefi@yahoo.com
I am a visual basic programmer. I used parallel port for sending and receiving data between PC and hardware. Now I want to use USB port to send and receive data. Can anyone send me the code and how to build hardware for usb?
my email is sarim2005@gmail.com
thanking,
sarim
my email is sarim2005@gmail.com
thanking,
sarim
Hello,
I 'm a student and I want to connect USB port using VB or VC++ with a full speed rate. How can I do? Where can I fing dll files... to help me?
Thank you,
mail me back to loic.baglin@gmail.com
I 'm a student and I want to connect USB port using VB or VC++ with a full speed rate. How can I do? Where can I fing dll files... to help me?
Thank you,
mail me back to loic.baglin@gmail.com
Hi,
I'm also doing some testing that access to USB port. Is there anyone who has the VB code for this? Please forward it to me at cool_y2@yahoo.com
Thank you very much.
I'm also doing some testing that access to USB port. Is there anyone who has the VB code for this? Please forward it to me at cool_y2@yahoo.com
Thank you very much.
Hi,
I'm working on my thesis, and I'm in bad need to the VB6 source code to access the USB port for a custom device (FPGA developed USB device), and also for a printer that I'm having some problems to deal with.
I do appreciate it if you can send me this code.
rania_a7mad@yahoo.com or rania_a7mad@hotmail.com
Thank you very much! :)
I'm working on my thesis, and I'm in bad need to the VB6 source code to access the USB port for a custom device (FPGA developed USB device), and also for a printer that I'm having some problems to deal with.
I do appreciate it if you can send me this code.
rania_a7mad@yahoo.com or rania_a7mad@hotmail.com
Thank you very much! :)
Bob (on this thread) had the best advice... If you're converting from USB to serial device (i.e. newer laptop/PC to older device), you must have a USB to serial cable, install the drivers that come with it; reboot your pc; plug in the USB cable (doesn't have to be connected to device on other end); go to Control Panel, "Ports" to confirm it's now enabled in Windows and to see which Comm port it is now - mine was Comm 4. Finally, go to the VB code and edit it to find Comm 4. In my case, the code was originally, "MSComm1.CommPort = 1" I simply had to change it to "MSComm1.CommPort = 4".
Hope this helps.
Hope this helps.
Hi,
I'm doing the same you did. If you had some news can you forward to me at marchesani.enrico @ libero. it?
Thank You.
I'm doing the same you did. If you had some news can you forward to me at marchesani.enrico @ libero. it?
Thank You.
Hi,
I'm working on a thesis where my microcontroller sends data vis serial, but I have to use USB to connect it up to my computer. I would really appreciate it if someone could send me the code that was discussed above to my email.
r. panthaky @ hotmail. com
Thank you so much.
I'm working on a thesis where my microcontroller sends data vis serial, but I have to use USB to connect it up to my computer. I would really appreciate it if someone could send me the code that was discussed above to my email.
r. panthaky @ hotmail. com
Thank you so much.
Hi,
I am working in communicating a Thrustmaster joypad with B to control servos. If anyone could pass me some code, I would be very grateful.
manin1952 @ hotmail. com
Thanks.
I am working in communicating a Thrustmaster joypad with B to control servos. If anyone could pass me some code, I would be very grateful.
manin1952 @ hotmail. com
Thanks.
Hi all,
Please can anyone send me some code for controling the USB port using VB.NET? Send them to: t_adison @ Hotmail. com
I will need to control my USB port in my project, so I am doing some research to obtaine some code but it sucks!
Any help?
Thank you very much.
Please can anyone send me some code for controling the USB port using VB.NET? Send them to: t_adison @ Hotmail. com
I will need to control my USB port in my project, so I am doing some research to obtaine some code but it sucks!
Any help?
Thank you very much.
Hi all,
Can you forward the VB6 code and details regarding that to me also? I am doing a project where I have to send data to a kit via USB port from the GUI.
Therefore I need this code. My id is kollu. kavya @ gmail. com
Can you forward the VB6 code and details regarding that to me also? I am doing a project where I have to send data to a kit via USB port from the GUI.
Therefore I need this code. My id is kollu. kavya @ gmail. com
I had similar requirement and the following is what I did:
a) downloaded a VIRTUAL SERIAL PORT (VSP) from FTDI and installed on the PC (http://www.ftdichip.com/Drivers/VCP.htm).
b) Then, when you connect the USB instrument, I noticed an added COM port in the SYSTEM (COM7 in my case).
c) I, then, used MSCOMM1 in VB6 to communicate to the device.
a) downloaded a VIRTUAL SERIAL PORT (VSP) from FTDI and installed on the PC (http://www.ftdichip.com/Drivers/VCP.htm).
b) Then, when you connect the USB instrument, I noticed an added COM port in the SYSTEM (COM7 in my case).
c) I, then, used MSCOMM1 in VB6 to communicate to the device.
Hi there,
I went to the site to download driver version 2.04.06. (It comes with the file "CDM 2.04.06")
However, when I run that file on my XP box, nothing seem to happen. What did I do wrong? (Or is there any configuration I need to do?) Please advise me.
You may email me: limchoonkiat at live. com
Thanks.
I went to the site to download driver version 2.04.06. (It comes with the file "CDM 2.04.06")
However, when I run that file on my XP box, nothing seem to happen. What did I do wrong? (Or is there any configuration I need to do?) Please advise me.
You may email me: limchoonkiat at live. com
Thanks.
From Control Engineering magazine...
Related articles from Control
Engineering magazine- You need 2 monitors: This Website will prove it
- Software certified by AT&T: Runs on PDAs, cellphones, enables mobile applications
- Digital manufacturing: Autodesk Inventor shows component interactions
- Research: HMI supervisory software use increases with service needs
- HMI/SCADA: Microsoft Fluent technology helps enhance Proficy iFIX 5.0
- Data for dashboards without IT
- Mini-joystick for industrial applications
- Integrating Environmental Processes
Above articles copyright 2009 Reed Business Information.
Subject to its Terms of Use.
Your use of this site is subject to the terms and conditions set forth under Legal Notices and the Privacy Policy. Please read those terms and conditions carefully. Subject to the rights expressly reserved to others under Legal Notices, the content of this site and the compilation thereof is © 1999-2009 Nerds in Control, LLC. All rights reserved.
advertisements
Servo, stepping motor control, analog & web HMI in one system!
What end users are looking for. Strengthen vendor programs.
Find the right Modbus device for your project... or list your Modbus device on the largest online Modbus device directory.
designs and builds smart, lean automation solutions for almost every manufacturing sector. Learn more...
Our Advertisers
Help keep our servers running...
Patronize our advertisers!
Patronize our advertisers!



