Async read from SD card?
Started by Klop, Jun 29 2011 01:28 PM
2 replies to this topic
#1
Posted 29 June 2011 - 01:28 PM
Hi,
Does anyone know if it is possible to read from the SD card asynchronously?
The FileStream class seems to be missing the .BeginRead method. Did Microsoft not implement it in the MF?
Would it be possible to create a thread that handles the file reading?
Thanks.
#2
Posted 29 June 2011 - 08:01 PM
Hi Klop,
To fit on microcontrollers, the .NET Micro Framework implements a subset of the full .NET Framework. This is probably one of those cases.
All that said, you can absolutely implement a background thread which handles file reading.
Chris
Does anyone know if it is possible to read from the SD card asynchronously?
The FileStream class seems to be missing the .BeginRead method. Did Microsoft not implement it in the MF?
Would it be possible to create a thread that handles the file reading?
To fit on microcontrollers, the .NET Micro Framework implements a subset of the full .NET Framework. This is probably one of those cases.
All that said, you can absolutely implement a background thread which handles file reading.
Chris
#3
Posted 02 July 2011 - 09:56 PM
I'll have a look at implementing a background thread if it becomes a problem reading from the SD card performance wise.To fit on microcontrollers, the .NET Micro Framework implements a subset of the full .NET Framework. This is probably one of those cases.
All that said, you can absolutely implement a background thread which handles file reading.
Chris
Thanks.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users