NI TestStand Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
smi38

Improvement of LabVIEW Packed Libraries TestStand options

Status: New

Since TestStand 2019, it's possible to configure an action step with a LabVIEW Module to switch between using a source VI and using the same one but compiled into a LabVIEW Packed Project Library (PPL).

The option, accessible in two ways, is called "Always run VI in Packed Project Library".

 

That's a neat possibility since it's allow to switch between a development version with easy debugging of a classical VI, and an optimized and locked production version with PPL.
One non compiled VI
One compiled VI into a PPL
One LabVIEW project
One TestStand step

 

However, when LabVIEW Adapter is set to Run-Time, a tight coupling between the compiled VI and the non-compiled VI is maintained for no reason.

 

Example 1)
-A VI is developed and compiled on a development machine A
-It is called as the module of an action step
-The VI, the PPL, the .lvproj and the .seq are pasted on a production machine B with fresh installations of LabVIEW and TestStand
-LabVIEW Adapter set to Run-Time on machine B
-Always run VI in Packed Project Library set on machine B
--> The execution will not start, since the classical error -17600 appears on the call. The reason is because the LabVIEW cache of the machine B does not contains data from the .lvproj. Simply opening then closing the .lvproj updates the LV cache, which solves the issue. However, it makes no sense to depend of the LabVIEW development environment on this production machine since the LabVIEW Adapter is set to Run-Time and "Always run VI in Packed Project Library" is enabled.

 

Example 2)
-LabVIEW Adapter set to Run-Time
-Always run VI in Packed Project Library
--> If source VI is deleted, it takes a long time to preload the modules. See here

 

Proposition :
When the LabVIEW Adapter is set to Run-Time and "Always run VI in Packed Project Library" is enabled, it should be possible :
- To not install the LabVIEW development environment (only the LV Run-Time)
- To keep only the PPL (and eventually the .lvproj) and to delete the source VI (no source code on production machine)

2 Comments
MaximeR
Active Participant

totally agry with that.

 

Just for to add some infos on the current behavior : Re: Deploy TestStand System and Override Module Settings - NI Community

Maxime R.  

  CLA - Certified LabVIEW Architect / Architecte LabVIEW Certifié
  CTA - Certified TestStand Architect / Architecte TestStand Certifié

smi38
Member


Hi,

 

A big update :

 

I am a user of LV 2020 and TS 2020, for fun I tried TS 2022 Q4.

 

I am very confused : in this 2022 Q4 version, and with the following combination :

-a LV step configured with a .lvproj an PPL override

-LV Adapter configured on Runtime + always use VIs in Packed Project Library

 

--> each time the execution starts, it launches the LabVIEW Development System

--> each time the execution starts, if the LabVIEW Development System is not installed it throws an error

 

My conclusion is that its' even worse than the TS 2020 version, where, at least, the LabVIEW Development System is not launched with this combination.

 

I hope that there is some plans to fix this, because it sounds like a big annoying bug to me.

 

Regards

 

Sébastien