hi all,
As subject and as follows ..
Tried all sorts of things but i am stuck.
Any tips .. or help appreciated.
thx
hi all,
As subject and as follows ..
Tried all sorts of things but i am stuck.
Any tips .. or help appreciated.
thx
If you hover over "presentValue" you get two icons on the right
Press the left one and use this as your path for msg.
Yeah, I did that but it doesn't work .. in this case .. that's why i'm stuck.
I've used this method loads of times and it works fine .. but not this time.
I suspect it may be something to do with the lack of 'payload' in the message and have tried different things .. eg .. using topic etc .. but to no avail .. sigh.
yours,
baffled
Have you tried without payload. Meaning instead of "msg.payload.yourpathcopy" -> "msg.yourpathcopy"?
The number behind embedded IP address is constant?
Ah .. you might be on to something .. yes the number is constant and it (payload) only appears only once after deploy .. so it's very easy to miss ..
the msg path is now = options.pointsToRead["192.168.0.111-139377"].input1.presentValue
I believe you may have solved this .. i'll play around a bit more to test it solidly.
well done and many thanks for the help.
m
You have a mistake in the path - "options" is directly under "msg" - there is no "payload" object in between. So it should be:
options.pointsToRead["0.0.0.0.-111"].input1.presentValue
many thanks for your help
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.