LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Stand-Alone exe not seeing my VISA instruments

Hello, I am attempting to build a standalone installer application from my VI using LV 7.1 on a Win 2k machine. I have gone through the build application wizard making sure to enable hardware configuration checkbox and select the desired VISA TCP/IP instruments from the list. I am able to build the application without errors and install the stand-alone app on a new PC without LV installed. When I try and run the app, I do not see my TCP resources.

I have tried to install the NI-VISA runtime ver 4 with no success.

Now, when I was installing the app on the new PC, I did recieve an error saying that MAX wasnt avalible. So is there a way to get MAX without installing Labview? Is there someplace on NI's website that allows you to download just the MAX. I would think that the whole purpose of building a standalone application is to NOT have to install labview and therefore MAX.

So what am I missing here? Any help would be great.


0 Kudos
Message 1 of 3
(2,685 Views)
I have done some additional digging and here are my results. On my front panel I have a VISA Resource Combo box that selects which instrument I want to use over ethernet (they are both Agilent RF sources). In the visaconf.ini file on my development PC, I see that the aliases for my instruments TCPIP0::xxx.xxx.xxx.xxx::instr0::INSTR are present. There is also a TCPIP-RSRCS section in the config file with more info relating to the TCPIP0 instrument.

On my target PC with only my stand-alone application installed (and no LV), my visaconf.ini file doesnt say a thing about TCPIP0. There is no TCPIP-RSRCS section in the file either. This probably explains why I am not seeing my Agilent instruments in the standalone application.

I do have the MAX configuration file (.nce) but I see no obviously way to load this file into my stand-alone application. I think I bundled it with the installer, but I am really stuck.

Any thoughts???
0 Kudos
Message 2 of 3
(2,674 Views)
In order to use the MAX configuration file, you would have to install MAX and that would get installed only with the full version of VISA. You could do this or instead of using the MAX import/export, you could install the visaconf.ini to the target. This is what I typically do to have my aliases work on a run-time only pc.
Message 3 of 3
(2,659 Views)