LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Read data of embedded web page

Hi MikeS81, how I can monitor the communication between my device and my pc if I am connecting  per browser? What tools I can use? 

 

If not too much to ask you, could you give me an example (VI) where I can connect to a my device using my PC and Labview and where I can send my  USER and PASSWORD

 

0 Kudos
Message 11 of 37
(1,888 Views)

"where I can send my  USER and PASSWORD"

 

To specify a username and password in the URL, all you would do is use a URL such as the following:

 

http://username : password @ url.com

 

(remove the spaces)

 

I would then use the Internet Toolkit with HTTP Get Document, with a url in the format above.

 
0 Kudos
Message 12 of 37
(1,882 Views)

Hi Wilmer,

you can use wireshark to monitor the data.

What type of password input is it? Do you get a message box generated from the browser or is it a build in field inside the webpage?

 

Mike

0 Kudos
Message 13 of 37
(1,871 Views)

Wilmer,

 

If you look at the image in post number 2, simply replace the url string with the usrl show two posts above.

0 Kudos
Message 14 of 37
(1,850 Views)

 Thank you all for your suggestion, but this does not work,  when I use the Explorer and try to enter the page web  I get message box generated from the browser (see attach). how I can enter the user name and the pasword using Labview?

 

0 Kudos
Message 15 of 37
(1,832 Views)

Have you tried the following URL:

 

23768iB7B9302200AC3E8E 

 

0 Kudos
Message 16 of 37
(1,811 Views)

Hi ssk,

you can try it yourself, it's a public address. Unfortunately it doesn't work.

 

@Wilmer

Maybe it is a solution to simulate the key press events you need to insert the data. Or you read the handle from the window, and the handles from the controls of the two inputs you need. If you have them, you can write the data you need into it.

 

Mike

0 Kudos
Message 17 of 37
(1,802 Views)

We really need the username & password to test from labview but guess it is not a good idea to post that on here!!

0 Kudos
Message 18 of 37
(1,796 Views)

not if it is a private site.. otherwise everyone in the world will have access to the username and password.. 😉

0 Kudos
Message 19 of 37
(1,789 Views)

It should work to specify the username and password in the URL as has been posted before.  If you attempt passing the username and password in the url string in your browser, does that work?

 

Try running wireshark on your computer and compare a login with the dialog box with an attempt using the URL with username and password.

 

Finally, can you show us some of the code that you have tried?

0 Kudos
Message 20 of 37
(1,773 Views)