24.07.2016, 10:02
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 :-( )
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 :-( )