Hi @Martin and @joeylink,
I am starting a new thread because my first one is becoming a little too long and doesn’t really apply anymore to nodejs.
Currently I am sending information as 1 second timestamp resolution to multiple data sources.
My main goal is to send the JSON data to data alias ‘SGD1’ (more like a “dummy” alias; it doesn’t really contain number values) and then separate the data and send each part to different aliases (‘ADC1’ and ‘ADC2’).
My JSON data looks like this:
Note that ADC1 and the ADC2 are my data source aliases that I am sending to.
My Lua Script looks like this (with an error):
I am not getting any values right now in ADC1 or ADC2, but I am still getting a value of “1” in data alias SGD1:
Could you please help?
One last note - This is my code to get to the JSON-formatted string (which works fine):