Logic Machine Forum
Writing string with grp.write or grp.update fails - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Scripting (https://forum.logicmachine.net/forumdisplay.php?fid=8)
+--- Thread: Writing string with grp.write or grp.update fails (/showthread.php?tid=352)



Writing string with grp.write or grp.update fails - jdboer - 24.07.2016

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 :-( )


RE: Writing string with grp.write or grp.update fails - admin - 25.07.2016

This one is the latest for LM2 (2015.09.17):
https://dl.openrb.com/lm-15.09/lm2-at91.img