LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Save sub-vi's (possibly closed) front panel image to a file

Hello,


I would like to dump a file of a sub-vi's front panel when that sub-vi completes execution. I was thinking of using the  "Front Panel:Get Image Method", however the target sub vi's front panel might not be opened. I am looking through the help file, and it says

 

"If you do not want to display the front panel but want the image to reflect value changes, create a Property Node from any front panel terminal on the block diagram of the VI for which you want to create a front panel image."

 

I'm not quite sure I understand what that means. Can anyone provide an example?

 

I am running LV 8.2 for the record.

 

Thanks,

-Ted

0 Kudos
Message 1 of 3
(2,551 Views)

Hi Ted,

 

 "If you do not want to display the front panel but want the image to reflect value changes, create a Property Node from any front panel terminal on the block diagram of the VI for which you want to create a front panel image."

 

What that means is to create a property node for something (anything) in your Sub-VI.  

 

I have attached an example for you with a dummy property node. And the front panel of the Sub-VI gets updated on the Main-VI. Try removing the property node in the Sub-VI and you will notice that even though the values are correct in the main-vi, the image of the sub-vi doesn't get updated. 

 

Hope this helps!

Warm regards,
Karunya R
National Instruments
Applications Engineer
Download All
0 Kudos
Message 2 of 3
(2,531 Views)

Karunya_R wrote:

Hi Ted,

 

 "If you do not want to display the front panel but want the image to reflect value changes, create a Property Node from any front panel terminal on the block diagram of the VI for which you want to create a front panel image."

 

What that means is to create a property node for something (anything) in your Sub-VI.  

 

I have attached an example for you with a dummy property node. And the front panel of the Sub-VI gets updated on the Main-VI. Try removing the property node in the Sub-VI and you will notice that even though the values are correct in the main-vi, the image of the sub-vi doesn't get updated. 

 

Hope this helps!


"anything" translates as any FP object I hope. There are property nodes avaiable for the VI itself that will not trigger a update of the FP.

 

Just trying to keep the record straight,

 

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 3
(2,528 Views)