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....
@foxlearn7 жыл бұрын
You're welcome & Thank you so much ^_^
@zoeyan72258 жыл бұрын
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#?
@AnilKumar-of1pb2 жыл бұрын
Wonderful.. Quick and Neat
@draganmihai4897 Жыл бұрын
Thanks very much !
@aliguner74868 жыл бұрын
It's very useful thank you.
@foxlearn8 жыл бұрын
Thank you :)
@tegaekoh78138 жыл бұрын
You are doing a great job, thank you.
@foxlearn8 жыл бұрын
Thank you so much :)
@JobQuestUnveiled7 жыл бұрын
Hey Fox! Would you share your source code with us please?
@JobQuestUnveiled7 жыл бұрын
My email is: henriaghaei@gmail.com Thank ya!
@frankfahrenheit95377 жыл бұрын
This is nicely quick and informative.
@foxlearn7 жыл бұрын
Thank you so much
@jeanchrinot6 жыл бұрын
Great. It was helpful.
@foxlearn6 жыл бұрын
Thank you so much !
@shadurskysergey8 жыл бұрын
Nice tutorial. Thanks!
@foxlearn8 жыл бұрын
Thank you so much
@ProBro-x3o10 ай бұрын
I want to send files to iPhone, I want to get system information, which folder should I use?
@yu.diachenko78898 жыл бұрын
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.
@foxlearn7 жыл бұрын
You're welcome & Thank you
@kumaresha33484 жыл бұрын
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.
@lighton9451 Жыл бұрын
thanks !
@洪米堂4 жыл бұрын
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.
@foxlearn4 жыл бұрын
Let me try to research
@cesaraugustofernandezrios9345 жыл бұрын
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 :(
@foxlearn5 жыл бұрын
Please check your code again. i think you missing something
@cyeborg23 жыл бұрын
Its because you have no COM ports on your PC.
@Fadu4u8 жыл бұрын
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.
@foxlearn8 жыл бұрын
Thank you for your suggestion. I'll make the tutorial as soon as possible :)
@RabiulawaalRipon6 жыл бұрын
How To Share USB port over IP and access remote USB port over IP c# Thanks for share Your great job.
@foxlearn5 жыл бұрын
Thank you for your suggestion. Let me try to research !
@ElectricalInstrumentationEng7 жыл бұрын
Great!!
@foxlearn7 жыл бұрын
Thank you so much
@therawbot7 жыл бұрын
Hello, thank you for a such wonderful tutorial, I have a question, shall I install the device driver to communicate with instrument using c# ?
@foxlearn7 жыл бұрын
Hi, You need install driver for your device before playing demo
@rickyreddy58948 жыл бұрын
Most modern laptops and Pcs don't have serialports. How can I simulate this program for usb ports
@foxlearn8 жыл бұрын
Hi, You need to find a GSM Modem to play the demo, plugin to your computer you can see serial port. thanks
@kovoproxy7 жыл бұрын
I can´t select the Port? It´s like a disabled button, why is that so?
@rio39034 жыл бұрын
Thanks
@kumaresha33484 жыл бұрын
How to read data from more than one serial port? Can you please provide video on this.
@shadurskysergey8 жыл бұрын
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?
@foxlearn8 жыл бұрын
Hi, You need to check your device, Which port are you using? Thanks
@Kaczakat7 жыл бұрын
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.
@shadurskysergey7 жыл бұрын
Kaczakat - thanks for the advice. I'll try.
@tunglampham17617 жыл бұрын
I haven't seen any line to set a baudrate, do we need it?
@joerideman7 жыл бұрын
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.
@tunglampham17617 жыл бұрын
Ok thanks, I 've got it :) I'm just a newbie in this section :)
@joerideman7 жыл бұрын
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.
@Xerox4825 жыл бұрын
what is the name of voice app you used in video , that lady voice app . thanks
@foxlearn5 жыл бұрын
I'm using natural text to speech. thank you !
@alexlo77086 жыл бұрын
Some wrong code in 4:30 -> the writeline command send double newline. Correct by delete Environment.Newline.
@foxlearn6 жыл бұрын
Let me check again. thank you !
@water53983 жыл бұрын
I want to conect with serial port but when I use “using System.IO.Ports;” I take this error
@arunkumar-eo8nn8 жыл бұрын
i want to set a timer while sending the data is it possible ?? if yes how .????
@foxlearn8 жыл бұрын
Yes, You can use timer control, or you can view this video kzbin.info/www/bejne/ZpTRfmuCrtV2pKM. to hows how to make a count down, and you can send message. Thanks
@arunkumar-eo8nn8 жыл бұрын
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 ??
@bobanlapcevic54067 жыл бұрын
i trying to use this with my fiscal printer but dont work :) nothing received :/
@aboodnimer90976 жыл бұрын
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
@foxlearn6 жыл бұрын
Thank you for your suggestion !
@kshitijbali69154 жыл бұрын
my combo box is not picking any serial port. Please help.
@farwaaslam46486 жыл бұрын
sir one problem ds'nt solve please help me... an error occure when iwrite serialport1.portname.... even i include system.io.ports.
@廖光辉-w1x3 жыл бұрын
i meet the same problem, did you fixed it?
@PraveenKumar-je5vx2 жыл бұрын
Hi I am using it in .NET 4.6, Code has no error but I am receiving empty message always. Please suggest
@likhithap61092 жыл бұрын
using visual studio 2022?
@PraveenKumar-je5vx2 жыл бұрын
@@likhithap6109 No, I am using 2019 Version 16+
@saliht77805 жыл бұрын
You know how to integrate us Robotics 5637 to our c# project
@foxlearn5 жыл бұрын
Let me try to research. Thank you for your suggestion !
@JobQuestUnveiled7 жыл бұрын
The compiler says: serialPort1 does not exist in the context!
@miketuttle26066 жыл бұрын
you may need to add using.System.IO.Ports;
@hozonghan66818 жыл бұрын
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?
@foxlearn8 жыл бұрын
Hi, I'm using GSM modem, you need to get a gsm modem to play demo. thanks
@akshatapatil1516 жыл бұрын
It shows exception that 0 value not valid for selectedIndex at form1_Load function
@foxlearn6 жыл бұрын
Have you added item to the combobox
@nadeenabdullah35402 жыл бұрын
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..
@likhithap61092 жыл бұрын
are u using visual studio 2022?
@judgailbusiness89132 жыл бұрын
download link?
@dailyenglishphrases4618 жыл бұрын
I think You didn't show us all code , we have to add "using System.IO.Ports" am I wrong ?
@foxlearn7 жыл бұрын
Hi, Please check your code again, What error are you getting? Thank you
@muhammadhammad18456 жыл бұрын
make a video of barcode scan by barcode scanner and retrieve barcode number. thanks, hammad
@nischalmadiraju47017 жыл бұрын
can i have the code to acess data from a usb device?
@foxlearn7 жыл бұрын
Hi, What's your email? thanks
@JobQuestUnveiled7 жыл бұрын
Can you please do me a favour and send it out to me as well @ henriaghaei@gmail.com
@hendrasondrett92157 жыл бұрын
please send me ankzmexanonymous@gmail.com thanks
@siddalingeshapatil91078 жыл бұрын
Hi, How to select automatically serial port in dropdownlist no need to select manually ?????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????/
@foxlearn8 жыл бұрын
Hi. You can try string[] ports = SerialPort.GetPortNames();foreach(string port in ports) { cboPort.Items.Add(port);//cboPort is a Combobox }Thank you
@حابسحابس-ب6ه6 жыл бұрын
Helow Fox learn How use serial port to read data from electric meter ? Thanks you
@ChupoCro4 жыл бұрын
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.
@chounekomajin6 жыл бұрын
there shoud be a "timeout handle"
@foxlearn6 жыл бұрын
What do you mean?
@salimshahzada47865 жыл бұрын
sir, please give me the best link , for download visual studio, please
@Ironborn015 жыл бұрын
Microsoft Visual Studio
@MohamedHassnMo7sEn7 жыл бұрын
can you send me the source code ? it didn't work with me
@yasinmaden81512 жыл бұрын
Can u please share the code?
@JoseLima-fn2vn4 жыл бұрын
Very good, too bad that serious things are only in English.
@cunijoeme4 жыл бұрын
poly bridge called, they want their music back
@nazs87757 жыл бұрын
can i have the source code please.Also what if we are fetching data from USB?will this Work?
@foxlearn7 жыл бұрын
Hi, What's your email? You can fetch data from USB 3G
@nazs87757 жыл бұрын
oh sorry sayednazneen11@gmail.com and thanks much
@nischalmadiraju47017 жыл бұрын
can i have the code to acess data from a usb device?
@ОлегВасильев-в1ш8 жыл бұрын
Я русский и то все понял. Спасибо.
@foxlearn8 жыл бұрын
You're welcome & Thank you so much ^_^
@shadurskysergey8 жыл бұрын
Скажи Олег - реально эффективный вариант обучения использует FoxLearn... Без лишних ээ... бе... ме... как у многих других... хотя там есть кой какие комменты, но реально я даже не слушал что там напевала электронная девица, итак все понятно... Очень ритмично совершает манипуляции экономя наше время... при этом где нужно можно поставить на паузу и повторить у себя... В общем нет слов, одни слюни ))) А сколько материала FoxLearn нашлепал - просто диву даюсь... вот это знания у человека!!!
@balasubrahmanyams84285 жыл бұрын
not working
@foxlearn5 жыл бұрын
please check your code again. i think you miss something
@SingleWolf223 жыл бұрын
who will help me, give me error an txtMessage.Text