LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

build problems

I have a rather large program written. It is designed to drive an HP8566 spectrum alayzer and also to read trace data from it. All the VIs run properly and there seems to be no more bugs. My problem is that after I build a stand alone executable and install it on another computer, all of the visa operations stop working. The program and all of its algorithms still work fine but it wont talk to the analyzer. The error message I get is:

"Error 107807346 occurred at ??? in HP8566 initialize.vi
Possible reasons:
VISA: (Hex 0xBFFF000E) The given session or object reference is invalid"

This same stand alone file when installed on my development PC works just fine. I tried installing Labview 6i on the test platform and it ran the executable just th
e way it should. As soon as I uninstalled LabView 6i the same problem returned.
I tried a few other things with results that only made things worse in new ways.

Any ideas? I am at my wit's end on this one.
0 Kudos
Message 1 of 4
(2,995 Views)
Did you install VISA on the target machine as well as the LV RTE? Are the VISA versions the same? You shoule be able to talk to the instrument using MAX on the target machine, make sure that works first.

Brian
0 Kudos
Message 2 of 4
(2,995 Views)
I wasn't aware that VISA had to be installed seperately... where is the installer for it? Thanks for your help!!
0 Kudos
Message 3 of 4
(2,995 Views)
If you have a NI GPIB controller then it should have been installed when you installed the board. If you have a non-NI board then I think you need to install the VISA drivers from the manufacturer of the board.

You can find installers for the latest version of NI-VISA in the Drivers and Updates section of NI's site here: http://digital.ni.com/softlib.nsf/display?ReadForm&lookup=NI-VISA&view=current&node=132060_US .

Good luck
Brian
0 Kudos
Message 4 of 4
(2,995 Views)