03-24-2020 11:57 AM
I am programming an interface for a spectrum analyser. This spectrum analyser comes with a web interfaces, that shows the display of the device. It can be accessed via http://10.117.12.135/Agilent.SA.WebInstrument/Screen.png
I would like to include and update this picture within my VI to see what's happening on the device.
I found this post and wanted to write something similar, i.e. download the picture and send it to an Image object. However, I can't find a way to change the picture by code.
Is this something that is not implemented in NXG yet? Any other ideas on how to solve this?
04-27-2020 11:53 AM
Have you tried using the URL Image Control and its properties? https://www.ni.com/documentation/en/labview/4.0/class-ref/urlimage-class/
04-27-2020 12:12 PM
Thanks for your reply! The class looks promising. Unfortunately, it is only available in web applications.
04-27-2020 01:33 PM
Ah, right you are. While the URL Image Control isn't supported in the desktop case today, in LabVIEW NXG 5.0 (shipping in late May) we are introducing a Set Image method that will allow you to programmatically set the image path to an image object on the front panel.