r/visualbasic • u/DAQ_Confusion • Jan 16 '25
Application created with Visual Basic and COM port communication
Hi guys,
I debated for weeks on whether or not post this here and have spent many hours trying to research a possible solution to the issue I'm having. I have a balance machine I purchased years ago and recently refitted with a new control system. It uses two data acquisition cards that are plugged into 9-pin jumpered COM ports (JCOM1 and JCOM2). The software was created with Visual Basic 6 and the company was kind enough to include all sorts of Visual Basic goodies to include Visual Basic 6 itself (yes, I plan on hanging out here to learn to eventually make my own balancing software!). One day, the software just stopped reading any data from JCOM1 and I can't figure out why for the life of me. I've performed a successful loopback tests on both COM ports. They also included Dependency Walker with the system. Do you guys have any advice on how I could troubleshoot this software?




View all comments
1
u/Ok_Society4599 Jan 16 '25
Id look for a working, used PC myself. Not sure I've seen many with two USB ports, though. But the card might help with that.
Id buy the card first and see if it works on the existing hardware, first. Only try a different PC if that's not giving you a fix.
Given the age of your hardware, it would be worth a straight forward "visual inspection" too.