Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with running LabVIEW executable on target computer

I'm in the process of creating an executable application for LabVIEW 8.5 from an existing, fully-functional VI that's been in use for quite a while  After creating the .exe file, I can run it on the host computer without any problems, but when I transfer it onto the target computer, the VI will open correctly but I can't get any signal from the pump controller I'm interfacing it with.  My connection is a 25-pin RS-232 on the pump controller to a USB/RS-232 converter to the USB connection on my computer.  The connections are identical between the host and target computers - I even manually changed the COM ports so that each computer is connected to the controller through COM1.  The only file I manually added to the .exe was the main VI, although there are several custom sub-VIs present within it (namely an ISCO Read-Write VI).  I assumed these sub-VIs would be packaged into the .exe along with the main VI, but I may be incorrect.  I also tried creating an installer, but got the same result.  I'm reasonably familiar with LabVIEW programming but not to the point where I'm comfortable dealing with the VISA interface.   Any suggestions are welcomed and greatly appreciated, as this is getting frustrating and time is becoming a factor.  Thanks!
0 Kudos
Message 1 of 2
(3,255 Views)
When you created the installer, did you include the NI-VISA run-time? Did you include MAX? Did you export the hardware config from MAX and did you include this file with the installer?
0 Kudos
Message 2 of 2
(3,251 Views)