Home
Poll External Interrupt Poll Fuse Interrupt

Poll Analog Interrupts

Polls the analog interrupts of the Q8 data acquisition system.

Library

qctools

Description




The Poll Analog Interrupts block for the Q8 series of I/O cards provides a mechanism for polling the interrupts associated with A/D conversions. It reads the Interrupt Status Register of the Q8 card. An output goes high when the associated interrupt occurs. The block has an option for resetting the interrupt flags after an interrupt occurs. The block polls the Interrupt Status Register each sampling instant. The Poll Interrupts series of blocks may be used in Windows regardless of the status of the Q8 Windows driver.

Block Outputs

ADC03EOC

The 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.

ADC47EOC

The 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.

ADC03RDY

The 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.

ADC47RDY

The 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.

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.

Sample Time

A sample time must be specified for all discrete blocks. The default value extracts the sample time from the RTW Options dialog, under Solver/Fixed step size. A numeric value rather than 'auto' should be specified in this dialog field for this default to make sense.

Clear Flag After Polling

When this option is checked, the block clears the polled bits of the Interrupt Status Register after reading them. This option allows the flags to be repeatedly polled. The outputs will remain high for one sampling instant when this option is checked. Otherwise, an output stays high once it has gone high.

       
Poll External Interrupt Poll Fuse Interrupt