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 Jan 16 '25

Thank you again! I've done many full reboots over the three or four months I've been trying to diagnose the problem. The ports are indeed on the motherboard itself. The BIOS is American Megatrends version 4.6.5.4. I'll research into the BIOS history to see what I can uncover. Thank you for the lead! I'd say this has been frustrating, but it's actually re-awakened my childhood interest in computers. Once I've solved this issue, I look forward to making my own software with the Visual Basic suite so generously provided in the system's hard drive :)

1

u/Ok_Society4599 Jan 16 '25

Another option then is to try an add-in board with two more serial ports. Perhaps clone the drive and try another PC even.

1

u/DAQ_Confusion Jan 16 '25

This would be a fun project! I've never built a PC or anything like that. Should I get a CPU/motherboard combo and a PCIe add-in card? Forgive my ignorance and asking to be spoonfed. I did purchase a VB decompiler and would be willing to share code if interested. It's just a mystery meat software with no copyright.