creole Posted June 27, 2011 Report Share Posted June 27, 2011 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. Quote Link to comment
Jordan Kuehn Posted June 27, 2011 Report Share Posted June 27, 2011 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. 1 Quote Link to comment
creole Posted June 27, 2011 Author Report Share Posted June 27, 2011 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. Quote Link to comment
Jordan Kuehn Posted June 27, 2011 Report Share Posted June 27, 2011 (edited) 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 June 27, 2011 by jkuehn Quote Link to comment
creole Posted June 28, 2011 Author Report Share Posted June 28, 2011 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. Quote Link to comment
GoGators Posted July 18, 2011 Report Share Posted July 18, 2011 I'm pretty sure since LabVIEW 2009 there has been an HTTP Client in LabVIEW. I found it in LV2010 Data Communication ->Protocols palette. 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.