11-20-2013 08:06 PM
Hi! l am having problem displaying the web page in my labview front panel. Anyone got solution to it?
11-22-2013 02:02 AM
Are you trying to launch IE in a separate window or display it on LabVIEW front panel? Your code seems to do the former. Just make sure that the reference wired to the Invoke Node is correct. You can download and try this example for reference.
For the later case, you can use the ready-made ActiveX Container for Web Browser in the .NET & Active X pallette, as seen below.
Then on the block diagram simply use the property or invoke node you need. Here is an example to simply navigate to a URL:
There is also a downloadable example for this method. Complete description of the properties and methods you can use is available in MSDN.
Finally, ensure that you have internet connection
Regards,
A. Yodha
NI Singapore
11-22-2013 04:37 AM
Hi Yodha,
where do you got that ".Net & ActiveX" palette from?
I can't find it in LV2011 nor is it mentioned in the online LV2013 help...
11-22-2013 05:38 AM
Hi GerdW,
The .Net & ActiveX palette is mentioned in LV2013 Help: "Creating ActiveX Subpalette". The directory in my PC is at [installed directory of LabVIEW 2013]\menus\Controls\DotNet & ActiveX (the same path as in the article).
It is also mentioned in LV2011 Help by the same title.
Looks like the ActiveX Web Browser container I mentioned above can be made using the tool shown in above link, but I am certain that I have never used that to create the subpalette.
Regards,
A. Yodha
NI Singapore
11-22-2013 07:19 AM