psiam Posted February 24, 2008 Report Share Posted February 24, 2008 how to get information from UI page (HTML and xml format) Quote Link to comment
Khalid Posted February 25, 2008 Report Share Posted February 25, 2008 QUOTE(psiam @ Feb 23 2008, 03:02 AM) how to get information from UI page (HTML and xml format) Not exactly sure what you mean by a "UI" page. If you mean a web page, you can use the DataSocket VIs passsing it the URL. The output string will be the source code of the web page. Regards, -Khalid Quote Link to comment
psiam Posted February 26, 2008 Author Report Share Posted February 26, 2008 QUOTE(Khalid Ansari @ Feb 24 2008, 12:07 PM) Not exactly sure what you mean by a "UI" page. If you mean a web page, you can use the DataSocket VIs passsing it the URL. The output string will be the source code of the web page.Regards, -Khalid ************************************************************************* REPLY... Correct , I mean web page.And I already used the DataSocket and it work but some times it isn't work becuase it need to re-access (web page need user and pwd) but we already put user and pwd before. We following this format.. http://[user]:[pwd]@192.168.13.236:20080/[wep_page_name] Do you have any suggession ? Quote Link to comment
Phillip Brooks Posted February 26, 2008 Report Share Posted February 26, 2008 Yin-dee-ton-rab, psiam! If you can you show us any code, it might be easier to help. Upload a picture or a sample of the VI you are using. Questions: How does the operator enter a user name and password?Are you using the "Prompt operator for input" Express VI? QUOTE(psiam @ Feb 25 2008, 12:06 AM) I already used the DataSocket and it work but some times it isn't work becuase it need to re-access (web page need user and pwd) but we already put user and pwd before. We following this format.. http://[user]:[pwd]@192.168.13.236:20080/[wep_page_name] Do you have any suggession ? Quote Link to comment
psiam Posted February 27, 2008 Author Report Share Posted February 27, 2008 QUOTE(Phillip Brooks @ Feb 25 2008, 07:11 PM) Yin-dee-ton-rab, psiam!If you can you show us any code, it might be easier to help. Upload a picture or a sample of the VI you are using. Questions: How does the operator enter a user name and password? Are you using the "Prompt operator for input" Express VI? ************************************************ This is my code for get information from web page,pls see as in attached file. Do you have any suggestion ? Quote Link to comment
Phillip Brooks Posted February 28, 2008 Report Share Posted February 28, 2008 Well, it looks like you're using the VI from here. Suggestions: Set the timeout (default 10,000 ms) to something longer. If it works sometimes and not others, the call may just be timing out waiting for a slow server. The vi provided (and the one from the link above) do not have any connector pane inputs or outputs. How do you pass in the user name and password? Quote Link to comment
psiam Posted April 4, 2008 Author Report Share Posted April 4, 2008 QUOTE (Phillip Brooks @ Feb 28 2008, 02:36 AM) Well, it looks like you're using the VI http://forums.lavag.org/How-to-get-HTML-code-from-webpage-by-labview-t7595.html&view=findpost&p=28630' target="_blank">from here. Suggestions: Set the timeout (default 10,000 ms) to something longer. If it works sometimes and not others, the call may just be timing out waiting for a slow server. The vi provided (and the one from the link above) do not have any connector pane inputs or outputs. How do you pass in the user name and password? Picture below show how to pass in the user name and password. Quote Link to comment
Phillip Brooks Posted April 4, 2008 Report Share Posted April 4, 2008 QUOTE (psiam @ Apr 3 2008, 05:21 AM) Picture below show how to pass in the user name and password. Try adding ConfirmPwd=ADMIN to your URL. Example: 192.168.40.125:20080/EMSRequest/nodeInventory?ConfirmPwd=ADMIN Quote Link to comment
psiam Posted April 9, 2008 Author Report Share Posted April 9, 2008 QUOTE (Phillip Brooks @ Apr 3 2008, 06:23 PM) Try adding ConfirmPwd=ADMIN to your URL. Example: 192.168.40.125:20080/EMSRequest/nodeInventory?ConfirmPwd=ADMIN This is result for adding ConfirmPwd=ADMIN. still not working. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.