hahaha....but the trend of comments on my RU-vid videos it seems like it will be other way around in Europe. By the way, for other viewers, this symbol is Indian symbol swastika, which represents prosperity and well being for all. Have a nice day.
If more than one data, say data1, data2, data3 etc.. comes from the same serial port (From Aurdino, say com4) how to Read it simultaneously & plot this in Real Time In MATLAB, Thanks In Advance.. Its Very Very Urgently Required For Research Work Plzzzz !!!! Plzzz Give the Code ????
Hi there, thank you for sharing your knowledge with us. However you have only showed us one end of the communication. May you please explain how is the data transmitted from your board to the MATLAB. What peripheral (UART etc.) did you use to transport the data?
@@sachinsharmajcbro Hi there, thank you for your reply. I am trying to acquire a signal from a light-to-voltage sensor using the STM32 nucleo board. Then, I need to export the acquired data into Matlab/Simulink. I hope it won't be too much trouble if I ask you to please share your C code from the STM32 IDE. Thank you in advance.
I know you might associate the symbol in your channel logo with something absolutely different as i am, who is coming from Germany, but every time i see it i'm shocked and terrified the moment i see it. Nevertheless i really appreciate your content :) Please keep it up.
No one can imagine the suffering of people by Nazi regime, but be assured it doesn't represents Nazi. It is an Indian symbol 'Swastika' representing prosperity and well being for all. You can search for the same on Google for same meaning.
@@sachinsharmajcbro I only wanted to show you that time and history changes the meaning of things, The original definition of "gay" is happy and cheerful, but time, society and history have given it a new meaning in society. As is such with the symbol that may have meant one thing originally for you and your culture but for the rest of world it means something else. You would not walk around saying "im gay im gay" to mean you are happy if you know the rest of the world would misinterpret that. However great channel and thanks for the knowledge.
@@EdwinFairchild Thanks and You are right dear, but the only thing is that this symbol still used in many parts of the world for prosperity and well being for all.....So shouldn't we let the world know that this symbol represent something else too other than nazi regime only.....It is just about the availability of information....
Unfortunately, I've got this message error: "Warning: Unsuccessful read: A timeout occurred before the Terminator was reached. 'serial' unable to read all requested data." I am using an Arduino Uno with a baudrate of 115200.
It is working now. I did not use the str2double function, and I had to change the parametres in the fscanf function. Using the instrreset function is also useful to avoid errors. The problem that I am facing now is that the plot does not restart when I run the code again, forcing me to restart Matlab.
While reading data via serial port, my observation is, I am losing many data points. since I know the sampling rate of microcontroller ADC is 10kHz but I can read 7000 samples per sec in matlab. how can I correct that issue?
Actually, If you try to read samples at high data rate from same application then that will not be possible. You will have to use thread to read the serial data and then separate thread to display the same.
if you mean that only read data in a loop and separately plot the data in another loop? then I am only reading the data in a loop since I found reading and plotting data together in a loop is not possible.
@@garimasharma6575 loops block the execution. I would suggest you to go through the concept of threads (if you have not gone through it earlier) then search for implementing the same in MATLAB. To start, threads runs in the background of main application and data can be transferred via shared variables.
@@sachinsharmajcbro I haven't gone through threads earlier so I have read parallel processing but can you explain, how to access data from one function to another? by knowing that data is continuously coming in one function. Could you please upload a video lecture on real-time serial data reading and plotting the data using thread/parallel processing? Thank you!
Dear, this is not nazi symbol swastika (which you might be thinking). It is an Indian Symbol, which represents prosperity and well being for all. Please learn more about it.