Hi,
how can i reset CommsMemory (communication memory) via a CRBasic program using instruction SetStatus?
I know that i can do a full memory reset, but i would prefer to do only a reset of communication memory.
Thanks you in advance.
There is not a way to reset this field. It is read only and reports the datalogger's memory usage.
The only method to reset the logger's communications memory (the TCP/IP stack and PakBus memory) is to do a SetSettings("FullMemReset", -98765). This will cause the datalogger to do a WatchDog and reboot which will restore the memory lost.
A better solution would be to find out what exactly is causing the memory to be lost and for us to get you a fix or a work around for the issue.
Thanks for your answer.
I have to do a reset programmatically because after the first time I communicate from different with the datalogger with a Michrosat modem, I can't do any other operation from loggernet.
If I reset datalogger powering it off and then on, the next comm. works, then it stop working after that and so on.
What version of the OS is in your datalogger? Also, how is the logger connected to the modem?
I've just upgraded to last versions (OS 31). Modem and datalogger are connected via a null modem serial cable on rs232 port of the c1000.