01-22-2010 07:06 AM
I want to selectively change functionality depending on the LabVIEW Version (Base,FD,Prof).
How can i get the Version at runtime into a conditional disable structure?
01-22-2010 07:25 AM
The App.InstalledPackage property returns a value representing the information you seek, however, this is a private property. You will need to use a case structure with this property as the selector, not a disable diagram structure. There may be a way to determine this with a different property. I won't tell you how to expose private properties beacuse I think NI frowns upon sharing this information (at least on this board [hint]).
01-22-2010 07:36 AM
Because it was already revealed in this forum, I recall by using 'SuperSecretPrivateSpecialStuff=True' in LabVIEW.ini, you could have access to method : App.License where your information is provided.
Moderators, don't hesitate to delete this post if needed.
01-22-2010 07:42 AM
Thanks a lot for this Informations.
The Problem is, that i want to downgrade a VI if there is no FD or Prof Installed.
I use some Math VI´s that shall not be linked if the Version is Base.
This is only possible with the disable Structure, not programmatically because the VI is not executable then.
01-22-2010 07:53 AM
Perhaps an extrem soluce but you could try to extract used function, make dll with your call of unsupported routine. It's long, tiring, delicate, non evolutive but perhaps helped.
No more soluce, sorry.
01-22-2010 08:10 AM
01-22-2010 08:11 AM
01-22-2010 08:19 AM