Hi Dojo
I have a http device that can receive commands.
When I send a command to change a parameter and I get confirmation that the command is received. The device can take up to a few seconds to process that request and change its parameter.
Now the procedure to send a command is.
1. Send the command.
2. Send a get request to get the new values
So when I send my get parameter after the command I still get the old value back, causing the table to be out of sync.
How should I poll this parameter, to get the correct value?
Hi Arne, as Tom already suggested, you could implement a buffer mechanism to retry polling until the value has changed. Alternatively, if we are only talking about a delay of 1sec for example, you could also add a wait (sleep) after the set was performed. Note that in that case, the entire element would be blocked.
The web interface polls the data of the current page every second, but to implement this in DataMiner seems like a bit too much overhead.