Home
Fuse Status Encoder Status

Analog Status

Returns the status of the A/D converters on the Q8 terminal board.

Library

qctools

Description




The Analog Status block for the Q8 series of I/O cards provides a mechanism for checking the status of the A/D converters on the Q8 terminal board. The block queries the Status Register each sampling instant. Note that unlike the Interrupt Status Register, the status flags are not latched. The Status series of blocks may be used in Windows regardless of the status of the Q8 Windows driver.

Block Outputs

ADC03EOC

The output reflects the status of the end-of-conversion signal of ADC03. ADC03 handles analog input channels 0-3. An end-of-conversion pulse occurs once for each channel converted. Since these end-of-conversion signals are quite brief (between 120 and 180ns), using the Status block for these flags is not recommended. Use the Poll Interrupts or Poll Analog Interrupts block instead, with the "Clear flags after reading" option checked.

ADC47EOC

The output reflects the status of the end-of-conversion signal of ADC47. ADC47 handles analog input channels 4-7. An end-of-conversion pulse occurs once for each channel converted. Since these end-of-conversion signals are quite brief (between 120 and 180ns), using the Status block for these flags is not recommended. Use the Poll Interrupts or Poll Analog Interrupts block instead, with the "Clear flags after reading" option checked.

ADC03RDY

The output reflects the status of the ready signal of ADC03. ADC03 handles analog input channels 0-3. The ready signal goes high only after all the selected channels in this range have been converted. It remains high until the start of the next conversion sequence.

ADC47RDY

The output reflects the status of the ready signal of ADC47. ADC47 handles analog input channels 4-7. The ready signal goes high only after all the selected channels in this range have been converted. It remains high until the start of the next conversion sequence.

ADC03FST

The output reflects the status of the "first-data" signal of ADC03. ADC03 handles analog input channels 0-3. The "first-data" signal goes high after the first channel has been converted and is available in the A/D FIFO. It remains high until the first conversion result is read from the FIFO and the FIFO pointer advances to the next conversion result.

ADC47FST

The output reflects the status of the "first-data" signal of ADC47. ADC47 handles analog input channels 4-7. The "first-data" signal goes high after the first channel has been converted and is available in the A/D FIFO. It remains high until the first conversion result is read from the FIFO and the FIFO pointer advances to the next conversion result.

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.

       
Fuse Status Encoder Status