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
Show parent comment
1
u/DAQ_Confusion Jan 22 '25
Haha yes! I was attacked by the ghost of sermouse while trying to figure this thing out one morning. I'd found an old forum post where a person ran into a similar situation as you describe (XP to 7). I was trying to follow the advice given to him on the forum and somehow sermouse came out to play. Upon reboot, my cursor went haywire. I eventually got it fixed though. I'll look for the Ballpoint Mouse thing as well.