OPCUA Driver with fixed Delay

Hi,
I saw that in the new SDK Programmer’s guide :

Fixed Delay vs. Fixed Rate

In my code, i have this :
getDriverContext().getSharedExecutionManager().register(eICTDriver.class.getSimpleName(),
“eICTDriverUpdater”, new Runnable() {
@Override
public void run() {
// Déclaration de la fonction de mise à jour
updateConditions();
}
}, Integer.valueOf(10), TimeUnit.SECONDS);
But I don’t know where to specify I want to use the fixed rate.

Can anybody help ?

Thanks

If you look at the JavaDoc for ExecutionManager you’ll see there’s a regsiterAtFixedRate(String,String,Runnable,int,TimeUnit) call that can be used to schedule something at fixed rate instead of fixed delay.

Great !
Thanks for your answer :slight_smile: