Skip to main content
Rghai.1
Associate
October 22, 2021
Solved

hello , i want to write a variable from a flow but that does not work with me .

  • October 22, 2021
  • 1 reply
  • 1467 views

this is my basic flow

This topic has been closed for replies.
Best answer by simosilva

Unfortunately, for what I know, write panel is the easiest way to do so.

Other ways are using some kind of boxes or sliders from NodeRED "hacked" to interact correctly with STM nodes.

If you want to try this way, first step is to analize payloads of messages coming in and out nodes, to do so you have to use debug blocks, the ones in green in my posted photo.

Good luck!

1 reply

simosilva
Senior
October 22, 2021

0693W00000FDTJSQA5.pngThis is my flow and it works good!

"Variabili" is just your "myVariable", and notice the difference between the one with the three lines and the one with the gear, the first is just the "link" to the axf file, the second one is the one that effectively read and give access to the single variables.

The write panels than access the same variables but from here you can also change their values.

Hope it helps!

Rghai.1
Rghai.1Author
Associate
October 22, 2021

thank u for ur help

i just want to write my variable without write panel .

simosilva
simosilvaBest answer
Senior
October 23, 2021

Unfortunately, for what I know, write panel is the easiest way to do so.

Other ways are using some kind of boxes or sliders from NodeRED "hacked" to interact correctly with STM nodes.

If you want to try this way, first step is to analize payloads of messages coming in and out nodes, to do so you have to use debug blocks, the ones in green in my posted photo.

Good luck!