From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Compiling and executing GPIB code in Visual basic

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.
0 Kudos
Message 1 of 2
(2,843 Views)
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
0 Kudos
Message 2 of 2
(2,842 Views)