Jump to content

boza

Members
  • Posts

    2
  • Joined

  • Last visited

Posts posted by boza

  1. Is there a requirement that it run in the same Event Structure? Could you use a second loop with another one?

    Do you need to prevent the actions in the Timeout event from completing or do you just want to stop them in order to handle the new event right away?

    Thanks for your replies.

    The thing is that all the event cases within the same event structures (including the timeout) handle RS232 interactions. That's why i used the timeout in the same structure. So lets say that an event is triggered while the timeout is running, then the event will have to wait some time for the timeout case code to finish in order to serve it.

    The possibility of using another loop with a timeout in it, must be carried out with some piece of synchronization i suppose. Do you think that this could be done using the synchronization functions?

    Best regards

  2. Hello all,

    i am trying to find the best way of interrupting a timeout event case, in order to provide priority to other event cases

    within the same Event structure.

    The timeout runs at 1000msec and within it i perform some actions, that i would like to interrupt when another event is triggered

    in the same Event structure.

    Any suggestions?

    Best regards

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.