LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Saving for the Desired Version of LabVIEW

Place the attached VI in all of your  ...\LabVIEW 20??\project\  folders.

(it's a good idea to compile each one in the corresponding version of LV; or just mass compile the folder).

Now when you run LabVIEW, you will have menu item: Tools -> Save - Retain LV Version...

When you select that menu item, it will save the current VI for whichever version of LabVIEW it was last saved for.

Message 1 of 27
(588 Views)

@paul_a_cardinale wrote:

Place the attached VI in all of your  ...\LabVIEW 20??\project\  folders.

(it's a good idea to compile each one in the corresponding version of LV; or just mass compile the folder).

Now when you run LabVIEW, you will have menu item: Tools -> Save - Retain LV Version...

When you select that menu item, it will save the current VI for whichever version of LabVIEW it was last saved for.


I will really appreciate if you will be able to implement the same for LabVIEW Snippets (I mean Edit->Create VI Snippet from Selection - Retain LV Version)...

0 Kudos
Message 2 of 27
(539 Views)

@Andrey_Dmitriev wrote:

@paul_a_cardinale wrote:

Place the attached VI in all of your  ...\LabVIEW 20??\project\  folders.

(it's a good idea to compile each one in the corresponding version of LV; or just mass compile the folder).

Now when you run LabVIEW, you will have menu item: Tools -> Save - Retain LV Version...

When you select that menu item, it will save the current VI for whichever version of LabVIEW it was last saved for.


I will really appreciate if you will be able to implement the same for LabVIEW Snippets (I mean Edit->Create VI Snippet from Selection - Retain LV Version)...


As far as I can tell, there is no way to programmatically create a Snippet.

0 Kudos
Message 3 of 27
(524 Views)

@paul_a_cardinale wrote:

@Andrey_Dmitriev wrote:

@paul_a_cardinale wrote:

Place the attached VI in all of your  ...\LabVIEW 20??\project\  folders.

(it's a good idea to compile each one in the corresponding version of LV; or just mass compile the folder).

Now when you run LabVIEW, you will have menu item: Tools -> Save - Retain LV Version...

When you select that menu item, it will save the current VI for whichever version of LabVIEW it was last saved for.


I will really appreciate if you will be able to implement the same for LabVIEW Snippets (I mean Edit->Create VI Snippet from Selection - Retain LV Version)...


As far as I can tell, there is no way to programmatically create a Snippet.


I will carefully say: "impossible is nothing", the snippet is just regular PNG with VI placed into custom data private chunk, but yes, at least not trivial.

0 Kudos
Message 4 of 27
(518 Views)

@paul_a_cardinale wrote:

@Andrey_Dmitriev wrote:


I will really appreciate if you will be able to implement the same for LabVIEW Snippets (I mean Edit->Create VI Snippet from Selection - Retain LV Version)...


As far as I can tell, there is no way to programmatically create a Snippet.


There is the 'Code Capture Tool' which can create snippets. Not a 'one node' solution, but a starting point.

 

https://lavag.org/files/file/63-code-capture-tool/ 

https://www.vipm.io/package/lava_lib_code_capture_tool/?utm_source=vipm_desktop 

 

0 Kudos
Message 5 of 27
(508 Views)

I downloaded and attempted to open "Save - Retain LV Version.vi" in LabVIEW 2019.  It appeared to "lock" LabVIEW -- the screen flickered briefly, a LabVIEW icon appeared on the Task Bar, but I couldn't open anything, couldn't get LabVIEW to respond, and had to resort to killing LabVIEW.exe.

 

I'm assuming that this is not "protected" code, and isn't supposed to simply hang LabVIEW if opened.  I'll note that I didn't exactly follow your instructions -- I had not put it inside an existing LabVIEW Project, but just tried to open it as though it was a stand-alone VI (still residing in my "Downloads" folder).  I also assumed that since you mentioned "LabVIEW 20??", it should have worked if I opened it with LabVIEW 2019.

 

I look forward to your comments.

 

Bob Schor

0 Kudos