EasyManua.ls Logo

National Instruments NI cDAQ-9178 User Manual

National Instruments NI cDAQ-9178
107 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #66 background imageLoading...
Page #66 background image
5-12 | ni.com
Chapter 5 Counters
Large Range of Frequencies with Two Counters
By using two counters, you can accurately measure a signal that might be high or low frequency.
This technique is called reciprocal frequency measurement. When measuring a large range of
frequencies with two counters, you generate a long pulse using the signal to measure. You then
measure the long pulse with a known timebase. The cDAQ chassis can measure this long pulse
more accurately than the faster input signal.
Note Counter 0 is always paired with Counter 1. Counter 2 is always paired with
Counter 3.
You can route the signal to measure to the Source input of Counter 0, as shown in Figure 5-14.
Assume this signal to measure has frequency fx. NI-DAQmx automatically configures Counter 0
to generate a single pulse that is the width of N periods of the source input signal.
Figure 5-14. Large Range of Frequencies with Two Counters
Next, route the Counter 0 Internal Output signal to the Gate input of Counter 1. You can route a
signal of known frequency (fk) to the Counter 1 Source input. Configure Counter 1 to perform a
single pulse-width measurement. Suppose the result is that the pulse width is J periods of the fk
clock.
From Counter 0, the length of the pulse is N/fx. From Counter 1, the length of the same pulse is
J/fk. Therefore, the frequency of fx is given by fx = fk *(N/J).
Source Out
Counter 0
Source
Gate
Out
Counter 1
Signal to
Measure (fx)
Signal of Known
Frequency (fk)
CTR_0_SOURCE
(Signal to Measure)
CTR_0_OUT
(CTR_1_GATE)
CTR_1_SOURCE
Interval
to Measure
0123 N
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com

Table of Contents

Question and Answer IconNeed help?

Do you have a question about the National Instruments NI cDAQ-9178 and is the answer not in the manual?

National Instruments NI cDAQ-9178 Specifications

General IconGeneral
Chassis TypeCompactDAQ
Number of Slots8
USB InterfaceUSB 2.0
Dimensions25.7 cm x 9.4 cm x 9.4 cm (10.1 in. x 3.7 in. x 3.7 in.)
Host InterfaceUSB
Power Supply100-240 VAC
Operating Temperature0 to 55 °C
Storage Temperature-40 to 70 °C
Supported modulesC Series I/O modules
Storage temperature range-40 to 70 °C
Power requirements100-240 VAC
Maximum Sample Rate1 MS/s per channel
Maximum sampling rate1 MS/s per channel

Summary

Getting Started with the cDAQ Chassis

Safety Guidelines

Essential safety precautions, including hazardous voltages and EMC.

Hardware Symbol Definitions

Explanation of symbols marked on the cDAQ chassis.

Unpacking

Procedures for safely unpacking and handling the cDAQ chassis to prevent ESD.

Installing the cDAQ Chassis

Step-by-step guide for installing the cDAQ chassis and software.

Using the cDAQ Chassis on a Desktop

How to use the chassis on a desktop, including mounting kits.

Mounting the cDAQ Chassis on a Panel

Methods for panel mounting the cDAQ chassis.

Mounting the cDAQ-9174/9178 on a DIN Rail

Instructions for mounting the cDAQ chassis on a DIN rail.

cDAQ Chassis Features

Overview of chassis components like LEDs, USB port, BNC connectors, and grounding screw.

Removing Modules from the Chassis

Instructions for safely removing C Series modules from the chassis.

Using the cDAQ Chassis

Explains chassis interface, STC3, and parallel vs. serial DIO modules.

Analog Input

Analog Input Triggering Signals

How to initiate analog input tasks using triggers (Start, Reference, Pause).

Analog Input Timing Signals

Signals controlling the timing of analog input acquisition.

AI Sample Clock Signal

Controls the timing of AI data sampling from channels.

AI Convert Clock Signal Behavior

How AI convert clocks function for different analog input modules.

AI Module Types

Behavior of Scanned, SSH, Sigma-Delta, and Slow Sample Rate modules.

Analog Output

Analog Output Data Generation Methods

Methods for generating analog output signals (software vs. hardware timed).

Buffered Analog Output

Using onboard FIFO for storing and outputting analog data.

Analog Output Triggering Signals

How to initiate analog output tasks using triggers (Start, Pause).

Analog Output Timing Signals

Signals controlling the timing of analog output generation.

AO Sample Clock Signal

Controls the timing of AO data updates to channels.

Minimizing Output Glitches

Techniques to reduce glitches in analog output signals.

Digital Input/Output and PFI

Digital Input/Output Overview

Basic digital I/O functionality and types of DIO modules.

Digital Input Signals

Triggering, timing, and filtering for digital input operations.

Digital Output Signals

Data generation, triggering, and timing for digital output operations.

PFI and PFI Filters

Using Programmable Function Interface terminals and their filters.

Counters

Counter Input Applications

How counters measure edges, pulses, frequency, period, and position.

Counter Output Applications

How counters generate pulses, pulse trains, and frequencies.

Counter Timing Signals

Signals controlling counter operations like source, gate, and arming.

Other Counter Features

Cascading counters, prescaling, and synchronization modes.

Digital Routing and Clock Generation

Digital Routing

Manages data flow between bus interface and subsystems.

Clock Routing

Circuitry for generating and routing clock signals.

Timebases

Overview of available clock sources like 80 MHz, 20 MHz, and 100 kHz.

Where to Go from Here

Example Programs

Locating and using example programs for NI-DAQmx.

Documentation and Resources

Links to manuals for cDAQ chassis, C Series modules, and NI software.

Training and Support

Information on NI training courses and technical support channels.

NI Services

Services and Resources

Overview of NI's support services including maintenance, warranty, and calibration.

Training and Certification

Programs to enhance application development proficiency and productivity.

Technical Support

Accessing software drivers, KnowledgeBase, and forums for help.

Declaration of Conformity (DoC)

NI's claim of compliance with European directives for EMC and safety.

Related product manuals