LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

retreive path from type definition reference

Hi,

 

I have an aplication where I am loading Strict Type Definitions into a Subpanel so that it has becomed a standard editor dialog. My problem is now that I have to get the path to a type definition from a plugin vi. This means that I do not know the path to the type definition only the reference. So how can I get the file path to the type definition from the reference is it possible?

 

I have attached a picture of what I would like to do 

 

Best Regards

 

Jacob Svendsen

 

 

0 Kudos
Message 1 of 4
(2,775 Views)
It is a bit stupid, but with regular LabVIEW this isn't possible. It is
possible with scripting, but that is not a good solution. The last LV
version where scripting was accessible was LV7.1.

In your question you say: "I have an aplication where I am loading Strict
Type Definitions". You should make a buffer (AKA action engine, lv2 style
global) that you use to store the path when you load the type def, and
retreive it when you need it... At the moment you put the type def in the
subpanel, you need to have a VI reference, you could also store this
reference, and get the path from that reference.

Regards,

Wiebe.


Message 2 of 4
(2,746 Views)

Wiebe@CARYA wrote: 
... with regular LabVIEW this isn't possible. It is
possible with scripting,...

Good. I'm not going crazy after all.

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 3 of 4
(2,744 Views)

> Good. I'm not going crazy after all. Ben

Isn't the fact that it isn't possible enough to go crazy?


0 Kudos
Message 4 of 4
(2,735 Views)