Home
Status External Status

Counter Enable Status

Returns the status of the CNTR_EN input of the Q8 data acquisition system.

Library

qctools

Description




The Counter Enable Status block for the Q8 series of I/O cards provides a mechanism for checking the status of the CNTR_EN input of the card. The block queries the CNTR_EN bit of 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

CNTREN

The output reflects the state of the CNTR_EN input. This bit is not affected by CNTR_EN polarity options. Hence, this bit of the Status Register may be used to treat the CNTR_EN line as an extra digital input.

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.

       
Status External Status