weird did the json change? xD
No json it’s the same
what do you get without the split? (might have to turn back to string isntead of dataset)
In version 8.1.9 return 3 true:
in version 8.1.7 error espression:
I don’t know for first the difference from 8.1.9 and 8.1.7 (json is the same), and second why return in 8.1.9 only 3 bool…
i have no idea xd
acutally it seems my script no longer works either, no idea why xD
i didnt change anything
Ok , i make some test and i will tell you if i find the solution
Thanks a lot
it surely works in an expression binding in perspective so… idk why it doesnt in the derrived tag
you might have to contact support to let them have a look.
jsonget{{source}) seems to be acting really weird
Ok thanks… it’s strange…
Can you change your json to use ’ (single) instead of " (double)?
after doing that it seems to work again.
altho now it works with " too so i have no idea i didnt change anything xD
how about not using json? xD
Try with single but is the same....
What you mean?
idk how did you make that json? cant you turn it into arrays at the root before it gets turned into jsonstrings?
Json arrive from OPC tag direcly from S7-1500
How?
To make more optimized connection OPC with only one connection(UDT), i read Json document and than i read/write single data inside.
yeah i guess that cant be helped then.
You will have to ask support as the derived tag with json seems te be performing very inconistent
Ok thanks a lot…
It seems to me that, at least for now, you will have to use individual tags for each of the boolean elements. Our tag system doesn’t seem to have an implicit conversion from JSON Array to ${DataType}Array.
Ok Thanks, i use so individual tag for each element… Thanks
FWIW I made a ticket to see if we can implement these conversions in the future so this works more as you’d expect.
its weird that for me this
split(substring(jsonGet({source},“DI.Auto.ARR”),‘1’,len(jsonGet({source},“DI.Auto.ARR”))-1),",")
sometimes works but other times not. evnetho im not doing anything else with the tags
Thanks a lot…