How to Communicate over a Serial Port using LabVIEW

  Рет қаралды 61,354

Olawale Akinwale

Olawale Akinwale

Күн бұрын

Пікірлер: 45
@ashwin372
@ashwin372 Жыл бұрын
one of the fluent english speaker from Africa! nice thank you
@SuperJamesw14
@SuperJamesw14 Жыл бұрын
Super awesome vid. Clear, easy to follow, helped me complete my project for school. Thank you!
@OlawaleAkinwale
@OlawaleAkinwale Жыл бұрын
Glad it helped!
@ThomasPommes
@ThomasPommes 3 жыл бұрын
Thank you. That was exactly what I needed. Had to read sensor data over rs485 and your tutorial told me the basics of serial communication in LabView
@OlawaleAkinwale
@OlawaleAkinwale 3 жыл бұрын
Glad it helped
@tuanvu3654
@tuanvu3654 3 жыл бұрын
This is a very practical project.
@derekkunte3499
@derekkunte3499 4 жыл бұрын
Very helpful, thank you sir
@PirateFunk
@PirateFunk 4 жыл бұрын
Just what I needed thank you.
@OlawaleAkinwale
@OlawaleAkinwale 4 жыл бұрын
I'm glad that you found it useful.
@familia3sgte
@familia3sgte 4 жыл бұрын
Thank you. You're awesome!
@OlawaleAkinwale
@OlawaleAkinwale 3 жыл бұрын
Thank you too!
@ketanpatel1068
@ketanpatel1068 2 жыл бұрын
Very Helpful!!!
@raymondzhao9557
@raymondzhao9557 Жыл бұрын
interesting! thanks!
@jansendwan1221
@jansendwan1221 2 жыл бұрын
Now what do you do if you have 2 arms?
@jasneetpala1996
@jasneetpala1996 Жыл бұрын
Hi, I am finding a little bit problem with the code I designed. I just want to read data from serial port with time. But it looks like labview is not reading the data from the weighing machine. Can you help me with that? I am new to labview with zero background.
@OlawaleAkinwale
@OlawaleAkinwale Жыл бұрын
Hi. You might want to confirm that the serial port is configured correctly to interact with the weighing machine. For example, check of you are using the correct baud rate, the correct number of stop bits, whether or not parity checking is done, and if RTS/CTS is used. These can determine whether or not you are able to successfully interact with an RS-232 device.
@jeffryiskandar4254
@jeffryiskandar4254 Жыл бұрын
hey can i ask a question? why my visa cant detect the com/ports?
@OlawaleAkinwale
@OlawaleAkinwale Жыл бұрын
That's strange. Connect a serial device to one of your COM ports and then restart LabVIEW. If that doesn't work, last resort might be to refresh the LabVIEW installation.
@francischewechikweto3987
@francischewechikweto3987 3 жыл бұрын
Thanks a lot for this helpful video. Could kindly share the arduino source code. I'm having a challenge in correctly parsing received received string.
@OlawaleAkinwale
@OlawaleAkinwale 3 жыл бұрын
Will do. Hope to do so within 24 hrs.
@francischewechikweto3987
@francischewechikweto3987 3 жыл бұрын
@@OlawaleAkinwale Thanks a lot. Looking forward
@OlawaleAkinwale
@OlawaleAkinwale 3 жыл бұрын
This video did not make use of an Arduino code, just LabVIEW alone. However, below is an Arduino program for communicating over the serial port. With this, you can communicate back and forth between LabVIEW and an Arduino board. www.dropbox.com/s/8np7u673iv17yyz/HC-SR04.ino?dl=0
@adelin3363
@adelin3363 3 жыл бұрын
i have ch340 (arduino copy) connected on COM7 and in labview not showed, what i can do ?
@OlawaleAkinwale
@OlawaleAkinwale 3 жыл бұрын
That's strange. It ought to show up. Check your device manager to see that your computer is seeing the port (or just check in the Arduino software that the port is indeed visible. If it is then refresh your ports list in LabVIEW. I hope this helps.
@adelin3363
@adelin3363 3 жыл бұрын
@@OlawaleAkinwale i solved with NI-VISA Pkg manager ty
@OlawaleAkinwale
@OlawaleAkinwale 3 жыл бұрын
@@adelin3363 Great.
@harshulvr8779
@harshulvr8779 Ай бұрын
@@adelin3363 how exactly did solve it with package manager, would be really helpful if we can connect somewhere thanks!
@ramymohamed1531
@ramymohamed1531 3 жыл бұрын
When i installed labview communication the installed is stoped and this massege is appered
@OlawaleAkinwale
@OlawaleAkinwale 3 жыл бұрын
I'm sorry for my late response, but I can't see the message that LabVIEW displayed. In any case, I hope you have been able to solve it.
@licabrother6122
@licabrother6122 2 жыл бұрын
Hello, i have a resistive touschreen connected through a serial port from microcip to my laptop and idk how to make a project so i can use that screen as a touchscreen, i hope you might have an idea or just understand what i'm asking, thanks
@OlawaleAkinwale
@OlawaleAkinwale 2 жыл бұрын
Hi. I should start by saying that I haven't used a resistive touch screen before in a project and so am not sure what the interface will be. However, since it is connected to your computer via serial port, I will assume that Microchip will have set things up so that the coordinates of the position where your finger or stylus impact the board will be sent over the serial link to the computer. I will suggest that you check the dataset and find out how to communicate with the board. I did a quick check and it seems that you will use 9600 baud, 8 data bits, no parity and one stop bit. The serial data will be the coordinates touched. First project could be just to display the coordinates on the screen as numbers. Second project could be to display the touched coordinates in an x-y plotter in LabVIEW so that you can visibly see how where you touch correlates with the display on the screen. After these, the rest is up to your imagination / needs but another project could be using the touch controller as a sort of qualitative input to a simulation e.g. use where you touch on the touchscreen as a determinant of the flow rate or amount of time to take in specific states in a state machine or ...
@OlawaleAkinwale
@OlawaleAkinwale 2 жыл бұрын
I hope that helps.
@licabrother6122
@licabrother6122 2 жыл бұрын
@@OlawaleAkinwale do you think i can have any chance to talk with you on zoom or something else?
@YM-lm8xr
@YM-lm8xr 3 жыл бұрын
what if I just want to read data (numbers, not string)
@OlawaleAkinwale
@OlawaleAkinwale 3 жыл бұрын
Hello Y M. LabVIEW will read the data on the serial port as a string and then you will be able to parse this as numbers e.g. using "Scan from string".
@codelery414
@codelery414 3 жыл бұрын
Thanks. What add on did you use? LINX or something else? I have been trying to read data using the same serial communication with LINX, however I am getting anything
@OlawaleAkinwale
@OlawaleAkinwale 3 жыл бұрын
In LabVIEW? I used VISA. Beyond that, there was no other add on. I used a serial to USB cable to connect the robotic arm to the computer.
@codelery414
@codelery414 3 жыл бұрын
@@OlawaleAkinwale Thanks for the response. Could you please share the VI file with me?
@OlawaleAkinwale
@OlawaleAkinwale 3 жыл бұрын
@@codelery414 I am very sorry for my late response. I have not been able to locate this exact file that I created in / for this video. I will share another which is very similar to this and more advanced than this. www.dropbox.com/s/zs54knulwejm56n/ScriptControl.vi?dl=0
@carlosmarinoloaizagonzalez4193
@carlosmarinoloaizagonzalez4193 4 жыл бұрын
Buen video , bro me puedes ayudar con un ejercicio ?
@rafiqaakmaliaabdini3820
@rafiqaakmaliaabdini3820 4 жыл бұрын
wooow verry good video, but i want to know how to how to connect 2 computer (computer 1 built the input diagram and computer 2 display the result of the computer 1... result in led indicator and statistic diagram) and both of these computer connected with utp cable. can you make a video for answer my question? because i really need to know about that. i'm sorry my english is too bad, but i hope you can understand what i mean, thanks...
@OlawaleAkinwale
@OlawaleAkinwale 4 жыл бұрын
Interesting one. I have not done a project like this before but will be happy to check it out and hopefully put up a video about it soon. In the mean time, you may want to check out TCP communication using LabVIEW. There are a couple of videos about this on KZbin P.S. No problem about the English.
@MenPlanet
@MenPlanet 4 жыл бұрын
Mohammed de maroc merci mon frere on veux bathing plus design videos Plainview communication serie merci bq
@icebluscorpion
@icebluscorpion 10 ай бұрын
Your windo placement of the arm was really stupid. I couldn't see what you have clicked at 5:20. Next time use split screen to not obstruct the view. We aren't in a fogging gaming channel here aren't we?!
@OlawaleAkinwale
@OlawaleAkinwale 10 ай бұрын
Thank you for the feedback. I'm sorry for the error on my part.
Read Arduino Card Serial Port Data Using LabVIEW
16:53
David Wisbey
Рет қаралды 70 М.
Какой я клей? | CLEX #shorts
0:59
CLEX
Рет қаралды 1,9 МЛН
The Lost World: Living Room Edition
0:46
Daniel LaBelle
Рет қаралды 27 МЛН
NI-DAQmx multi-channel data acquisition LabVIEW program
29:49
Zachary Neale
Рет қаралды 146 М.
Instrument control and Data Acquisition Using LabVIEW Program
31:48
Higher Physics By Sanskar Mishra
Рет қаралды 16 М.
Proper way to communicate over serial
51:24
LabVIEW Wiki
Рет қаралды 18 М.
Labview Part 6: USB Serial COM Ports
10:25
EETechStuff
Рет қаралды 286
LINX with the RPiSoC: I2C
11:16
Mark Bradley
Рет қаралды 17 М.
LabVIEW for Test Instrument Control
8:27
NI Apps
Рет қаралды 36 М.
Arduino Labview no LINX
9:57
Professor Holden
Рет қаралды 10 М.
Using Flat Sequences and Property Nodes in LabVIEW
13:52
Olawale Akinwale
Рет қаралды 9 М.
Programming LabVIEW for myDAQ Measurements
30:47
ENGR 313 - Circuits and Instrumentation
Рет қаралды 75 М.
LabVIEW State Machine - Part 1
17:35
LabVIEW Programming Made Simple
Рет қаралды 9 М.