Poll InterruptsPolls all the interrupts of the Q8 data acquisition system for which the associated output port is connected. Libraryqctools Description
The Poll Interrupts block for the Q8 series of I/O cards provides a mechanism for polling any of the interrupt sources of the card. It reads the Interrupt Status Register of the Q8 card. Connecting an output to another block causes that interrupt source to be polled. The output goes high when the associated interrupt occurs. The block has an option for resetting the interrupt flag after an interrupt occurs. The block polls the Interrupt Status Register each sampling instant. Note that one of the more specific Poll Interrupt blocks is generally used, unless a large number of interrupt sources are employed. To prevent warnings from Simulink, put a Terminator block on unused outputs. The Poll Interrupts series of blocks may be used in Windows regardless of the status of the Q8 Windows driver. Refer to the help on the "EXT_INT acts as watchdog" parameter for information on how to have the watchdog timer on one Q8 acts as a watchdog for a set of Q8 cards. Block OutputsENC0FLG1The output goes high when FLG1 of encoder channel 0 goes high. The output is edge-triggered. The value of FLG1 may be configured using an Encoder Input block or the Configure Encoder I/O block. ENC0FLG2The output goes high when FLG2 of encoder channel 0 goes high. The output is edge-triggered. The value of FLG2 may be configured using an Encoder Input block or the Configure Encoder I/O block. ENC1FLG1The output goes high when FLG1 of encoder channel 1 goes high. The output is edge-triggered. The value of FLG1 may be configured using an Encoder Input block or the Configure Encoder I/O block. ENC1FLG2The output goes high when FLG2 of encoder channel 1 goes high. The output is edge-triggered. The value of FLG2 may be configured using an Encoder Input block or the Configure Encoder I/O block. ENC2FLG1The output goes high when FLG1 of encoder channel 2 goes high. The output is edge-triggered. The value of FLG1 may be configured using an Encoder Input block or the Configure Encoder I/O block. ENC2FLG2The output goes high when FLG2 of encoder channel 2 goes high. The output is edge-triggered. The value of FLG2 may be configured using an Encoder Input block or the Configure Encoder I/O block. ENC3FLG1The output goes high when FLG1 of encoder channel 3 goes high. The output is edge-triggered. The value of FLG1 may be configured using an Encoder Input block or the Configure Encoder I/O block. ENC3FLG2The output goes high when FLG2 of encoder channel 3 goes high. The output is edge-triggered. The value of FLG2 may be configured using an Encoder Input block or the Configure Encoder I/O block. ENC4FLG1The output goes high when FLG1 of encoder channel 4 goes high. The output is edge-triggered. The value of FLG1 may be configured using an Encoder Input block or the Configure Encoder I/O block. ENC4FLG2The output goes high when FLG2 of encoder channel 4 goes high. The output is edge-triggered. The value of FLG2 may be configured using an Encoder Input block or the Configure Encoder I/O block. ENC5FLG1The output goes high when FLG1 of encoder channel 5 goes high. The output is edge-triggered. The value of FLG1 may be configured using an Encoder Input block or the Configure Encoder I/O block. ENC5FLG2The output goes high when FLG2 of encoder channel 5 goes high. The output is edge-triggered. The value of FLG2 may be configured using an Encoder Input block or the Configure Encoder I/O block. ENC6FLG1The output goes high when FLG1 of encoder channel 6 goes high. The output is edge-triggered. The value of FLG1 may be configured using an Encoder Input block or the Configure Encoder I/O block. ENC6FLG2The output goes high when FLG2 of encoder channel 6 goes high. The output is edge-triggered. The value of FLG2 may be configured using an Encoder Input block or the Configure Encoder I/O block. ENC7FLG1The output goes high when FLG1 of encoder channel 7 goes high. The output is edge-triggered. The value of FLG1 may be configured using an Encoder Input block or the Configure Encoder I/O block. ENC7FLG2The output goes high when FLG2 of encoder channel 7 goes high. The output is edge-triggered. The value of FLG2 may be configured using an Encoder Input block or the Configure Encoder I/O block. ADC03EOCThe output goes high when the end-of-conversion signal of ADC03 goes high. ADC03 handles analog input channels 0-3. The output is edge-triggered. An end-of-conversion pulse occurs once for each channel converted. ADC47EOCThe output goes high when the end-of-conversion signal of ADC47 goes high. ADC47 handles analog input channels 4-7. The output is edge-triggered. An end-of-conversion pulse occurs once for each channel converted. ADC03RDYThe output goes high when the ready signal of ADC03 goes high. ADC03 handles analog input channels 0-3. The output is edge-triggered. The ready signal goes high only after all the selected channels in this range have been converted. ADC47RDYThe output goes high when the ready signal of ADC47 goes high. ADC47 handles analog input channels 4-7. The output is edge-triggered. The ready signal goes high only after all the selected channels in this range have been converted. CNTROUTThe output goes high when the general purpose counter output goes low. The output is edge-triggered. The falling edge is used because the external CNTR_OUT pin is held high when the counter output is disabled. Hence, a falling edge is the most natural transition on which to interrupt the CPU. WATCHDOGThe output goes high when the watchdog counter output goes low. The output 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. FUSEThe output goes high when the fuse on the Q8 terminal board blows or degrades such that the +5V power on the terminal board falls below 4V. The output is edge-triggered. Note that the fuse also acts as a hard watchdog. Failure of the fuse causes all analog outputs to be zeroed and all digital lines to be pulled high. EXTINTThe output goes high when a rising or falling edge occurs on the EXT_INT line. The "EXT_INT polarity" option selects the active edge of the EXT_INT line. Parameters and Dialog Box |
![]() |
![]() |
||