From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Runtime required for Packed Project Library use

Solved!
Go to solution

I have created a packed project library for deployment to a customer, built in LV 2015 (version 15.0f2).  My build machine shows that runtime 2015 SP1 f10 is installed.  My customer is running LV 2016 but also has the same 2015 runtime installed.  My understanding was that this should enable them to use the PPL.  However, when they try to add one of the public VIs from the PPL to the block diagram of a new VI, they receive the message "You cannot open a packed library saved in a version earlier than the current version of LabVIEW".

 

Does this mean my understanding is wrong, or have I not built against the runtime I think I have?  Is it possible to query a PPL and find which runtime it expects?

 

Thanks,

Andy

0 Kudos
Message 1 of 6
(3,467 Views)
Solution
Accepted by topic author PsyenceFact

When you are running LabVIEW 2016, the 2015 RTE will not be used.  Put another way, the caller has to be in a compatible version of LabVIEW as the VI being called.  I recommend you just recompile your PPL in 2016.

 

I have not tried it yet, but this issue should be reduced in LabVIEW 2017 with a new build option to allow to run in newer runtime engines.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 2 of 6
(3,460 Views)

Thanks for the reply, crossrulz.

 

Yes, that makes sense.  I suppose the 2015 RTE allows executables compiled in LV2015 to be used on that machine, but when LV2016 is actually running that's what gets used.

 

I think I can use a regular library with password protection but I'll have to look at ways of preventing the customer from seeing the diagrams of anything.

0 Kudos
Message 3 of 6
(3,450 Views)

@crossrulz wrote:

When you are running LabVIEW 2016, the 2015 RTE will not be used.  Put another way, the caller has to be in a compatible version of LabVIEW as the VI being called.  I recommend you just recompile your PPL in 2016.

 

I have not tried it yet, but this issue should be reduced in LabVIEW 2017 with a new build option to allow to run in newer runtime engines.


Exactly!  the 2016 development environment cannot load the "Single compiled file" known to you as "MyPPL" 

 

With 2017 and later..... you CAN select a PPL build option to allow future versions of the Run Time Engine to load "MyPPL" crossrulz hasn't tried it- I haven't tried it...... Well, unless you are on a BETA post 2017 LabVIEW version... Well, lets just say, "Nobody has tried it with a released LabVIEW version"

 

Spoiler
Coming SOON to an IDE near you!

"Should be" isn't "Is" -Jay
Message 4 of 6
(3,445 Views)

@PsyenceFact wrote:

Thanks for the reply, crossrulz.

 

Yes, that makes sense.  I suppose the 2015 RTE allows executables compiled in LV2015 to be used on that machine, but when LV2016 is actually running that's what gets used.

 

I think I can use a regular library with password protection but I'll have to look at ways of preventing the customer from seeing the diagrams of anything.


Just "Upcharge" for the "Delivered Source"  And save us here from tring to solve the bug you wroteSmiley Very Happy  (Yeah, I don't write bugs either)


"Should be" isn't "Is" -Jay
0 Kudos
Message 5 of 6
(3,443 Views)

@JÞB

Just "Upcharge" for the "Delivered Source"  And save us here from tring to solve the bug you wroteSmiley Very Happy  (Yeah, I don't write bugs either)


So far the project requirements have followed the path of "Build us a DLL!  No, scrub that, a packed library!  Oh no, hang on, a regular library with some sort of protection!  What do you mean the customer gets the source code?"  Fortunately I'm charging by the hour.

 

I need to look at ways of making the maintaining of password-protected libraries containing password-protected VIs a more hassle-free activity.Smiley Frustrated

0 Kudos
Message 6 of 6
(3,396 Views)