07-19-2021 09:40 PM
I just noticed this post:
I've got two ideas:
Is there anything more direct?
Solved! Go to Solution.
07-20-2021 05:59 AM
I fail to understand what the problem is that you are trying to solve. Are you trying to detect if code is in a PPL? Or are you trying to get a path the a VI?
07-20-2021 08:42 AM
"Running from a packed project library" and "Running from run time engine" are not mutually exclusive.
You can use a PPL from RTE or development environment.
So, PPL Y\N and RTE Y\N gives 4 combinations, and all 4 can happen.
07-20-2021 10:26 AM - edited 07-20-2021 10:30 AM
The App.Kind Propery Node returns:
07-20-2021 05:22 PM
wiebe@CARYA wrote:
"Running from a packed project library" and "Running from run time engine" are not mutually exclusive.
You can use a PPL from RTE or development environment.
So, PPL Y\N and RTE Y\N gives 4 combinations, and all 4 can happen.
Yes, that's correct. I was looking for something to let me distinguish the 4 possible states.
My call chain search to detect the PPL seems to be working but it felt very kludgey. and I was hoping someone had a more direct way.
@RTSLVU wrote:
The App.Kind Propery Node returns:
- Development System
- Run Time System
- Student Edition
- Embedded LabVIEW (includes RT)
- Evaluation
- Custom
- (0) Invalid App Kind
Yes, that looks like a good way to get the RTE status. Thanks!
07-21-2021 03:43 AM
@nanocyte wrote:
wiebe@CARYA wrote:
"Running from a packed project library" and "Running from run time engine" are not mutually exclusive.
You can use a PPL from RTE or development environment.
So, PPL Y\N and RTE Y\N gives 4 combinations, and all 4 can happen.
Yes, that's correct. I was looking for something to let me distinguish the 4 possible states.
My call chain search to detect the PPL seems to be working but it felt very kludgey. and I was hoping someone had a more direct way.
@RTSLVU wrote:
The App.Kind Propery Node returns:
- Development System
- Run Time System
- Student Edition
- Embedded LabVIEW (includes RT)
- Evaluation
- Custom
- (0) Invalid App Kind
Yes, that looks like a good way to get the RTE status. Thanks!
For the other property, this seems promising:
07-21-2021 06:41 AM
wiebe@CARYA wrote:For the other property, this seems promising:
That is the property I use in my Class Factory to determine if I am using a PPL or not. I am then getting the folder of the library/PPL in order to load up the desired class using a relative path (relative to the parent class's path).