09-10-2010 10:25 AM
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
09-10-2010 10:52 AM
"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.
09-11-2010 02:55 AM
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
09-13-2010 02:11 AM
Wilmer,
If you look at the image in post number 2, simply replace the url string with the usrl show two posts above.
09-13-2010 05:16 PM - edited 09-13-2010 05:17 PM
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?
09-14-2010 02:38 AM - edited 09-14-2010 02:42 AM
09-14-2010 05:56 AM - edited 09-14-2010 05:57 AM
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
09-14-2010 06:09 AM
We really need the username & password to test from labview but guess it is not a good idea to post that on here!!
09-14-2010 07:01 AM
not if it is a private site.. otherwise everyone in the world will have access to the username and password.. 😉
09-14-2010 10:42 AM
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?