キャンセル
次の結果を表示 
次の代わりに検索 
もしかして: 

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 件の賞賛
メッセージ1/14
3,940件の閲覧回数
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 件の賞賛
メッセージ2/14
3,937件の閲覧回数

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 件の賞賛
メッセージ3/14
3,929件の閲覧回数

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 件の賞賛
メッセージ4/14
3,917件の閲覧回数
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 件の賞賛
メッセージ5/14
3,913件の閲覧回数

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 件の賞賛
メッセージ6/14
3,885件の閲覧回数
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 件の賞賛
メッセージ7/14
3,881件の閲覧回数

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 件の賞賛
メッセージ8/14
3,867件の閲覧回数
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 件の賞賛
メッセージ9/14
3,860件の閲覧回数
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 件の賞賛
メッセージ10/14
3,857件の閲覧回数