How to read continous data from Serial Port
-
Hi, I am able to write & read the data from serial port using buffer length pre specified. Is there any way by which I can read continous stream of data from serial port. I have tried to read the data from serial port using "ReadFile ()" in a while (1) {} loop. But my ReadFile () get blocking and I am not getting data after first read of buffer lenght is done.
-
Hi, I am able to write & read the data from serial port using buffer length pre specified. Is there any way by which I can read continous stream of data from serial port. I have tried to read the data from serial port using "ReadFile ()" in a while (1) {} loop. But my ReadFile () get blocking and I am not getting data after first read of buffer lenght is done.
Read here for serial port pointers.
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"Some people are making such thorough preparation for rainy days that they aren't enjoying today's sunshine." - William Feather
-
Read here for serial port pointers.
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"Some people are making such thorough preparation for rainy days that they aren't enjoying today's sunshine." - William Feather
-
It is, except for the horrible background color. :)
Luc Pattyn [Forum Guidelines] [My Articles] Nil Volentibus Arduum
Please use <PRE> tags for code snippets, they preserve indentation, improve readability, and make me actually look at the code.
-
It is, except for the horrible background color. :)
Luc Pattyn [Forum Guidelines] [My Articles] Nil Volentibus Arduum
Please use <PRE> tags for code snippets, they preserve indentation, improve readability, and make me actually look at the code.