Home
Counter Interrupt External Interrupt

Watchdog Interrupt

Asynchronously invokes the appropriate function-call subsystem when a watchdog interrupt occurs on the Q8 data acquisition system occurs.

Library

qctools

Description




The Interrupts block for the Q8 series of I/O cards provides a mechanism for handling asynchronous watchdog interrupts. Attaching a function-call subsystem to an output causes the function-call subsystem to be executed as soon as the watchdog interrupt occurs. The code executes asychronously from the rest of the model. The timing of its execution is not governed by the sampling period of the system.

Note that the Asynchronous Interrupt blocks may only be used in Windows if the Q8 Windows driver has been converted to an RTX driver using Convert To RTX in the RTX Properties control panel. One of the Time Base blocks is also required in the model for these blocks to be used.

Block Outputs

WATCHDOG

The function-call subsystem attached to this output will execute when the watchdog counter output goes low. The interrupt is edge-triggered. The falling edge is used because the external WATCHDOG pin is held high when the watchdog output is disabled. Hence, a falling edge is the most natural transition on which to interrupt the CPU.

Parameters and Dialog Box




Board Number

The board number of the I/O card. If there is only one Q8 board in your system, then the board number should be zero. The second Q8 board in your system is board number 1, etc.

       
Counter Interrupt External Interrupt