The
Refresh method is an asynchronous operation, it means that after the method is terminated the data are not necessarily updated. The method only causes the data transfer and after completed, the
onDataReceive event is triggered.
The
Refresh method
need not to be called if the "
Data refresh enabled" configurator is checked, because the data are read automatically in this case.
The method can be called even if this configurator is checked - in this case this method alters the period of automatic transmission and one transmission is executed immediately.
This method can be called even in the
INFO system by clicking the "
Actions" button. See "
PmaRoot > Permissions > InfoEdit" permission.
Note for the
PmOpcUaClient communication driver:
The
Refresh method works for this driver only if the "
Data refresh enabled" configurator is checked - in this case one transfer is made immediately.
If is not checked, then no change communication is registered and
Refresh method is not working.
It is then better to use the communication message "
1 = ReadData" instead of this method.