I am writing simple GPIB commands using Visual Basic 6.0 to communicate with my test instruments. All went well until I added an MSComm1 object to my form to send out a text message through COM1. At design time this works fine, but when I make my program executable my test instruments do not want to give any readings back to me. I can change the settings on my instruments programmatically, but it will not respond with any measurements.
Hi, Are you running the program on a target computer (not the computer you developed on)? If so, you need to make sure that you have VISA installed on your target computer.
A.S.
Anu Saha Academic Product Marketing Engineer National Instruments