06-19-2007 12:07 PM
I am trying to run a stand alone application on a PC which does not have Lab View installed. I created the executable file and the installer. However, when I run the .exe the VISA functions contained in the VI return error messages and the power supply I am trying to control does not respond. The stand alone application will run on a PC that has Lab View installed.
My application initially used a VISA resource control to selct the instrument GPIB address on the PC I used to create the application. Since the PC I am trying to run the .exe on has an older version of NI-MAX I cannot create aliases that the VISA control can interpret.I have tried to upgrade NI-MAX hoping that would solve my problem:
Here is what I tried:
uninstall NI-488 and NI-MAX ( if you want to uninstall MAX you must uninstall NI-488 ) reinstall NI-488 and NI-MAX Ver 3.1 then try to install NI-MAX version 4.1 which I downloaded from NI website. When I do this I get an error message when I try to run MAX. None of this worked so I hard coded the instrument address as a constant and again that works on the PC with LV installed but does not on the PC without LV.
Any input would be greatly appreciated.
06-19-2007 12:25 PM - edited 06-19-2007 12:25 PM
Message Edited by Sudhir Gopinath on 06-19-2007 12:26 PM
06-19-2007 12:52 PM
06-19-2007 12:57 PM
06-19-2007 01:08 PM - edited 06-19-2007 01:08 PM
Message Edited by Dennis Knutson on 06-19-2007 12:10 PM
06-19-2007 02:16 PM
Thanks to everyone who suggested NI-VISA and to all the responders. I was not including NI-VISA in the installer build and when I did that did the trick.