10-03-2023 07:39 AM
Hello Everyone,
I have a PXI-6624 Counter/Timer Module. This is User Manuel link.
According to user manuel, input-output connections and pin assignments are shown below. I want to read PWM frequency and duty cycle by using input connections and generate PWM signal by using output connection. In pin assignments, there is there different things (source, gate and aux). What is the difference between these connection types? Could you explain with an example for each?
Thank you!
10-03-2023 09:51 PM
Does this old post help?
Quoting, in case links get messed up in the next website refresh:
Here's some info to get started. For *most* counter apps:
SRC - active edges at the SOURCE input cause the value in the count register to change. Default settings are typically that rising edges will increment the count.
GATE - this is a "control" input which has distinctly different effects for different counter modes.
A. When configured for "pause triggering", the digital state of the GATE signal controls whether or not the source edges have an effect. The behavior is like AND'ing the gate signal with the source signal.
B. When configured for hardware-timed sampling, active edges at the GATE input cause the instantaneous count value to be sampled and stored in the data acq buffer.
C. When configured in encoder position measurement mode, the GATE input is typically used to hardware-reset the count to 0 at a specific encoder position.
AUX - another special input. Used as the "B" signal for quadrature encoders and can also be used for two signal separation measurement.
A,B,Z - terminology used for quadrature encoders. These signals map to SRC, AUX, and GATE respectively.
OUT - the terminal where pulses are generated when configured for pulse generation.
-Kevin P, quoting 15-years-ago me