LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

HTTPS commands with LabView

Hi all,
I am a complete WiFi noob. I have an Arduino Nano IoT with an example sketch. Using a browser, when I access to https://myIPaddress/H the LED turns on and https://myIPaddress/L turns it off. I was wondering if this command can be sent through LabView?
Thank you!
0 Kudos
Message 1 of 5
(214 Views)

I'm guessing you need a browser to run the actual code on the web page.  Unless there's a button to push, but it seems that you are just going there?

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 2 of 5
(210 Views)

In Quick drop (CTRL+Space) type HTTP...

 

Or in the palette, go to Data Communication>Protocols>HTTP Client.

 

You'd have to do a OpenHandle, a post, put or get (it depends, all could work), and a CloseHandle. 

 

HTTP Put.png

0 Kudos
Message 3 of 5
(156 Views)

wiebe@CARYA wrote:

In Quick drop (CTRL+Space) type HTTP...

 

Or in the palette, go to Data Communication>Protocols>HTTP Client.

 

You'd have to do a OpenHandle, a post, put or get (it depends, all could work), and a CloseHandle. 

 

HTTP Put.png


I think you'll need to look at the source code so you know what to do?  It's funny, I didn't even think of standard http.  That's why I don't create web pages, I suppose.

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 4 of 5
(145 Views)

@billko wrote:

wiebe@CARYA wrote:

In Quick drop (CTRL+Space) type HTTP...

 

Or in the palette, go to Data Communication>Protocols>HTTP Client.

 

You'd have to do a OpenHandle, a post, put or get (it depends, all could work), and a CloseHandle. 

 

HTTP Put.png


I think you'll need to look at the source code so you know what to do?  It's funny, I didn't even think of standard http.  That's why I don't create web pages, I suppose.


It's not a website that's opened.

 

The device has a web server. By doing a HTTP GET, the webserver gets a trigger that does some action based on the URL.

 

This is pretty much how REST works,  although there can be content in the body of the commands, for instance a value to set, in the form of raw data, XML, JSON.

 

A URL in a browser does the same, the URL triggers a server. But for webpages, the response is a webpage.

Message 5 of 5
(132 Views)