Hi,
 
Within a capsule state diagram, in an state transition Action, i tried to create a periodic timer in this way:

m_periodicTimerID = periodicTimer.informEvery( RTTimespec((float) DELTA_T ,0));

if(m_periodicTimerID == NULL){

log.log("error requesting a periodic timer");

i don't receive the error message, and in fact the timer fires but only once; i.e. it is not periodic and it behaves that the simple timer:

periodicTimer.informIn( RTTimespec((float) DELTA_T ,0));

NOTE 1: I'm just simulating on the host (NT/Visual Studio/ C++/ 6.0).

NOTE: I'm using Rose Real Time 2001A.04.00 Build 6.3.120.0 (i think it the last version/patch, isn't it?).

Thank you in advance for your help!

 

Reply via email to