LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Saving vi during its execution? Is it possible?

Solved!
Go to solution

Hello there,

In my application i have multicolumn listbox. During execution of the program I prepared option to add new items to the listbox. Then when I stop application, close project and run it again I don't have added item. 
One way is to save changes after the application stop before closing project. But I wonder if there is any way to save changes during VI execution?

Thanks in advance,
Cheers,

Mat

0 Kudos
Message 1 of 5
(2,510 Views)
Solution
Accepted by topic author mgolec

Hi Mat,

 

when you want to save data/information you actually have to save them…

 

Save your listbox content in a file and load that file on startup your your application!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 5
(2,506 Views)

Thank you for answer GerdW. It's some kind of solution for this specific case.


But I would like to know also if it is possible to save VI during its execution somehow?

Cheers,

Mat

0 Kudos
Message 3 of 5
(2,485 Views)
Solution
Accepted by topic author mgolec

Hi Mat,

 

if it is possible to save VI during its execution somehow?

To save a VI it has to be

1) in editing mode (i.e. not executing) and

2) opened in the IDE.

Point 1 does not apply to a running VI and point 2 does not apply to a VI in an executable…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 5
(2,482 Views)

Thank you a lot.

Have a nice day!

Cheers, Mat

0 Kudos
Message 5 of 5
(2,474 Views)