LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Closing and reopening a web browser instance in a .NET container.

I am currently working in LabVIEW 8.5 and using a .NET container with an embedded web browser to access a set of URLs.
 
Initial tests in navigating to each of the URLs using this embedded browser seemed to work whenever I ran the VI on its own, but I encountered problems once the VI was being used as a subVI in a larger piece of software.  When the full system is running, the first URL accessed by the embedded browser loads correctly.  When accessing other URLs after the first, data from the previous URL is retained and displayed in the embedded browser (I am assuming this is due to some sort of caching).  Simply refreshing the browser can update the information successfully, but not in all situations.
 
I have been testing (in parallel) these URL accesses using a standard Internet Explorer window and have encountered the exact same problems, so the issue does not appear to be with LabVIEW.  I have found that if the IE window is closed and reopened, the next URL can be accessed successfully.  I have been trying to find a way of 'closing' (disposing??) the browser embedded in the LabVIEW .NET container, and then 'reopening' (reinserting??) it in order to remove any information retained from the previously accessed URL.  I have so far been unsuccessful in finding a way 'closing' and 'opening' the embedded web browser and any help or suggestions would be very welcome.
 
 
0 Kudos
Message 1 of 2
(2,794 Views)
 

Hi,

Have you tried using any Property Nodes or Invoke Nodes to do this? More information is located here.

Amanda Howard
Americas Services and Support Recruiting Manager
National Instruments
0 Kudos
Message 2 of 2
(2,766 Views)