Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

application.exe problem

I am having a problem transfering my LabVIEW program to another computer to run it as an application.exe file.  When I try to do so, two pieces of hardware that I am trying to use will not work properly.  They work fine when I run the program from LabVIEW on my computer, but when I run the app on another computer I get a number of errors.  First the computer could not find some .dll files that it needed.  I copied these files from my computer to the one that I am trying to run the app on and the errors stopped.  The other errors that I get tell me that certain VI's for the hardware that I am trying to use are "not valid LabVIEW files."  I don't think that the specific hardware is relevant, but if so here is what is not wanting to work:  California Instruments 5001 iX line voltage generator and a Thermotron thermal chamber with a 8800 display module.  The program also uses an Audio Precision ATS-2 and that seems to work fine when I transfer to the application.  Any help would be much appreciated.
0 Kudos
Message 1 of 6
(3,804 Views)
You need to provide some additional information. For example, what hardware interface aer you using - GPIB, RS-232? Exactly what dll's were missing? It is never a good idea to just copy something. You need to run the correct installer. For example, if you use GPIB, you would need to run the installer for NI-488. If you use VISA, you would need to install the NI-VISA run-time. Since LabVIEW 8, the app builder included the option to create an installer that included all of the hardware drivers and MAX configuration.
0 Kudos
Message 2 of 6
(3,802 Views)
I am using GPIB interface.  The missing .dll's were associated with two of the three external devices. (for ex: Missing TH8800.dll for the thermal chamber or cic_ix50.dll for the California Instruments ix5000 )  cvirte.dll, cvirt.dll, instrsup.dll were also missing as well as a folder named cvirte.  I have installed MAX and it works fine; I can comunicat with all three devices with this computer.  It also has LabVIEW Runtime Engine istalled on it. 
0 Kudos
Message 3 of 6
(3,766 Views)
Glad you got it to work. In the future, you should make use of the Installer option in the app builder. You can include external dll's and apps such as MAX.
0 Kudos
Message 4 of 6
(3,762 Views)
I think you missunderstood me.  I did not get the app to work, but MAX works fine.
0 Kudos
Message 5 of 6
(3,731 Views)
Well, I still don't know how you are communicating to the instruments. For example, you may be using a GPIB connection and MAX will talk to the instruments but if your program uses VISA and that's not installed, your program will not work. You can communicate in MAX but if you are using IVI drivers, then if you don't have the IVI Compliance Package installed, your program will not work. You need to look at max on your pc and see what is installed there and what is not installed on the other pc.
0 Kudos
Message 6 of 6
(3,727 Views)