Can I use readInterrupt block to control subsystem execution?

Altair Forum User
Altair Forum User
Altair Employee
edited October 2020 in Community Q&A

Submitted by Joe on Sat, 09/12/2009 - 03:46 

Hi, I just want to check & test all the blocks in the library. Okay, let’s say I am using the compound block. If I tick “enabled execution” in the compound block, then can I use the readInterrupt block to control the block execution?

Answers

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited June 2016

    Submitted by Richd on Sat, 09/12/2009 - 03:50.

    If you tick 'Enabled execution' you can use any block expression you like to control it. But the block executes not at the moment of interrupt (as it would if you had ticked 'Execute on Interrupt'), but rather on the next control timer interrupt after occurrence of the peripheral interrupt.