11-25-2023 03:03 AM
I am using esp8266 to acquire data from the sensors , now i want to send that data collected to myRio through wifi so that i can operate further on NI LabVIEW.
11-25-2023 03:04 PM
If you want to operate on your data with LabVIEW, and have a device (the ESP8266) that can gather the data from "the sensors" and send it somewhere using WiFi (and presumably TCP/IP), why don't you send it directly to your Windows PC running LabVIEW?
Although the myRIO also has WiFi, most of the time it uses TCP/IP (either through WiFi or through TCP/IP-over-USB (172.22.11.2) to communicate with a PC "Host", as the myRIO has no User Interface, and depends on its TCP/IP connection to a PC to facilitate interaction with humans.
Bob Schor
11-26-2023 06:50 AM
Thank you for your reply.
I want to use myRio because i am trying to make a device which can work independently , where i don't have to use my PC. Instead i want to connect a screen to myrio for the purpose of user interface.
I want to connect data from the sensors using esp8266 and send that data wirelessly to myrio.
and i will deploy my VI into the myrio to further operate on that data received from esp.
How can i do that?
11-26-2023 02:04 PM
komal2031189@akgec.ac.in wrote:
I want to use myRio because i am trying to make a device which can work independently , where i don't have to use my PC. Instead i want to connect a screen to myrio for the purpose of user interface.
I want to connect data from the sensors using esp8266 and send that data wirelessly to myrio.
and i will deploy my VI into the myrio to further operate on that data received from esp.
How can i do that?
The short answer is "You cannot do that".
If you do plan to create a LabVIEW Real-Time Project using the myRIO, you should spend some time learning how to program in LabVIEW, including how to handle data acquisition (DAQmx) and processing in "stand-alone PC" LabVIEW.
Bob Schor
11-27-2023 03:30 AM
The "you can't do that" is more specifically meant in respect to your request to attach a screen to your myRIO.
As far as connecting an ESP32 or similar device to the myRIO, you neither "connect" them together either. They both need to be able to connect to a WIFI access point, they don't typically can be made to work as access point themselves. Once they are both setup to connect to your WIFI access point you can find out the IP address (or if you have at least a minimal name server setup in your network) the DNS name and then connect with normal TCP/IP functions in your application. But there is no screen in the myRIO unless you go to the trouble of attaching and programming an LCD screen of some sort. That is however far beyond an introductory newbie session!