10-20-2017 01:32 AM
hi .I am a beginner in LabView. i read forum discussions to find some solution to my project .
my project is about wireless transmit & receive voltage value .The data receive should appear in lab view not in the serial monitor arduino.
Solved! Go to Solution.
10-20-2017 01:49 AM - edited 10-20-2017 02:04 AM
Hi person97,
.I am a beginner in LabView.
Do you know this website?
i read forum discussions to find some solution to my project .
Well, LabVIEW also comes with a huge library of example VIs. There are also examples on serial communication…
The data receive should appear in lab view not in the serial monitor arduino.
First point: switch off the serial monitor. (There can be only one accessing a serial port!)
Then: when trying to read just one byte from the port you will never read the whole message of your Arduino.
- As you include some EOL chars ("End of line") in the message sent by the Arduino "Serial.PrintLn") you should try to read a "big" number of bytes (like "99"): VISARead will automatically stop at the EOL char as you have configured this behaviour with the ConfigureSerialPort function.
- Setting a timeout of 100s is senseless: in case of a problem you do NOT want to wait for your program to react on your inputs for nearly 2mins! Set a shorter (reasonable) timeout - and handle timeout errors in your code!
But then again: start with the example VIs coming with LabVIEW. (A note on them: they use the BytesAtPort function: please don't use this function for your task. It will not help you here and you don't need it!)
10-20-2017 01:53 AM
What's the problem in your program?
10-20-2017 07:12 AM
the problem is i just want the labview to receive voltage signal by wireless and display value in waveform. like exactly the same like oscilloscope . . i need a proper guide how to works this out
10-20-2017 07:20 AM
thanks for the good information. i will think it wisely
11-26-2017 01:06 PM
Arduino D1 WeMos with LabView
Hey,
I want to build a project that gets information from the "Temp102" sensor connected to the D1 WeMos Board.
This board sends the information received from the sensor via WiFi.
I want this information that sends to the computer that has the LabView software and it will display the temperature in a termometer.
I have a program that I found in one of the sites that does what I want but with one problem!
The program is written for module Esp8266, which is connected to board Arduino Uno and therefore has different classics.
I need help converting the classics of module ESP8266 to relevant classes for Board D1 WeMos (This board has ESP8266 but it is built-in so there is no need to set it up in the program).
It's important to note that I tried to change it and make a "mix" but without success.
I would be happy if someone could check in the program what should be changed, which orders should be replaced?
(I believe it's 2 minutes work for anyone who knows)
Thank you very much for your help !
I appreciate you very much !!
I attached the programs (for arduino and for labview).