Hide thumbs Also See for C Series:

Advertisement

Quick Links

NI-9361
Getting Started
2024-01-16

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the C Series and is the answer not in the manual?

Questions and answers

Summary of Contents for NI C Series

  • Page 1 NI-9361 Getting Started 2024-01-16...
  • Page 2: Table Of Contents

    NI-9361 Front End Control........
  • Page 3: Ni-9361 Pinout

    NI-9361 Getting Started NI-9361 Pinout The NI-9361 provides connections for eight digital input channels for the embedded counters. DI3+ DI3- DI2+ DI2- DI6- DI6+ DI7+ DI7- DI0+ DI0- DI1+ DI1- DI5- DI5+ DI4+ DI4- Table 1. Signal Descriptions Signal Description...
  • Page 4 NI-9361 Getting Started Signal Description Negative digital input signal connection for differential measurements No connection Voltage supply output connection Voltage supply input connection ni.com...
  • Page 5: Connecting An External Power Supply

    NI-9361 Getting Started Connecting an External Power Supply You can optionally connect an external power supply to the NI-9361 to provide current for the devices that you connect to the module. Install a 2 A maximum, fast- acting fuse between the external power supply and the Vsup terminal.
  • Page 6: Connecting Single-Ended Devices

    NI-9361 Getting Started Connecting Single-Ended Devices You can connect single-ended devices, such as TTL or CMOS to the NI-9361. For single-ended connections, connect the device out to the DI+ terminal on the NI-9361. Do not connect the DI- terminal on the NI-9361 for single-ended connections.
  • Page 7: Connecting Single-Ended Devices With Open Collector Outputs

    NI 9361 An open collector device does not actively drive the signal high and relies on an external pull-up. The NI-9361 provides a 5 V pull-up on each DI+ pin that can be enabled individually to pull the signal high.
  • Page 8: Connecting Differential Devices

    Connecting Differential Devices You can connect differential devices to the NI-9361. For differential connections, connect the positive device out to the DI+ terminal on the NI-9361 and the negative device out to the DI- terminal on the NI-9361. Figure 4. Connecting a Differential Device...
  • Page 9: Connecting Incremental Encoders

    Z, which is also referred to as the index channel. A high level on channel Z causes the counter to be reloaded with a specific value in a specific phase of a cycle. Connecting Single-Ended Incremental Encoders You can connect single-ended incremental encoders to the NI-9361. Figure 5. Connecting a Single-Ended Incremental Encoder Vsup...
  • Page 10 NI-9361 Getting Started Figure 6. Connecting a Differential Incremental Encoder Vsup External Power Supply – Vout DI0+ A– A– DI0– DI4+ Differential Encoder B– DI4– Index+ DI7+ Index– DI7– NI 9361 ni.com...
  • Page 11: Ni-9361 Front End Control

    NI-9361 Getting Started NI-9361 Front End Control The NI-9361 has 8 inputs that support both single-ended and differential modes. You can configure each of the input signals as the input to any of the 8 counters on the module. The following figure shows the circuitry of one of the digital inputs.
  • Page 12 DI- terminals. Programmable Digital Filter The NI-9361 has a digital filter on each of the digital input lines to filter unwanted glitches on the digital input signal. You can configure the following filter properties for each of the input lines: Enable or disable the digital filter.
  • Page 13: Counter Input Measurements

    Edge Counting You can take edge counting measurements with the NI-9361. The counter counts the number of active edges on a signal. The NI-9361 returns the current count value when the counter is read. The following figure shows an example of edge counting.
  • Page 14 NI-9361 Getting Started Counter Reset—You can configure the counter to reset the count to a specific ■ value in response to a hardware signal using the following Reset Trigger properties: Enable or disable the Reset Trigger feature. ■ Input terminal of the signal to be used as the Reset Trigger.
  • Page 15: Pulse/Duty Cycle Measurement

    The counter measures the high and low durations of a pulse on a signal. Using the measured values, you can calculate the duty cycle of the signal. The NI-9361 returns the current measurement values when the counter is read. The measurement values consist of the high and low times of the pulse in the number of ticks of the 100 MHz counter timebase.
  • Page 16 Channel Settings You can configure the following counter properties: Input terminal of the signal-to-measure. ■ The active edge, rising or falling, the NI-9361 begins the measurement. ■ Maximum measurable period. ■ You can set the maximum measurable period of the signal. If the input ■...
  • Page 17: Frequency/Period Measurement

    Frequency/Period Measurement You can take frequency or period measurements with the NI-9361. The counter measures and returns the period information of a signal. The NI-9361 supports a few frequency measurement methods depending on the settings set by the user. The NI-9361 returns the current period measurement values when the counter is read.
  • Page 18 NI-9361 Getting Started until a valid measurement is detected, the counter overflows, or the user stops the counter. Measurement Method You can configure the following properties to configure the frequency measurement method: Divisor—Divisor specifies the number of periods of the input signal to ■...
  • Page 19 NI-9361 Getting Started Figure 13. Measurement with Divisor set to 3 Counter Armed Counter Read Signal to Measure Counter Timebase Counter Value Current Measurement Read Value The following figure shows an example of Measurement Time. Figure 14. Measurement using Measurement Time...
  • Page 20 NI-9361 Getting Started Figure 16. Measurement Time completes before Divisor Counter Armed Counter Read Divisor Count = 3 Measurement Time Signal to Measure Counter Timebase Counter Value Current Measurement Read Value The following table shows the summary of different frequency measurement methods.
  • Page 21: Pulse Width Measurement

    Pulse Width Measurement You can take pulse width measurements with the NI-9361. The counter measures and returns the duration of a pulse on a signal. The NI-9361 returns the current pulse width measurement value when the counter is read. The measurement values consist of the pulse width duration of the signal-to-measure in ©...
  • Page 22 You can configure the following counter properties: Input terminal of the signal-to-measure. ■ The active edge, rising or falling, the NI-9361 begins the measurement. To ■ measure a high pulse, set the active edge to rising. To measure a low pulse, set the active edge to falling.
  • Page 23: Two-Edge Separation Measurement

    The ending event is an active edge on a second signal. The NI-9361 returns the current time between the two events in the number of ticks of the 100 MHz counter timebase when the counter is read. The following figure shows an example of two-edge separation measurement.
  • Page 24: Incremental Encoder Measurements

    Incremental Encoder Measurements You can perform position and velocity measurements using incremental encoders with the NI-9361, such as the quadrature and two-pulse encoders. Quadrature Encoder Overview A quadrature encoder can have up to three channels: A, B, and Z. When channel A leads channel B in a quadrature cycle, the counter increments.
  • Page 25 NI-9361 Getting Started X2 Encoding The counter increments or decrements on each edge of channel A, depending on which channel leads the other. Each cycle results in two increments or decrements, as shown in the following figure. Figure 20. X2 Encoding...
  • Page 26: Position Measurement

    Position Measurement You can take position measurements with the NI-9361. The counter measures position using an encoder. The NI-9361 returns the current encoder count value when the counter is read. The following figure shows an example of an encoder position measurement using a quadrature encoder.
  • Page 27: Velocity Measurement

    Refer to your software documentation for more information on the arming of the counter. Velocity Measurement You can take velocity measurements with the NI-9361. © National Instruments...
  • Page 28 NI-9361 Getting Started The counter measures the amount of time that elapses between changes in the encoder count value. The concept is similar to a period measurement and the counter supports the same Measurement Time and Divisor settings described for period measurement mode.
  • Page 29 NI-9361 Getting Started For a two-pulse encoder, when a pulse is detected on Channel A, a positive value is returned. When a pulse is detected on Channel B, a negative value is returned. The following figure shows an example of velocity measurement using a two-pulse encoder.
  • Page 30 NI-9361 Getting Started Measurement Method You can configure the following properties to configure the encoder velocity measurement method: Divisor ■ Measurement Time ■ Both the Divisor and Measurement Time ■ Refer to the Frequency/Period Measurement section for detailed information about these settings.
  • Page 31: Counter Signal Routing

    NI-9361 Getting Started Counter Signal Routing The NI-9361 has flexible signal routing features. The input signals to the counters can be routed from any of the eight digital input terminals. You can change the signal routing by configuring the counter properties.
  • Page 32 NI-9361 Getting Started Measure Signal Counter ment ni.com...
  • Page 33: Ni-9361 Block Diagram

    SE Threshold NI 9361 The NI-9361 is a channel-to-earth isolated counter input module that provides 8 flexible digital input channels that route to 8 embedded counters. The inputs are designed for connection to encoders, hall-effect sensors, as well as many other types of sensors with digital outputs.

This manual is also suitable for:

Ni-9361

Table of Contents