# OPCUA Driver with fixed Delay

**URL:** <https://forum.inductiveautomation.com/t/opcua-driver-with-fixed-delay/5319>\
**Category:** Module Development\
**Created:** [October 24, 2012, 10:37am UTC](https://forum.inductiveautomation.com/t/opcua-driver-with-fixed-delay/5319 "2012-10-24T10:37:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![GermainN](https://avatars.discourse-cdn.com/v4/letter/g/87869e/32.png) [@GermainN](https://forum.inductiveautomation.com/u/GermainN)\
**Post date:** [October 24, 2012, 10:37am UTC](https://forum.inductiveautomation.com/t/opcua-driver-with-fixed-delay/5319/1 "2012-10-24T10:37:44Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [October 24, 2012, 2:58pm UTC](https://forum.inductiveautomation.com/t/opcua-driver-with-fixed-delay/5319/2 "2012-10-24T14:58:59Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![GermainN](https://avatars.discourse-cdn.com/v4/letter/g/87869e/32.png) [@GermainN](https://forum.inductiveautomation.com/u/GermainN)\
**Post date:** [October 24, 2012, 3:15pm UTC](https://forum.inductiveautomation.com/t/opcua-driver-with-fixed-delay/5319/3 "2012-10-24T15:15:34Z")

</div>

Great !  
Thanks for your answer 🙂
