Hello , I just start with AI and basically it works.
However, I stuck at a simple problem. I can not clear a certain textbox.
After the textbox shows the right string, I would like to clear the textbox
during disconnect the IP connection. I do:
Could it be that
does not clear the hole variable?
I think you got it! Only for a test I implemented a button which just clears the box. And it seems
to works. There must be a buffer which delivers data to the box after disconnect.
How can I flush this buffer or how can I use at least a time delay before clearing the data box?
Pull in another Clock component from the Sensors Drawer.
Call the new one clkDisconnected, with enabled=false.
In the Blocks Editor, pull in a Timer event for the new Clock.
In that Timer event, call your Show_Disconnect procedure and set clkDisconnected.enabled=false.
In the place where you previously called that procedure, set clkDisconnected.enabled=true.