1

Closed

wish: I Would like to be able to save every telegram

description

The highest frequency of writing to SD card is 1 minute. I would like to be able to write every message to sd card. If set to zero, then the telegram should be saved immediately when analysed.
Closed Nov 7, 2012 at 7:40 AM by c70070540
Will not be implemented due to too much writing to the SD card. This might make the Netduino unstable.

comments

JoopC wrote Oct 22, 2012 at 6:33 AM

The Telegram is decoded with the frequency of sending data to servers. This is to discharge the N+ to do other Threads without delay.
e.g. When you set the saving time to the SD card less to the sending time to the servers you only will have copies of earlier saved Telegrams.

hansdegit wrote Oct 22, 2012 at 8:29 AM

True. So the decoding should be done when decoding is needed. Like, for instance, when writing to the SD card. ;)

So this line:
Thread.Sleep(cnstSendToLoggingServersIntervalInMilliSeconds)

Could be set to the least interval.

hansdegit wrote Oct 22, 2012 at 8:37 AM

BTW: decoding is not a very demanding operation, is it? Since we're interested in the real values and not so much in the telegram itself, decoding can be done when a telegram is complete. That is, in the ReadSerialPoortP1 thread.

wrote Nov 7, 2012 at 7:40 AM

wrote Feb 21, 2013 at 10:48 PM

wrote May 16, 2013 at 10:13 AM