I have some issues with overwriting input text.
An inject node triggers after 1sec and should have an interval of 1-2sec thereafter.
It is wired to a function node. The function node gets a value from global context and sends it to the input text. The input text is then wired to another function node. This function node writes to said global context.
The reason for the continuous interval of the inject node is that said global context can be written to by modbus. So, the input text field must reflect this. Is there a way to prevent the overwrite of the input text field while typing?
I don't use dashboard (which sounds like your using)
there are better people here then I - I don't have much experience with dashboard, but just a thought.
could you add a switch on the dashboard (to denote you making a change) that blocks any changes to the text box from within the flow - then click the switch again - to re-enable the updates.
or maybe hang a focus event from the text box that does the same thing?
Use a filter (rbe) node to only allow the update msg to be sent to the dashboard if the value from modbus has actually changed.
I always forget about the built in nodes for stuff like this.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.