LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

labview integrated web browser

Dear All,

 

Hi, I'm am trying to use the following method to programmaticaly control my DUT, it is controlled by web interface:

https://decibel.ni.com/content/docs/DOC-25396

 

after a few experiment, i noticed the busy flag does not always operational, meaning sometimes it may just exit the busy looping even thought visually i saw the website is still loading, and thus the subsequent activity are not working anymore,

 

i tried to add delay before the busy looping, but i dont find a really solid solution to make sure my web page is fully loaded before go to the next step.

would you please share your idea if you happen to work on similar situation before?

 

 

Thanks

0 Kudos
Message 1 of 2
(3,581 Views)

I would suggest using the .NET browser instead of the ActiveX one. It seems simpler and it includes a bunch of events, which can also tell you when the loading finished. You can see a crude example here - http://forums.ni.com/t5/LabVIEW/Mouse-event-in-embedded-internet-explorer/m-p/2853528#M832248

 

Note that the example only shows what you need, not how to actually use it. Events from .NET are handled using callback VIs, so you will need to learn how to use those. My suggestion would be to create a user event, register for it in your main VI and then trigger it in the callback VI.


___________________
Try to take over the world!
0 Kudos
Message 2 of 2
(3,560 Views)