Measurement Studio for VB6

cancel
Showing results for 
Search instead for 
Did you mean: 

Getting VISA timeout error in LabView after installing Measurement Studio Start Kit

After installing Measurement Studio Starter Kit my LabView applications immediately started getting VISA timeout errors when sending commands to GPIB (through NI's USB-GPIB interface) instruments. The commands are actually going to an instrument on another address rather than the one it was intended for, thus getting the timeout when that instrument doesn't know what to do. The same LabView programs worked just fine when testing after the Measurement Studio Evaluation Demo had been installed.

After running through many different scenarios of removing and re-installing software components that may be associated with this problem nothing has worked except to refrain from installing Mea
surement Studio at all, but that isn't what I want to do.

Does anyone have any experience trying to get these two to live together in peace? Thanks for any help.
0 Kudos
Message 1 of 3
(3,404 Views)
Since the Starter Kit installs ActiveX controls for VISA, I would suggest to test VISA and instruments settings in MAX (Measurement & Automation Explorer). You can Access MAX at Start>>Programs>>National Instruments>>NI-488.2>>Explore GPIB. Check if for some reason the instrument address was changed and if you are able to do a simple VISA write and read through MAX. It seems like that is the problem, that the address you had in LabVIEW is no longer the right address for the specific instrument. Changing it to the corresponding one in MAX, should solve the problem.
I am not sure why this happened, there is nothing specific about installing the starter kit on top of LabVIEW.

Zvezdana S.
National Instruments
0 Kudos
Message 2 of 3
(3,404 Views)
I just ran MAX and the VISA Analyzer. There is a power supply on address 2 and electronic load bank on 12. I'm finding no errors communicating through VISA. The only error in MAX is from the ID command when scanning (returns empty string), since the power supply seems to be compliant with 488.1 standard and MAX is 488.2. However, I understand the nature of this problem and isn't related to the LabView thing since I've confirmed the commands and addresses are correct there in my test app.

In any case, (in the LV test app, after opening a visa session to the load bank) the power supply error I get is "Data requested without a query being sent." I've confirmed that a "INP ON" (or any other) command meant for the load bank is going to the power supply instead
resulting in the above error, then the visa write times out.

I'm still open to other suggestions.
0 Kudos
Message 3 of 3
(3,404 Views)