02-01-2019 02:54 AM
Hi, I want to ask a question. If you help me, I appreciate it.
On my project, I use ultrasonic sensor and NodeMCU ESP8266. I write a code on Arduino to start and receive data of sensor. Arduino code send Trigger signal to start sensor, then it generate Echo signal whose length give us sound waves' travel duration. Then I apply some formulas to find distance (cm). I want to calculate distance on LabVIEW, and create a executable file which is written all distance measurements.
First of all, NodeMCU ESP8266 connects to server and IP address, so I can see duration time coming from sensor on HTTP Web Page. (As you can see on duration_http.PNG)
I can send Trigger signal to sensor and receive Echo Signal from sensor to use Wi-Fi ( wifi.server (80)) on Arduino code. I want to process signal to show distance (cm) on LabVIEW. So, LabVIEW should listen and read TCP/IP. But I can not communicate, because measurement on duration_http.PNG does not print on front panel on LabVIEW.
If I would listen and read TCP/IP port, then i will continue signal processing.
Please, share your comments and suggestions.
Solved! Go to Solution.
02-04-2019 11:31 AM
Hi Bestecf,
I was going to point you to the HTTPS Get function but it looks like you've already found this forum.
A contributor posted example code using this function.
Let me know if this helps
All the Best,
Noah B.
Applications Engineer
National Instruments