LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Distribution executable on target machine throws error 1003 when Invoke Node used to launch VI but works fine on my machine.

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?

 

----------------------------------
LabVIEW 8.0.1; WinDoze XP
aut viam inveniam aut faciam
0 Kudos
Message 1 of 14
(3,661 Views)
It is probably missing a function that is not part of the runtime engine. You have not posted the VI in question so all anyone can do is speculate. Perhaps it is using one of the analysis functions and you don't have lvanlys.dll installed?
0 Kudos
Message 2 of 14
(3,658 Views)

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!

----------------------------------
LabVIEW 8.0.1; WinDoze XP
aut viam inveniam aut faciam
0 Kudos
Message 3 of 14
(3,650 Views)

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?

----------------------------------
LabVIEW 8.0.1; WinDoze XP
aut viam inveniam aut faciam
0 Kudos
Message 4 of 14
(3,638 Views)
Did not pick up the fact that you were running on Vista. Probably need a version of NI-VISA that is supported there. Try the latest version.
0 Kudos
Message 5 of 14
(3,634 Views)

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.

 

 

----------------------------------
LabVIEW 8.0.1; WinDoze XP
aut viam inveniam aut faciam
0 Kudos
Message 6 of 14
(3,606 Views)
If VISA is not correctly installed on your Vista pc, it would certainly be related. You've had plenty of time to download a supported version of VISA but for some reason you are not willing to try? You should also have installed MAX. Can you communicate through that and the VISA I/O Assistant? That would be a basic troubleshooting tool you could use.
0 Kudos
Message 7 of 14
(3,602 Views)

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.

 

 

----------------------------------
LabVIEW 8.0.1; WinDoze XP
aut viam inveniam aut faciam
0 Kudos
Message 8 of 14
(3,588 Views)
You are the one that said the broken VI uses VISA - no me. If it doesn't use VISA, then obviously there would be no point in installing a working version. If your original statement is true and it does use VISA, then obviously installing a working version of VISA would be relevant. Since you refuse to attach the broken VI and refuse to even try a supported version of VISA, what do you want anyone to do?
0 Kudos
Message 9 of 14
(3,581 Views)
My last post has the complete source distribution.  It's not pretty, but that isn't the goal...yet.
----------------------------------
LabVIEW 8.0.1; WinDoze XP
aut viam inveniam aut faciam
0 Kudos
Message 10 of 14
(3,578 Views)