LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW 2009 Executable will not Manually Load VIs

Solved!
Go to solution

Prior to LabVIEW 2009 I've been able create an executable that contained a main VI that was empty. When this executable was run, I could open other VIs on the system through File -> Open of the empty main VI. I used this to check llb distributions for missing/misbehaving VIs on systems with just the LabVIEW runtime. Now in LV2009 when I load a VI through this method ... nothing. No Load. No Error. NOTHING. Smiley Mad

 

"Feature" or bug?

0 Kudos
Message 1 of 5
(3,650 Views)

That's a shame.  I frequently use the same "technique" to debug executables which crash during remote debugging (which seems to happen _way_ too frequently in 8.6.1).

 

If this feature is missing from 2009, I hope the remote debugger has become much more reliable.

 

Mark Moss

Electrical Validation Engineer

GHSP

0 Kudos
Message 2 of 5
(3,636 Views)
Solution
Accepted by topic author Gleichman

I haven't tried to reproduce this, but would a valid workaround be to add a couple of functions to the stub executable to do the following?

 

  • File Dialog to browse for VI
  • Open VI Reference
  • FP.Open method
Jarrod S.
National Instruments
Message 3 of 5
(3,629 Views)
Thanks Jarrod that works. Any idea why the old method stopped working?
0 Kudos
Message 4 of 5
(3,608 Views)

It must have something to do with the VIs being in LLBs. It works fine if the VIs aren't in LLBs, which doesn't help your source distribution test case much.

 

I filed CAR# 195931 to R&D regarding this issue.

Jarrod S.
National Instruments
0 Kudos
Message 5 of 5
(3,575 Views)