I am working as a project manager, and one of my team members promised a client (who happened to be a bunch of college students), that he would integrate an RFID module into the system. This guy then quit the job suddenly without doing anything. This caused a huge problem. I had no Electronics background and had to do the project by myself in a day. This video was in fact a helping hand from heaven.... Thank you very much....
Hi sir, your video about Serial communication is amazing, thank you. I am wondering do you plan to record another video about communication with Ethernet port using C#?
Make a video record, work MODBAS Protocol Data transmission through serial line RS-485, RS-422, RS-232, and TCP / IP network connection. Many thanks. Excellent video. According to them, and learning.
Thanks for great video on Serial communication. I need help from you regarding how to read multiple port data by using windows service or threading. Can you do video on any one.
Yes, You can use timer control, or you can view this video ruclips.net/video/0cnM8LypCnA/видео.html. to hows how to make a count down, and you can send message. Thanks
Thank you sir, But this is not what i am expecting , I want to set timer for serial port, like sending a message it will repeat every 5 secs . is it possible ??
yes! at least I did. If you ever worked with microcontrollers (arduino?) it follows the same principle. You set all the properties and then you open the port. If you type "serialport1." you will find out that one of the options is BaudRate.
So am I, I have been spending way to many hours trying to get the same result with a universal app and only minutes ago I tried this. Windows Forms is very much like the arduino platform if you are into that. Good Luck with your projects.
If I wanna send a message containing "carriage return" in this program, how should I do? I sent directly in " " but the PLC attached on PC has no response.
Im trying this example, but it shows that one error ocurred, like this: System.ArgumentOutOfRangeException: 'InvalidArgument=The value of '0' isn't valid for 'SelectedIndex'. Nombre del parámetro: SelectedIndex' . Help :(
I really liked your learning style. I used the serial from your example. But there is one problem. If I run a program when the serial device is not in the system, it pops up an error. How can I fix this?
This application checks com ports when "form_load" (program starts), if they aren't in the system you can put function SerialPort.GetPortNames() in the dedicated button, for egz. "Check Port" or add "try" and "catch Exception" like when you send data. Nice tutorial by the way. You can add EVENT DataReceived for serialPort1 + function EventHandler to AppendText in txtReceive , then you can see respond from modem without Receive button.
hellow friend what type serial port use read smart card? and what write information code in visual studio c# to serial port for get data from reader smart card thanks
Hi, How to select automatically serial port in dropdownlist no need to select manually ?????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????/
hi, my serial com 7 is sending data out from my project but i need it to display on visual studio text box, do you have any idea how should it be done?
Hi, it would be nice to have the first screen with programmatically created radio buttons for selecting the COM port and the next (main) screen would show automatically after selecting the COM port by clicking the radio button. That way only one click is needed to select the COM port which is useful when interfacing with microcontrollers. That would be a tutorial about dinamically creating the radio buttons (one button for each detected COM port) plus *Multiple pages on the Form using Panel Control* tutorial (but without a button to show the next screen) or plus *Dynamically Loading User Control* tutorial. BTW, when making GUI with Python + Tkinter the next screen could be shown in the same frame as the first screen by first destroying all GUI elements inside the frame by: for child in masterframe.winfo_children(): child.destroy() and then dinamically creating the next screen. But here, when using Visual Studio, seems as the better option is to create the next screen in visual designer and to later show it in panel.
Скажи Олег - реально эффективный вариант обучения использует FoxLearn... Без лишних ээ... бе... ме... как у многих других... хотя там есть кой какие комменты, но реально я даже не слушал что там напевала электронная девица, итак все понятно... Очень ритмично совершает манипуляции экономя наше время... при этом где нужно можно поставить на паузу и повторить у себя... В общем нет слов, одни слюни ))) А сколько материала FoxLearn нашлепал - просто диву даюсь... вот это знания у человека!!!
I am working as a project manager, and one of my team members promised a client (who happened to be a bunch of college students), that he would integrate an RFID module into the system. This guy then quit the job suddenly without doing anything. This caused a huge problem. I had no Electronics background and had to do the project by myself in a day. This video was in fact a helping hand from heaven....
Thank you very much....
You're welcome & Thank you so much ^_^
Wonderful.. Quick and Neat
Thanks very much !
Hi sir, your video about Serial communication is amazing, thank you. I am wondering do you plan to record another video about communication with Ethernet port using C#?
Great. It was helpful.
Thank you so much !
You are doing a great job, thank you.
Thank you so much :)
Hey Fox! Would you share your source code with us please?
My email is: henriaghaei@gmail.com Thank ya!
It's very useful thank you.
Thank you :)
This is nicely quick and informative.
Thank you so much
Nice tutorial. Thanks!
Thank you so much
thanks !
I want to send files to iPhone, I want to get system information, which folder should I use?
Great!!
Thank you so much
Make a video record, work MODBAS Protocol
Data transmission through serial line RS-485, RS-422, RS-232, and TCP / IP network connection.
Many thanks. Excellent video. According to them, and learning.
You're welcome & Thank you
How to read data from more than one serial port? Can you please provide video on this.
Hello, thank you for a such wonderful tutorial,
I have a question, shall I install the device driver to communicate with instrument using c# ?
Hi, You need install driver for your device before playing demo
Thanks
Thanks for great video on Serial communication. I need help from you regarding how to read multiple port data by using windows service or threading. Can you do video on any one.
i want to set a timer while sending the data is it possible ?? if yes how .????
Yes, You can use timer control, or you can view this video ruclips.net/video/0cnM8LypCnA/видео.html. to hows how to make a count down, and you can send message. Thanks
Thank you sir, But this is not what i am expecting , I want to set timer for serial port, like sending a message it will repeat every 5 secs . is it possible ??
what is the name of voice app you used in video , that lady voice app . thanks
I'm using natural text to speech. thank you !
I haven't seen any line to set a baudrate, do we need it?
yes! at least I did. If you ever worked with microcontrollers (arduino?) it follows the same principle. You set all the properties and then you open the port.
If you type "serialport1." you will find out that one of the options is BaudRate.
Ok thanks, I 've got it :) I'm just a newbie in this section :)
So am I, I have been spending way to many hours trying to get the same result with a universal app and only minutes ago I tried this. Windows Forms is very much like the arduino platform if you are into that. Good Luck with your projects.
Thanks, nice tutorial!
it would be great if you could do a tutorial on receive an sms on a computer and return values from database.
Thank you for your suggestion. I'll make the tutorial as soon as possible :)
If I wanna send a message containing "carriage return" in this program, how should I do?
I sent directly in "
" but the PLC attached on PC has no response.
Let me try to research
Most modern laptops and Pcs don't have serialports. How can I simulate this program for usb ports
Hi, You need to find a GSM Modem to play the demo, plugin to your computer you can see serial port. thanks
Im trying this example, but it shows that one error ocurred, like this:
System.ArgumentOutOfRangeException: 'InvalidArgument=The value of '0' isn't valid for 'SelectedIndex'.
Nombre del parámetro: SelectedIndex'
. Help :(
Please check your code again. i think you missing something
Its because you have no COM ports on your PC.
Hi I am using it in .NET 4.6, Code has no error but I am receiving empty message always. Please suggest
using visual studio 2022?
@@likhithap6109 No, I am using 2019 Version 16+
I really liked your learning style.
I used the serial from your example. But there is one problem. If I run a program when the serial device is not in the system, it pops up an error. How can I fix this?
Hi, You need to check your device, Which port are you using? Thanks
This application checks com ports when "form_load" (program starts), if they aren't in the system you can put function SerialPort.GetPortNames() in the dedicated button, for egz. "Check Port" or add "try" and "catch Exception" like when you send data.
Nice tutorial by the way. You can add EVENT DataReceived for serialPort1 + function EventHandler to AppendText in txtReceive , then you can see respond from modem without Receive button.
Kaczakat - thanks for the advice. I'll try.
I can´t select the Port? It´s like a disabled button, why is that so?
Some wrong code in 4:30 -> the writeline command send double newline.
Correct by delete Environment.Newline.
Let me check again. thank you !
download link?
How To Share USB port over IP and access remote USB port over IP c#
Thanks for share Your great job.
Thank you for your suggestion. Let me try to research !
I want to conect with serial port but when I use “using System.IO.Ports;” I take this error
hellow friend
what type serial port use read smart card?
and what write information code in visual studio c# to serial port for get data from reader smart card
thanks
Thank you for your suggestion !
my combo box is not picking any serial port. Please help.
You know how to integrate us Robotics 5637 to our c# project
Let me try to research. Thank you for your suggestion !
sir one problem ds'nt solve please help me... an error occure when iwrite serialport1.portname.... even i include system.io.ports.
i meet the same problem, did you fixed it?
The compiler says: serialPort1 does not exist in the context!
you may need to add using.System.IO.Ports;
can i have the code to acess data from a usb device?
Hi, What's your email? thanks
Can you please do me a favour and send it out to me as well @
henriaghaei@gmail.com
please send me ankzmexanonymous@gmail.com thanks
It doesn't work with me! The array doesn't filling with the names of my ports! It stell empty, What is the reason?! Can you help me please..
are u using visual studio 2022?
i trying to use this with my fiscal printer but dont work :) nothing received :/
I think You didn't show us all code , we have to add "using System.IO.Ports" am I wrong ?
Hi, Please check your code again, What error are you getting? Thank you
It shows exception that 0 value not valid for selectedIndex at form1_Load function
Have you added item to the combobox
Hi,
How to select automatically serial port in dropdownlist no need to select manually ?????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????/
Hi. You can try
string[] ports = SerialPort.GetPortNames();foreach(string port in ports)
{ cboPort.Items.Add(port);//cboPort is a Combobox
}Thank you
there shoud be a "timeout handle"
What do you mean?
sir, please give me the best link , for download visual studio, please
Microsoft Visual Studio
Can u please share the code?
make a video of barcode scan by barcode scanner and retrieve barcode number.
thanks,
hammad
hi, my serial com 7 is sending data out from my project but i need it to display on visual studio text box, do you have any idea how should it be done?
Hi, I'm using GSM modem, you need to get a gsm modem to play demo. thanks
can i have the source code please.Also what if we are fetching data from USB?will this Work?
Hi, What's your email? You can fetch data from USB 3G
oh sorry sayednazneen11@gmail.com and thanks much
can i have the code to acess data from a usb device?
Helow Fox learn
How use serial port to read data from electric meter ?
Thanks you
can you send me the source code ? it didn't work with me
Very good, too bad that serious things are only in English.
poly bridge called, they want their music back
Hi, it would be nice to have the first screen with programmatically created radio buttons for selecting the COM port and the next (main) screen would show automatically after selecting the COM port by clicking the radio button. That way only one click is needed to select the COM port which is useful when interfacing with microcontrollers. That would be a tutorial about dinamically creating the radio buttons (one button for each detected COM port) plus *Multiple pages on the Form using Panel Control* tutorial (but without a button to show the next screen) or plus *Dynamically Loading User Control* tutorial.
BTW, when making GUI with Python + Tkinter the next screen could be shown in the same frame as the first screen by first destroying all GUI elements inside the frame by:
for child in masterframe.winfo_children():
child.destroy()
and then dinamically creating the next screen. But here, when using Visual Studio, seems as the better option is to create the next screen in visual designer and to later show it in panel.
Я русский и то все понял. Спасибо.
You're welcome & Thank you so much ^_^
Скажи Олег - реально эффективный вариант обучения использует FoxLearn...
Без лишних ээ... бе... ме... как у многих других... хотя там есть кой какие комменты, но реально я даже не слушал что там напевала электронная девица, итак все понятно... Очень ритмично совершает манипуляции экономя наше время... при этом где нужно можно поставить на паузу и повторить у себя...
В общем нет слов, одни слюни )))
А сколько материала FoxLearn нашлепал - просто диву даюсь... вот это знания у человека!!!
not working
please check your code again. i think you miss something
who will help me, give me error an txtMessage.Text
Wish to have a real voice
looks way too easy
Thank you !
You are doing a great job, thank you.
Thank you
thanks
You're welcome