02-14-2010 12:58 PM
I have LabVIEW 8.0.1 Base Development System with Application Builder running on Win XP Pro SP3.
The target machine for the application runs Windows Vista with the LabVIEW 8.0.1 run time engine and VISA 4.2 run time.
I have built, uploaded, and executed many revisions of this application with no problem.
The "main program" can launch a "system browser" which is basically a menu of VI's which can be launched to monitor and interact with various parts of the system.
One of the VIs in this menu now throws an Error 1003 "The VI is not executable" at the Invoke Node used to launch it.
The same exact executable works fine on my development PC even when LabVIEW is not loaded and running.
Any ideas why the VI would be executable on one machine but not another when running the same executable?
02-14-2010 01:09 PM
02-14-2010 02:09 PM
I was thinking along the same lines, but I'm having a hard time imagining what could be missing. The VI in question doesn't do anything that the "working" ones don't do; it just uses different data.
This is basically just an MMI that talks via VISA serial to a control system. The menu allows you to look at different portions of the system.
The program is just complex enough so that posting the whole thing would probably be too much and trying to figure out which parts to post is a bit hairy. (Besides, it's kinda ugly).
If I don't get to the bottom of this soon I will post some of the code and cry for help!
02-14-2010 06:52 PM
For what it's worth, the same executable loaded onto a machine running XP Home Edition, and an identical LabVIEW and VISA runtime installation works fine.
When loaded onto yet another Vista machine, this same setup produces different results.
Conclusion - LabVIEW 8.0.1 + Vista = random results.
Anyone got a Linux version of LabVIEW they want to trade?
02-14-2010 07:45 PM
02-15-2010 11:58 AM
I doubt it is related to the VISA version. I only use VISA Configure Serial Port, VISA Read, and VISA Write. All "calls" to these VIs are encapsulated in a single VI "PBus Interface". All VIs in this application use "PBus Interface". Only one of them fails to execute when invoked. This failure only occurs on machines running Vista.
This is truly baffling and headache inspiring; I'm sure it will end up being something stoopid. The easy fix would seem to be replace Vista with XP, that seems to have cured most of my development system woes.
02-15-2010 12:17 PM
02-15-2010 02:13 PM
The program is communicating with the host control system via the serial port essentially trouble free. The only problem is this one VI that LabVIEW claims is not executable when running on Vista.
I'm still having a hard time imagining how that is related to the VISA package. This VI does not directly interact with VISA; only through the above-mentioned PBus Interface VI which works fine everywhere else in the program.
02-15-2010 02:52 PM
02-15-2010 02:56 PM