Main Site Documentation

ExtendedWeakReference reliability?


#1

I have tried it on EMX 2 years ago and had lot of trouble.
Sometimes at power up it will return null, so the code has to go to default values.
So I ended up using a EEPROM.

Has the bugs been fixed by now.
Can I use it with some level of confidence on G120?

Can someone tell how reliable the EWR is now; on the platform they are working.


#2

my understanding, from discussion with Microsoft years ago, is that ewr is not reliable by design! So this is not really a bug. I personally never understood the value of ewr if the data is expected to simply disappear.


#3

Each time when I write more code or deploy something new.
The values are lot.

Is there a way the LCD touch cal can be moved to EEPROM


#4

Take a look at this
https://www.ghielectronics.com/community/codeshare/entry/902


#5

The G120 has a few bytes if battery backed up RealTimeClock RAM. See the G120 user manual for details.


#6

I use to find the Flash module ideal for saving all my configuration settings on. I was surprised when it got the chop.


#7

@ Sprigo - eeprom is just like flash. I recommend using it.


#8

@ Gus - isn’t this just for the G120 though?


#9

@ Sprigo - correct. Thought it is g120