Jump to content
creole

Controlling Web-Based Instrument

Recommended Posts

Hi guys,

I'm trying out a new project on my instrument that has a web-based controls (parameters are set-up using a web browser). I would like to control these parameters directly using a labview program i.e. i don't go into opening a browser such as I.E. or Mozilla. Any idea on how to start on this? What topics should I study?

Thank you very much.

Share this post


Link to post
Share on other sites

I would start with a packet sniffer. You will probably have to develop/replicate the http interface. I've used Wireshark before to see what commands were used to interface with an unsupported IP camera.

  • Like 1

Share this post


Link to post
Share on other sites

I would start with a packet sniffer. You will probably have to develop/replicate the http interface. I've used Wireshark before to see what commands were used to interface with an unsupported IP camera.

Hi jkuehn. I've already installed wireshark as well as fiddler (web debugger) on my computer. What we're the labview controls and functions that you used to interface with your device/instrument?

Is there any other way to do this without parsing an html?

thanks again.

Share this post


Link to post
Share on other sites

essentially I found the GET and POST commands sent by the web interface and then mimicked them in LabVIEW. You'll need to get familiar with the HTTP functions in LabVIEW as well as basic string parsing, type conversion, loops, and conditional structures.

Edited by jkuehn

Share this post


Link to post
Share on other sites

essentially I found the GET and POST commands sent by the web interface and then mimicked them in LabVIEW. You'll need to get familiar with the HTTP functions in LabVIEW as well as basic string parsing, type conversion, loops, and conditional structures.

Hi. Thanks. I have created a vi (using examples) for auto-login to my device using activex (i'm not sure if i really need to make my life complicated). Fortunately, i can login but there was this error (error 97).

Next step is to confgure the parameters and now i'm stuck on using html forms and frame collection. Do you guys happen to have an example on using activex or any of this scripting objects that I can study?

thanks.

Share this post


Link to post
Share on other sites

I'm pretty sure since LabVIEW 2009 there has been an HTTP Client in LabVIEW. I found it in LV2010 Data Communication ->Protocols palette.

Share this post


Link to post
Share on other sites

Join the conversation

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

Guest
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.