Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Using labview to interact with a website

Solved!
Go to solution

Sorry if this is the wrong board.

 

I have an instrument which needs to be controlled via a website however I want to be able to automate my use of it via labveiw. Does anyone know of a way to send a command via labveiw to a website to for example push a start/stop button or change a sliders value.

 

Thank you

0 Kudos
Message 1 of 7
(3,731 Views)
0 Kudos
Message 2 of 7
(3,696 Views)

Sorry I dont think this is quite it.

It's not that I want to control my labveiw VI's remotely. It's that the interface for this peice of equipment is via a website so I will need to control that website via labveiw 

0 Kudos
Message 3 of 7
(3,682 Views)

Why not tell us the instrument make and model?

 

I've seen instruments that use ethernet connections to provide a webserver running on the instrument.  You can connect to the instrument using a browser and do some programming or data collection. You could probably automate that process using the LabVIEW HTTP GET and PUT/POST VIs. 

 

See - https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000019M0eSAE&l=en-CA

https://www.ni.com/docs/en-US/bundle/labview-api-ref/page/menus/categories/data-communication/protoc...

 

Typically if the instrument goes to the trouble to implement a webserver they also have other communications methods, often more traditional ones that you might consider.

 

Craig

0 Kudos
Message 4 of 7
(3,656 Views)

If you are referring to a LXI compliant instrument, there is usually a protocol such as SCPI to talk to the instrument instead of trying to automating through the web browser.  The browser is just for remotely interacting with the instrument.  As already asked, what is the instrument?


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 5 of 7
(3,650 Views)

Hi thank you.

The instrument is a Hielscher UP200St

0 Kudos
Message 6 of 7
(3,632 Views)
Solution
Accepted by LabmanRoss

Posting for the Googlers of the future.

I was able to solve it by using a http get on the XML links. I.e. Using the get on http://(device IP here)/mOn.xml turns it on

Message 7 of 7
(3,596 Views)