LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 
Reply

Login and Retrieve Data From Website Using Labview

Highlighted

Login and Retrieve Data From Website Using Labview

I am trying to login into a given website and retrieve three results. I can auto fill the Username and Password, but cannot submit the login information. I have tried from examples here, but cannot get over the hurdle. After, I do login I would like to read back from the embedded web browser three results into three separate strings. I am using LabView 2016. Any help would  be appreciated.  

0 Kudos
Message 1 of 4
(676 Views)

Re: Login and Retrieve Data From Website Using Labview

Attached you will find the source of the website I am working. Also, the button I need to login with is coded as follows in the webpage form.

 

<button type="submit" class="btn btn-default">Login</button>
0 Kudos
Message 2 of 4
(646 Views)

Re: Login and Retrieve Data From Website Using Labview

Hey JDClark123!

I tried logging into your website using the [Peter,  !@#123ASDasd] login info and got an error that the user doesn't exist. Can you confirm a working login to use for testing? I would expect that you can use the same method to search the HTML for "button" and then use an invoke mode to "click" the IHTMLelement. That should submit your login info and let you pull the data from the website.

-TyVo

0 Kudos
Message 3 of 4
(623 Views)

Re: Login and Retrieve Data From Website Using Labview

TyVo,

 

Thanks for the response. There is a username and password setup in the VI as controls on the front panel. I tried your solution, but receive an error Unknown System Error in dev.vi. I have attached the updated VI. Thanks in advance for your help. 

0 Kudos
Message 4 of 4
(617 Views)