Hi
I tried to use an "inject" to global.Gas > did not work
I tried "change" msg.Gaszähler to the value global.Gas > did not work
I tried "function"var Gas=msg.Gaszähler; flow.set("Gas",Gas);
that works, but I do not know to influence that it does not go into the memory by default but is saved as a file.
Can anyone help me here?
You cannot use inject, you can only get from global and add to the msg using inject.
You CAN use change.
for a function node, you need to use global.set
not flow.set
.
Thanks TotallyInform
so i have change node the other way round.
It's also a bit confusing when you read it.
set global.gas to the value msg.payload.
it should actually read dang:
set global.gas to the value from msg.payload.
Thank you
The algorithm to decide what to show would have to be quite complex. Consider: Set global.gas to the value from 7
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.