LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Read data of embedded web page

Hi Wilmer,

attached you will find an example. Maybe it possible to use the embedded webbrowser if the connection is established and the authentication is done. You have to insert a vi which calculate the BASE64 code from the user:password, for the moment i don't have it for LV7.1.

 

Is it a solution for you to work without the embedded webbrowser (do you mean the ActiveX WebBrowser?)?

 

Hope it helps.

Mike

0 Kudos
Message 21 of 37
(2,018 Views)

SSK, I have tried with  but not working.

 

MikeS81, can you give a sample?

0 Kudos
Message 22 of 37
(2,013 Views)

 


@Wilmer wrote:

...

MikeS81, can you give a sample?


 

Hi Wilmer,

what for do you mean?

 

Mike

0 Kudos
Message 23 of 37
(2,007 Views)

Hi MikeS81, I tried to do a test with the VI that you posted, also I encoded the user and pasword en code64, but neither works, the labview preset  code56 Error.

 

0 Kudos
Message 24 of 37
(1,986 Views)

Hi Wilmer,

where do you get error 56? Did you debug it?

If i run the posted vi, then i can get the first page, which states that i am unauthorized. So i think with the correct user and password i would also get the final page.

 

Mike

0 Kudos
Message 25 of 37
(1,974 Views)

Hi MikeS81, the error is on the  401 case, see the attach

0 Kudos
Message 26 of 37
(1,960 Views)

Hi Wilmer,

try to increase the timeout of the read function.

 

Mike

0 Kudos
Message 27 of 37
(1,952 Views)

Hi MikeS81, I did that, to increase the timeout a 25000 but the problem is the same Smiley Mad

0 Kudos
Message 28 of 37
(1,946 Views)

I don't think IE supports usernames and passwords in the URL at this point in time as the default behavior.  The following support document speaks to this and some possible workarounds.  It may be possible to revert to the old behavior if you have access to the machine that is performing the authentication.

 

http://support.microsoft.com/default.aspx?scid=kb;[LN];834489

0 Kudos
Message 29 of 37
(1,939 Views)

Hi Boltzmann, You're right, Windows versions of Internet Explorer from version 6 can not treat user usernames and passwords in HTTP URLs Smiley Sad My IE is version7 !!!

 

But there will ho another method using Labview so you can access a website by entering the username and passwords?

0 Kudos
Message 30 of 37
(1,926 Views)