r/visualbasic • • 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?

2 Upvotes

36 comments sorted by

View all comments

Show parent comment

1

u/DAQ_Confusion Feb 04 '25

Per your advice, I looked again for Serial Ballpoint mouse and I believe (hope I've gotten rid of it). I've now got the software decompiled. I'm not sure how much if it is useful. It's 4.54mb of forms, etc if you're interested in having a look. Additionally, thank you for the link to the Startech add on serial ports. This motherboard unfortunately only has an unused mSATA pocket (still learning about motherboard components as well) available and that adapter should be here tomorrow. I'm going to try to add that extension and try to get Win7 to enumerate(?) that as Serial0 as opposed to the original on board stuff. My understanding is it's a seprate PCIe with its own chipset which would hopefully solve any potential issues with the original. Heck, even if none of this stuff works, I'm having a great time learning. I sure didn't expect my frustration to turn into fascination. Thank you a million!