03-21-2021 07:08 AM
hello my name is dodi, i am from indonesia, i am working on my final project in the last semester, i want to move nodeMCU data to labview,
- nodeMCU has uploaded the wifiscan program to the arduino IDE
(this program is available when we install the nodeMCU library on the arduino IDE)
- nodeMCU is connected using USB Type B to the laptop
then how do i move wifiscan data to labview ?,
please give me suggestions, references, sample programs, etc. to achieve my goals.
thank you
03-21-2021 11:56 AM
You could have LabVIEW open com port 5 instead of the debug window and use VISA Read on the serial port to read the data.
03-22-2021 09:55 AM
I have tried to read the wifi scan data on nodeMCU using visa serial, but it has not been successful and read buffer does not display data
03-23-2021 07:04 PM
You are trying to run your while loop, as quick as you can and you are overwritting your data everytime. So you could be receiving valid data, but instantly overwrriting it with blank data. Your last attempt seems to be the closest to what it should be.
Here is a snippet from a project I did on an Arduino. If you upload the in-built Arduino example located in the Arduino IDE File > Examples > Basics > ReadAnalogVoltage, you should be able to succesfully receive the data using the VI snippet below (I just tested it). Then you can adapt it to your needs. Obviously, change the communication settings to whatever you are using.
03-24-2021 08:57 AM
You should watch crossrulz excellent presentation from NI week.
05-31-2021 05:59 AM
can you solve the problem?
05-31-2021 06:24 AM
Yes
05-27-2024 10:27 AM
boleh minta tutor, referensi, atau sample projectnya bang?