02-12-2021 04:16 PM
Does anybody have code, or know how to view in real-time a web page on the front panel, which does not use ActiveX?
thanks.
02-12-2021 06:29 PM - edited 02-12-2021 06:29 PM
Does .NET count or is that also not allowed?
https://docs.microsoft.com/en-us/dotnet/api/system.windows.forms.webbrowser?view=netframework-4.8
Example VI attached.
Is there a reason you don't want to use the ActiveX one? It might help if you tell us the reason behind the "no ActiveX" need, rather than just jumping to the question.
02-12-2021 07:09 PM
Thanks for the example VI.
I tried running the VI but it did not load since I am using Labview 2014, which is older than the version of Labview in which the VI was saved. Is it possible to save the VI so that I can read it in Labview 2014.
I have tried ActiveX to display the web page I want to access, but this does not work since the web page is not compatible with Internet Explorer. When I try to open the web page with ActiveX, I receive the following message: IE no longer supported. Please use Google Chrome.
The web page I want to access displays the live video feed from a wireless IP camera. The camera is an Amcrest IP2M-841B-V3. I want to grab an image at regular time intervals, every 1 second, with Labview and do some image processing as well as save the results. So I also need to be able to convert the image into a 2d data array.
08-08-2021 07:06 AM
I too have a same request. But I cannot use ActiveX and .Net, I am running the Labview in Linux. So I cannot use the dll/activex/.net.
Please suggest me some solution.
Thanks
08-08-2021 08:31 AM
There is no common embedding standard like ActiveX or .Net containers on Linux (and no .Net Core doesn’t support it either) so there is no simple solution for this.
While technically possible it is hampered by many difficulties and would require accessing XWindows low level functions through Call Library Nodes, likely a project of several man weeks to integrate something like the Chromium Embedded Framework (CEF) in LabVIEW. And it certainly would require writing an additional external shared library in C(++) to call from LabVIEW, since the CEF is C++, which you can’t directly call from mon C++ code,.
So how many k$ is such a solution worth to you? 😀