This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Writing string with grp.write or grp.update fails
#1
I'm writing a script to consume a AERIS api.
I als want to save the ISO date time strings in an object so I do not have to decode the unix timestamps to see which value it is.

In the script I use 'grp.write('0/0/104', response1.dateTimeISO  , dt.string)'
But the script fails/crashes as soon it is writing a string value.
Also tried using 'grp.update', and pre-create the objects, and leaving out the 'dt.string' type, but everything fails.
Even 'grp.write('0/0/104', 'testing', dt.string) fails.

Is it not possible to write string values?
I see it's being used on other scripts so what am I doing wrong?

I'm running a LM2 with firmware 20130927 (Unfortunately there does not seem to be a newer firmware for LM2 :-( )
Reply
#2
This one is the latest for LM2 (2015.09.17):
https://dl.openrb.com/lm-15.09/lm2-at91.img
Reply


Forum Jump: