LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to web publish hidden panels?

Accessing hidden front panels via web browser doesn't seem to be useful (at least with version 7.1).
The panel is remotely opened (monitor mode) but it's not updated until it becomes visible on the server. Clearly, the panel image doesn't get updated beacuse the fp is hidden.
Do you know any trick or any later version that makes this possible? I don't need user interaction, only showing data.

Thanks
Paolo
-------------------
LV 7.1, 2011, 2017, 2019, 2021
0 Kudos
Message 1 of 4
(2,553 Views)
Ok, I almost managed to solve my problem by generating periodically pictures of the front panel (method Get Panel Image) into the www directory and then loading the image  remotely. I used a Java script to obtain an auto-refreshing page on the client side.
Quite curiously, the LabView help seems to deny that this is a possible way to go (black underlines are by me):

Get Panel Image Method

Method of VI.

Returns an image of the front panel. Use the Get Panel Image Scaled method to return an image of the front panel and scale it proportionally according to the maximum width and height you wire to the method. If a front panel is not visible, LabVIEW does not update the values in the objects on the front panel. If you call a VI whose front panel is not visible and you use the Get Panel Image method to create an image of the front panel, the image does not reflect any value changes that occurred when you ran the VI.

If you want the image to reflect value changes, make sure the front panel is open before any values change. If you do not want to display the front panel but want the image to reflect value changes, wire a Property Node to any front panel terminal on the block diagram of the VI for which you want to create a front panel image.

end of help

Probably, the key is in the second underlined statement, but I don't understand  it: wire a Property Node to any terminal? with what property?





Paolo
-------------------
LV 7.1, 2011, 2017, 2019, 2021
0 Kudos
Message 2 of 4
(2,532 Views)
Hello Paolo,
 
In this case there is no way to make value changes effective on a hidden front panel object without making it visible. I suggest to look at this document to get some advice in solve your issue:
 
 
Regards
Matteo
0 Kudos
Message 3 of 4
(2,512 Views)
Hello Matteo, thank you for the help. I will try this way.
Paolo
-------------------
LV 7.1, 2011, 2017, 2019, 2021
0 Kudos
Message 4 of 4
(2,481 Views)