LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

ESP8266 with NI LabVIEW

I want to communicate the data that is given by ESP8266 by LabVIEW and save the data. I am getting my readings on the link that is given by Arduino in my Ardiuno program. Now can anyone help me how to program LabVIEW such that I can save that data given by the ESP8266.

Thank You.

0 Kudos
Message 1 of 5
(6,619 Views)

How does the data look like? 

Any special format? 

How do you access it today?

0 Kudos
Message 2 of 5
(6,595 Views)

The ESP8266 I believe uses TTL level serial to other devices. You will need a TTL level USB to serial converter (note: NOT RS232...you will probably destroy the ESP8266) - something like this (get the correct one for the voltage level on the ESP8266 - you might need to look at the datasheet).

 

Once you have the TTL to Serial cable, have it hooked up to the correct pins on the ESP8266 and have powered the ESP8266, you can then use VISA commands in LabVIEW to send/receive the serial commands from the 8266. There will be documentation somewhere that details the format of the AT commands, or you could look at some of the other libraries that are available (e.g. for Arduino / Espruino) to see how they do the communication.


LabVIEW Champion, CLA, CLED, CTD
(blog)
0 Kudos
Message 3 of 5
(6,586 Views)

I get the temperature reading in the form of numeric value. 

For eg : when i go to the link i get reading as 27deg C

Now i want this result to be saved somewhwere automatically using LabVIEW

0 Kudos
Message 4 of 5
(6,553 Views)

Please show us more of what your design or code looks like.  It still isn't clear if you have an Arduino connected to the ESP8266, if you have it connected to a PC running LabVIEW, if you have a web page being published, or how things are talking.  As a result the suggestions we have likely won't apply.

 

If you just want a web page to be queried from LabVIEW there are lots of ways of doing it using data socket, raw TCP code, ActiveX into an IE browser, or the internet toolkit.

0 Kudos
Message 5 of 5
(6,536 Views)