Home
Encoder Reset (edge-triggered) Measure Average Period

Encoder Reset (edge-triggered with enable)

Resets the count value of an encoder in the Q8 data acquisition system.

Library

qctools

Description




The Encoder Reset Module for the Q8 series of I/O cards provides a mechanism for resetting the encoder count of any encoder input on an installed Q8 I/O card. The encoder is reset by a rising edge at the trigger input when the enable input is non-zero.

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.

Channel(s) to Use

The channel numbers corresponding to each reset value For example, if there are 3 reset values then the entry [4,2,0] assigns value 1 to encoder input 4, value 2 to encoder input 2 and value 3 to encoder input 0. The channel numbers may range from 0 to 7, since there are 8 encoder channels on the Q8 I/O boards.

Reset Value(s)

Value(s) to which to reset the encoder count of each channel specified in the Channel(s) to Use parameter. If Channel(s) to Use is [3,2,0] as above, then an entry of [0,1000,0] for the Reset Value(s) will set encoder channels 3 and 0 to 0, and encoder channel 2 to 1000 when the input is non-zero. A scalar value applies to all channels.

       
Encoder Reset (edge-triggered) Measure Average Period