NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

VI is not loadable

 

I am looking at migration of TestStand 4.1.1 to TestStand 2010 and also custom vi's from LabView 8.6.1 to LabView 2010 at same time as migrating from XP to Windows 7 64 bit.
Initial experiments with a clean install of LV 2010 and TS 2010 have thrown up some issues but a fundamental one is loading any vi using the 2010 LV Runtime engine.
If I try to load a custom dialog vi in an action step I get:
"Message     : Module for Step 'Action' not Loadable. Failed to load VI <vi path> in the LabVIEW Run-Time Engine version '10.0'. 

LabVIEW:  VI is not loadable.

In a built application, this error might occur because the VI being loaded was last compiled for a different OS, in which case you must save the VI on the current platform. This error also might occur if the VI is a polymorphic VI, which cannot be loaded in the LabVIEW Run-Time Engine. You must load an instance of the polymorphic VI instead of the polymorphic VI itself.

An error occurred loading VI 'Continue.vi'. LabVIEW load error code 1: LabVIEW load error code %ld: %p

VI Path: <vi path>
File        : <seq path>
Location    : Seq["MainSequence"].Main["Action"].TS.SData
Rule        : Code modules must be able to load
Description : TestStand must be able to load all code modules without error. TestStand reports errors at run time when it
fails to load a code module.  Correct this problem by editing the step in the sequence editor."
LV 8.6 VI's which were callable in TS 4.1.1 all come up with this error despite being resaved for LV2010.
Likewise attempting to load a newly created 2010 dialog vi with no legacy dependencies gets the same error.
If I switch the LV Adapter config to Development System it works. 
That said, the Development System radio button in the Adapter dialog says (Active Version: Unknown or Not Installed(32-bit)) for some reason even though it is installed.
I'm probably missing something basic here (32/64 bit version issues perhaps) - any ideas?

 

0 Kudos
Message 1 of 18
(6,425 Views)

Although it doesn't specifically refer to your problem, make sure you have the patch (LabVIEW 2010 F2 installed)

 

 

Regards
Ray Farmer
0 Kudos
Message 2 of 18
(6,410 Views)

I ran the update service when I installed LabView 2010 - I currently have Version 10.0f2 (64-bit).

 

TestStand version is 2010 (4.5.0.310) -  having just applied the latest patch. Still have the problem.

0 Kudos
Message 3 of 18
(6,406 Views)

There is a patch for TestStand 2010 but I think thats something to do with .NET

 

Make sure all VI's are at the same LV version, include the VI's in the TestStand folders.

 

 

 

Regards
Ray Farmer
0 Kudos
Message 4 of 18
(6,403 Views)

Please can you clarify - can I narrow down from 'all VI's'?

 

There are about 100 vi's under TestStand - some are 8.6, and many have referenced vis missing etc when I open them.

 

Moreover there are several thousand other vi's on the system, most of which are still 8.6 and just sitting there not being used. I hope I can leave these alone for now?

 

If you mean all vi's loaded by the sequence - I can try to load one newly created trivial dialog vi which has no sub vi and it still has the load error.

 

Thanks.

0 Kudos
Message 5 of 18
(6,394 Views)

You could get a way with just those in your project but also you need to include any that are dynamically loaded including any of their subvis. Those in the TestStand folder under the Adapter support area should be mass compiled and hopefully any subvi will be captured. If you are just using the SeqEditor then you can ignore the OperatorInterface area as well as the examples folder. There probably isn't any VI's in the components area except for the Adapter support folder (I actually can not remember where these are in TestStand folders but you should be able to easily track these down.)

hope this helps

Regards
Ray Farmer
0 Kudos
Message 6 of 18
(6,393 Views)

Attempting mass compile in \AdapterSupport\LabView I get errors including GetStepName.vi not finding "TestStand - Get Property Value (Object).vi" - am I perhaps missing some install option?


#### Starting Mass Compile: 14 Dec 2010 11:51:02
  Directory: "C:\Users\Public\Documents\National Instruments\TestStand 2010\AdapterSupport"
CompileFolderCore: error 8 at C:\Users\Public\Documents\National Instruments\TestStand 2010\AdapterSupport\LabVIEW\LabVIEW Class Tokens Cache - TestStand.llb
CompileFolderCore: error 8 at C:\Users\Public\Documents\National Instruments\TestStand 2010\AdapterSupport\LabVIEW\TestStand - Create Express VI Wrapper.llb
CompileFolderCore: error 8 at C:\Users\Public\Documents\National Instruments\TestStand 2010\AdapterSupport\LabVIEW\TestStand - Default Values 71.llb
CompileFolderCore: error 8 at C:\Users\Public\Documents\National Instruments\TestStand 2010\AdapterSupport\LabVIEW\TestStand - Default Values 80.llb
CompileFolderCore: error 8 at C:\Users\Public\Documents\National Instruments\TestStand 2010\AdapterSupport\LabVIEW\TestStand - Default Values 82.llb
CompileFolderCore: error 8 at C:\Users\Public\Documents\National Instruments\TestStand 2010\AdapterSupport\LabVIEW\TestStand - Default Values 85.llb
CompileFolderCore: error 8 at C:\Users\Public\Documents\National Instruments\TestStand 2010\AdapterSupport\LabVIEW\TestStand - Default Values 86.llb
CompileFolderCore: error 8 at C:\Users\Public\Documents\National Instruments\TestStand 2010\AdapterSupport\LabVIEW\TestStand - Default Values 90.llb
CompileFolderCore: error 8 at C:\Users\Public\Documents\National Instruments\TestStand 2010\AdapterSupport\LabVIEW\TestStand - Read Express Menus.llb
Search failed to find "TestStand - Get Property Value (Object).vi" previously from "<vilib>:\AddOns\TestStand\_TSUtility.llb\TestStand - Get Property Value (Object).vi"
  ### Bad VI:    "GetStepName.vi"    Path="C:\Users\Public\Documents\National Instruments\TestStand 2010\AdapterSupport\LabVIEW\GetStepName.vi"
#### Finished Mass Compile: 14 Dec 2010 11:51:05

0 Kudos
Message 7 of 18
(6,391 Views)

do you have "<vilib>:\AddOns\TestStand" folder in your LabVIEW 2010?

 

Regards
Ray Farmer
0 Kudos
Message 8 of 18
(6,383 Views)

No -  \addons\TestStand is not present. How is that normally installed?

0 Kudos
Message 9 of 18
(6,370 Views)

Usually when you install TestStand and have opted for anything to do with LabVIEW. which did you install first TestStand or LabVIEW.

Regards
Ray Farmer
0 Kudos
Message 10 of 18
(6,368 Views)