NI 9361 I/O Method Parameters
- Updated2025-04-03
- 9 minute(s) read
Refer to the I/O Methods, that includes the following parameters, which you can use to configure the NI 9361 measurement modes.
Note
The counters operate based on the module's timebase of 100 MHz. Each timebase tick corresponds to 10 ns.
Parameters | Description |
---|---|
Terminal | Source input terminal of the counter. |
Initial Count | Initial counter value once the counter is armed. |
Active Edge | Sets the triggering edge of the input signal. Rising indicates the counter would count on every rising edge and vice versa. |
Direction | Sets the count direction to either count up, count down or to be externally controlled. |
Direction Terminal | Configures the external terminal that is used to control the count direction. This needs to be set when Direction is configured to "Externally Controlled". If not set, the parameter value defaults to DI0 terminal. |
External Direction Count Up When | Configures whether the counter would count up when the Direction Terminal is 'HIGH' or to count up when the Direction Terminal is 'LOW'. If not set, the parameter value defaults to count up when high. |
Reset Enable | Enables or disables Hardware Reset. |
Reset Terminal | Configures the reset terminal that is used to reset the counter. This needs to be set when Hardware Reset is enabled. If not set, the parameter value defaults to DI0 terminal. |
Reset Count | Sets the count value to load to the counter upon reset. If not set, the parameter value defaults to zero. |
Reset Active Edge | Sets the triggering edge of the reset signal. If not set, the parameter value defaults to reset on the rising edge. |
Pause Enable | Enables or disables the pause trigger. |
Pause Terminal | Configures the pause terminal that is used to pause the counter. This needs to be set when pause trigger is enabled. If not set, the parameter value defaults to DI0 terminal. |
Pause When | Configures the pause trigger to either pause the counter when the pause terminal is 'HIGH' or 'LOW'. If not set, the parameter value defaults to pause when high. |
Parameters | Description |
---|---|
Terminal | Source input terminal of the counter. |
Initial Count | Initial counter value once the counter is armed. |
Active Edge | Sets the triggering edge of the input signal. Rising indicates the counter would count on every rising edge and vice versa. |
Parameters | Description |
---|---|
Terminal | Source input terminal of the counter. |
Starting Edge | Configures the triggering edge of the input signal. |
Measurement Time | Configures the amount of time over which to measure and average the period of the input signal. This value is specified in units of counter timebase ticks. Set to 0 to disable the Measurement Time, in which case the measurement will be completed using only the Divisor setting. |
Divisor | Configures the number of periods of the input signal to measure and average to determine the input signal period. Set to 0 to disable the Divisor, in which case the measurement will be completed using only the Measurement Time setting. |
Maximum Measurable Period | Configures the maximum (slowest) period input signal that can be measured. If the actual input signal period is longer than this value, the measurement will timeout and the counter returns a value of 0. This value is specified in units of counter timebase ticks. Set this value to 0 to disable enforcing the maximum period. |
Note Setting both
Measurement Time and Divisor to 0 is
invalid, and will cause the counter to always return a value of 0.
Parameters | Description |
---|---|
Terminal | Source input terminal of the counter. |
Starting Edge | Configures the triggering edge of the input signal. |
Maximum Measurable Period | Configures the maximum (slowest) period input signal that can be measured. If the actual input signal period is longer than this value, the measurement will timeout and the counter returns a value of 0. This value is specified in units of counter timebase ticks. Set this value to 0 to disable enforcing the maximum period. |
Parameters | Description |
---|---|
Terminal | Source input terminal of the counter. |
Starting Edge | Configures the triggering edge of the input signal. |
Maximum Measurable Period | Configures the maximum (slowest) period input signal that can be measured. If the actual input signal period is longer than this value, the measurement will timeout and the counter returns a non-zero value for the high pulse and a value of 0 for the low pulse if the actual signal is high during timeout. The counter returns a non-zero value for the low pulse and a value of 0 for the high pulse if the actual signal is low during timeout. This value is specified in units of counter timebase ticks. Set this value to 0 to disable enforcing the maximum period. |
Parameters | Description |
---|---|
Terminal | Source input terminal of the counter. |
Starting Edge | Configures the triggering edge of the input signal. |
Maximum Measurable Period | Configures the maximum (slowest) period input signal that can be measured. If the actual input signal period is longer than this value, the measurement will timeout and the counter returns a value of 0. This value is specified in units of counter timebase ticks. Set this value to 0 to disable enforcing the maximum period. |
Parameters | Description |
---|---|
First Terminal | First source input terminal of the counter. |
First Edge | Configures the triggering edge of the first signal. |
Second Terminal | Second source input terminal of the counter. |
Second Edge | Configures the triggering edge of the second signal. |
Maximum Measurable Separation | Configures the maximum separation between the first input signal and the second input signal that can be measured. If the actual input signal separation is longer than this value, the measurement will timeout and the counter returns a value of 0. This value is specified in units of counter timebase ticks. Set this value to 0 to disable enforcing the maximum separation. |
Parameters | Description |
---|---|
A Terminal | A input terminal of the counter. |
A Invert Polarity | Configures the module to invert the A signal. |
B Terminal | B input terminal of the counter. |
B Invert Polarity | Configures the module to invert the B signal. |
Initial Position | Initial counter value once the counter is armed. |
Decoding Type | Configures the decoding type to either x1, x2 or x4. |
Z Index Enable | Enables or disables the Z Index. |
Z Terminal | Configures the Z terminal for the Z index. This needs to be set when Z Index is enabled. If not set, the parameter value defaults to DI0 terminal. |
Z Invert Polarity | Configures the module to invert the Z signal. If not set, the parameter value defaults to not inverting the Z signal. |
Z Index Value | Configures the counter value to be loaded when the Z Index is triggered. If not set, the parameter value defaults to not zero. |
Z Index Phase | Configures the Z Index phase in which the Z index would be triggered. If not set, the parameter value defaults to trigger when A signal is low and B signal is low. |
Parameters | Description |
---|---|
A Terminal | A input terminal of the counter. |
A Invert Polarity | Configures the module to invert the A signal. |
B Terminal | B input terminal of the counter. |
B Invert Polarity | Configures the module to invert the B signal. |
Initial Position | Initial counter value once the counter is armed. |
Reset Enable | Enables or disables Hardware Reset. |
Reset Terminal | Configures the reset terminal that is used to reset the counter. This needs to be set when Hardware Reset is enabled. If not set, the parameter value defaults to DI0 terminal |
Reset Position | Sets the count value that would be loaded to the counter upon reset. If not set, the parameter value defaults to zero. |
Reset Active Edge | Sets the triggering edge of the reset signal. If not set, the parameter value defaults to reset on rising edge. |
Parameters | Description |
---|---|
A Terminal | A input terminal of the counter. |
A Invert Polarity | Configures the module to invert the A signal. |
B Terminal | B input terminal of the counter. |
B Invert Polarity | Configures the module to invert the B signal. |
Initial Position | Initial counter value once the counter is armed. |
Parameters | Description |
---|---|
A Terminal | A input terminal of the counter. |
A Invert Polarity | Configures the module to invert the A signal. |
B Terminal | B input terminal of the counter. |
B Invert Polarity | Configures the module to invert the B signal. |
Decoding Type | Configures the decoding type to either x1, x2 or x4. |
Measurement Time | Configures the amount of time over which to measure and average the period of the input signal. This value is specified in units of counter timebase ticks. Set to 0 to disable the Measurement Time, in which case the measurement will be completed using only the Divisor setting. |
Divisor | Configures the number of encoder count periods to measure and average to determine the encoder input period (velocity). Set to 0 to disable the Divisor, in which case the measurement will be completed using only the Measurement Time setting. |
Maximum Measurable Count Period | Configures the maximum (slowest) period between encoder input counts that can be measured. If the actual time between encoder counts is longer than this value, the measurement will timeout and the counter returns a value of 0. This value is specified in units of counter timebase ticks. Set this value to 0 to disable enforcing the maximum period. |
Note Setting both
Measurement Time and Divisor to 0 is
invalid, and will cause the counter to always return a value of 0.
Parameters | Description |
---|---|
A Terminal | A input terminal of the counter. |
A Invert Polarity | Configures the module to invert the A signal. |
B Terminal | B input terminal of the counter. |
B Invert Polarity | Configures the module to invert the B signal. |
Measurement Time | Configures the amount of time over which to measure and average the period of the input signal. This value is specified in units of counter timebase ticks. Set to 0 to disable the Measurement Time, in which case the measurement will be completed using only the Divisor setting. |
Divisor | Configures the number of encoder count periods to measure and average to determine the encoder input period (velocity). Set to 0 to disable the Divisor, in which case the measurement will be completed using only the Measurement Time setting. |
Maximum Measurable Count Period | Configures the maximum (slowest) period between encoder input counts that can be measured. If the actual time between encoder counts is longer than this value, the measurement will timeout and the counter returns a value of 0. This value is specified in units of counter timebase ticks. Set this value to 0 to disable enforcing the maximum period. |