Jump to content

how to get information from UI page (HTML and xml format)


Recommended Posts

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

Link to comment

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 ?

Link to comment

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 ?

Link to comment

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 ?

Link to comment

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?

Link to comment
  • 1 month later...

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.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.