09-18-2008 11:18 AM
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
09-19-2008 12:35 PM
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!
09-19-2008 12:57 PM
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