The NI 5911 is warranted against defects in materials and workmanship for a period of one year from the date of
shipment, as evidenced by receipts or other documentation. National Instruments will, at its option, repair or replace
equipment that proves to be defect ive du ring t he wa rranty period . Th is warranty incl udes parts a nd l abor.
The media on which you receive National Instruments software are warranted not to fail to execute programming
instructions, due to defects in materials and workm anship, f or a period of 90 days fr om date of ship ment, as evid enced
by receipts or other documentation. National Instruments will, at its option, repair or replace software media that do
not execute programming instructions if National Instruments receives notice of such defects during the warranty
period. National Instruments does not warrant that the operation of the software shall be uninterrupted or error free.
A Return Material Authorization (RMA) number must be obtained from the factory and clearly marked on the outside
of the package before any equipment will be accepted for warranty work. National Instruments will pay the shipping
costs of returning to the owne r parts whic h are cover ed by warran ty.
National Instruments believes that the information in this manual is accurate. The document has been carefully
reviewed for technical accuracy. In the event that technical or typographical errors exist, National Instruments reserves
the right to make changes to subsequent editions of this document without prior notice to holders of this edition. The
reader should consult National Instruments if errors are suspected. In no event shall National Instrum ents be liable for
any damages arising out of or related to this document or the information contained in it.
XCEPT AS SPECIFIED HEREIN
E
DISCLAIMS ANY WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE
DAMAGES CAUSED BY FAULT OR NEGLIGENCE ON THE PART OF NATIONAL INSTRUMENTS SHALL BE LIMITED TO THE AMOUNT
THERETOFORE PAID BY THE CUSTOMER
DATA, PROFITS, USE OF PRODUCTS, OR INCIDENTAL OR CONSEQUENTIAL DAMAGES, EVEN IF ADVISED OF THE POSSIBILITY THEREOF
This limitation of the liability of National Instruments will apply regardless of the form of action, whether in contract
or tort, including negligence. Any action against Nati onal Inst ruments mus t be brou ght wi thin on e year after the cause
of action accrues. National Instruments shall not be liable for any delay in performance due to causes beyond its
reasonable control. The warranty provided herein does not cover damages, defects, malfunctions, or service failures
caused by owner’s failure to follow the National Instruments installation, operation, or maintenance instructions;
owner’s modification of the product; owner’s abuse, misuse, or negligent acts; and power failure or surges, fire, flood,
accident, actions of third parties, or other events outside reasonable control.
ATIONAL INSTRUMENTS MAKES NO WARRANTIES, EXPRESS OR IMPLIED, AND SPECIFICALLY
, N
ATIONAL INSTRUMENTS WILL NOT BE LIABLE FOR DAMAGES RESULTING FROM LOSS OF
. N
Copyright
Under the copyright laws, this publ ication may not be r eproduced or tr ansmitted in any form, electron ic or mechanical,
including photocopying, recording, storing in an information retrieval system, or translating, in whole or in part,
without the prior written consent of National Instruments Corporation.
USTOMER’S RIGHT TO RECOVER
. C
.
Trademarks
CVI™, LabVIEW™, and VirtualBench™ are trademarks of National Instruments Corporation.
Product and company names listed are trademarks or trade names of their respective companies.
WARNING REGARDING MEDICAL AND CLINICAL USE OF NATIONAL INSTRUMENTS PRODUCTS
National Instruments products are not designed with components and testing intended to ensure a level of reliability
suitable for use in treatment and diagnosis of humans. Applications of National Instruments products involving
medical or clinical treatment can create a potential for accidental injury caused by product failure, or by errors on the
part of the user or application designer. Any use or application of National Instruments products for or involving
medical or clinical treatment must be performed by properly trained and qualified medical personnel, and all trad itional
medical safeguards, equipment, and procedures that are appropriate in the particular situation to prevent serious injury
or death should always continue to be used when National Instruments products are being used. National Instruments
products are NOT intended to be a substitute for any form of esta blishe d process, proced ure, or equipm ent used to
monitor or safeguard human health and safety in medical or clinical treatment.
Conventions
The following conventions are used in this manual:
»
!
bold
bold italic
italic
The » symbol leads you through nested menu items and dialog box options
to a final action. The sequence
Fonts
directs you to pull down the
Options
select
last dialog box.
This icon to the left of bold italicized text denotes a note, which alerts you
to important information.
This icon to the left of bold italicized text denotes a caution, which advises
you of precautions to take to avoid injury, data loss, or a system crash.
This icon to the left of bold italicized text denotes a warning, which advises
you of precautions to take to avoid being electrically shocked.
Bold text denotes the names of menus, menu items, parameters, dialog
boxes, dialog box buttons or options, icons, windows, Windows 95 tabs,
or LEDs.
Bold italic text denotes a note, caution, or warning.
Italic text denotes variables, emphasis, a cross reference, or an introduction
to a key concept. This font also denotes text from which you supply the
appropriate word or value, as in Windows 3.x.
National Instruments Corporation1-1NI 5911 User Manual
Chapter 1Taking Measurements with the NI 5911
CH0
PFI1
PFI2
(DIN)
Figure 1-1. NI 5911 Connectors
Introduction to the VirtualBench-Scope Soft Front Panel
The VirtualBench-Scope soft front panel allows you to interactively
control your NI 5911 as you would a desktop oscilloscope.
The following sections explain how to make connections to your NI 5911
and take simple measurements using the VirtualBench-Scope soft front
panel, as shown in Figure 1-2. To laun ch the soft front panel, select
Start»Programs» National Instruments Scope»VirtualBench-Scope.
National Instruments Corporation1-3NI 5911 User Manual
Chapter 1Taking Measurements with the NI 5911
•Vertical Slider—adjusts the voltage offset for each channel. Use
this slider when you want to adjust multiple waveforms in the
graphics display.
•Trigger Settings Group—controls the conditions required for
signal acquisition; for example, whether to wait for a digital trigger
before acquiring data or whether to acquire data in free-run mode
(no triggering).
•Main Control Bar Buttons
–Run—acquires data continuously. Deselecting this button
places the VirtualBench-Scope in idle mode.
–Single —instructs VirtualBench-Scope to perform a
single-sweep acquisition.
–Auto Setup—configures the scope for the best timebase, volts
per division, and trigger setting for each channel currently
selected with the channel selector.
–Mode —sets the mode of the scope to either volts versus time
or X versus Y mode.
•Zoom Controls—adjusts the view of your display data.
–Scroll Bar—adjusts the zoom view.
–Zoom In—zooms in on displayed data. Each zoom increases
the view by a factor of two.
–Zoom Out—zooms out to full X scale.
Note:Refer to the VirtualBench-Scope Online Help for additional help on the
The following sections describe how to perform simple analog input
measurements using the VirtualBench-SCOPE soft front panel.
Acquiring Data
When you launch VirtualBench-Scope, it operates in continuous run
mode. You can start acquiring signals with VirtualBench-Scope by
completing the following steps:
1.Connect a signal to Channel 0 of your NI 5911.
2.Configure VirtualBench-Scope.
a.Select General Settings from the Edit menu on the front panel.
b.Your NI 5911 is an IVI compliant device. To configure
VirtualBench-SCOPE to use your NI 5911, click on the IVI Device Type Selector icon located in the Settings dialog box,
shown in Figure 1-3.
c.Select N I 5911 as the device you want to use from the Device
List located in the Settings dialog box, shown in Figure 1-3. If
the NI 5911 does not appear in the Device list, make sure you
have properly configured the device using t he Measurement &
Automation Explorer.
This chapter includes an overview of the NI 5911, explains the operation of
each functional unit making up your NI 5911, and describes the signal
connections. Figure 2-1 shows a block diagram of the NI 5911.
National Instruments Corporation2-1NI 5911 User Manual
Chapter 2Hardware Overview
Measurement Fundamentals
The NI 5911 has a differential programmable gain input amplifier (PGIA)
at the analog input. The purpose of the PGIA is to accurately interface to
and scale the signal presented at the connector to the analog-to-digital
converter (ADC) regardless of source impedance, source amplitude, DC
biasing or common-mode noise voltages.
Differential Input
When measuring high dynamic range signals, ground noise is often a
problem. The PGIA of the NI 5911 allows you to make noise-free
measurements of the signal. The NI 5911 PGIA is a differential amplifier.
The PGIA differential amplifier efficiently rejects any noise which may be
present on the ground signal. Internal to the PGIA, the signal presented at
the negative input is subtracted from the signal presented at the positive
input. As shown in Figure 2-2, this subtraction removes ground noise from
the signal. The inner conductor of the BNC is V+, the outer shell is V–.
Input Signal
Ground Noise
Figure 2-2.
Grounding Considerations
The path for the positive signal has been optimized for speed and linearity.
You should always apply signals to the positive input and ground to the
negative input. Reversing the inputs will result in higher distortion and
lower bandwidth.
The negative input of the amplifier is grounded to PC ground through a
10 kΩ resistor. The PGIA is therefore referenced to ground, so it is not
necessary to make any external ground connections. If the device you
connect to the NI 5911 is already connected to ground, ground-loop noise
voltages may be induced into your system. Note that in most of these
situations, the 10 kΩ resistance to PC ground is normally much higher than
the cable impedances you use. As a result, most of the noise voltage occurs
at the negative input of the PGIA where it is rejected, rather than in the
positive input, where it would be amplified.
Input Ranges
To optimize the ADC resolution, you can select different gains for the
PGIA. In this way, you can scale your input signal to match the full input
range of the converter. The NI 5911 PGIA offers seven different input
ranges, from ±0.1 V inputs to ±10 V inputs as shown in Table 2-1.
Table 2-1.
Input Ranges for the NI 5911
RangeInput Protection Threshold
± 10 V±10 V
± 5 V±5 V
± 2 V±5 V
± 1 V±5 V
± 0.5 V±5 V
± 0.2 V±5 V
± 0.1 V±5 V
Input Impedance
The input impedance of the NI 5911 PGIA is 1 MΩ between the positive
and negative input. The output impedance of the device connected to the
NI 5911 and the input impedance of the NI 5911 form an impedance
divider, which attenuates the input signal according to the following
formula:
VsR
in
------------------- -=
V
m
RsRin+
where V
external source, and R
is the measured voltage, Vs is the source voltage, Rs is the
m
is the input impedance.
in
If the device you are measuring has a very large output impedance, your
measurements will be affected by this impedance divider. For example, if
the device has 1MΩ output impedance, your measured signal will be 1/2
the actual signal value.
National Instruments Corporation2-3NI 5911 User Manual
Chapter 2Hardware Overview
Input Bias
The inputs of the PGIA typically draw an input bias current of 1 nA at
25° C. Attaching a device with a very high source impedance can cause an
offset voltage to be added to the signal you measure, according to the
formula R
example, if the device you have attached to the NI 5911 has an output
impedance of 10 kΩ, typically the offset voltage is 10 µV (10 kΩ x 1 nA).
× 1 nA, where Rs is the external source impedance. For
s
Input Protection
The NI 5911 features input-protection circuits that protect both the positive
and negative analog input from damage from AC and DC signals up to
±42V.
If the voltage at one of these inputs exceeds a threshold voltage, V
input clamps to V
minimize input currents to a nonharmful level.
The protection voltage, V
Table 2-1.
AC Coupling
When you need to measure a small AC signal on top of a large DC
component, you can use AC coupling. AC coupling rejects any DC
component in your signal before it enters into the PGIA. Activating AC
coupling inserts a capacitor in series with the input impedance. Input
coupling can be selected via software. See Appendix B, Digitizer Basics,
for more information on input coupling.
Measurement Modes
The ADC samples at a constant rate of 100 MS/s with a vertical resolution
of 8 bits. Using random interleaved sampling (RIS), the sample rate can be
increased to 1 GS/s. In this conventional mode of operation called
oscilloscope mode, the analog bandwidth is 100 MHz.
For sampling signals with lower bandwidth, the ADC can be sourced
through a noise shaping circuit that moves quantization noise on the output
of the ADC from lower frequencies to higher frequencies. A digital lowpass
filter applied to the data removes all but a fraction of the original shaped
quantization noise. The signal is then resampled to a lower sampling
frequency and a higher resolution. This mode, called flexible resolution mode, provides antialiasing protection due to the digital lowpass filter.
and a resistance of 100 kΩ is inserted in the path to
In the oscilloscope mode, the NI 5911 works as a conventional desktop
oscilloscope. This mode is useful for displaying waveforms and for
deriving waveform parameters such as slew rate, rise time, and settling
time. The sample resolution in oscilloscope mode is 8 bits.
The ADC converts at a constant rate of 100 MS/s, but you can choose to
store only a fraction of these samples into memory at a lower rate. This
allows you to store waveforms using fewer data points and decreases the
burden of storing, analyzing, and displaying the waveforms. If you need
faster sampling rates, you can use RIS to effectiv ely increase the sampling
rate to 1 GS/s for repetitive waveforms.
In oscilloscope mode, all signals up to 100 MHz are passed to the ADC.
You need to ensure that your signal is band-limited to prevent aliasing.
Aliasing and other sampling terms are described more thoroughly in
Appendix B, Digitizer Basics.
Flexible Resolution Mode
Flexible resolution mode differs from oscilloscope mode in two ways: it
has higher resolution (sampling rate dependent) and the signal bandwidth
is limited to provide antialiasing protection. This mode is useful for spectral
analysis, distortion analysis and other measurements where high resolution
is crucial. Table 2-2 shows the relationship between the available sampling
rates and the corresponding bandwidth for flex ible resolution mode.
Like any other type of converter that uses noise shaping to enhance
resolution, the frequency response of the converter is only flat to its
maximum useful bandwidth. The NI 5911 has a bandwidth of 4 MHz.
Beyond this frequency , there is a span where the conv erter acts resonant and
where a signal is amplified before being converted. These signals are
attenuated in the subsequent digital filter to prevent aliasing. However, if
the applied signal contains major signal components in this frequency
range, such as harmonics or noise, the converter may overload and signal
data will be invalid. In this case, you will receive an error signaling
overload. You then need to either select a higher input range or attenuate
the signal.
Acquisition System
The NI 5911 acquisition system controls the way samples are acquired and
stored. It is possible for the NI 5911 to acquire data at different rates and
resolutions. There are two sampling methods available in oscilloscope
mode, Real Time and Repetitive (RIS). Using Real Time sampling, you can
acquire data at a rate of 100 MS/n where n is a number from 1 to 4.3
million. RIS sampling can be used on repetitive signals to effectively
extend the sampling rate above 100 MS/s. In RIS mode, you can sample at
rates of 100 MS/s * n where n is a number from 2 to 10. The available
sampling rates, resolutions, and bandwidth for flexible resolution mode are
shown in Table 2-2.
During the acquisition, samples are stored in a circular buffer that is
continually rewritten until a trigger is received. After the trigger is
received, the NI 5911 continues to acquire posttrigger samples if you have
specified a posttrigger sample count. The acquired samples are placed into
onboard memory. The number of posttrigger or pretrigger samples is only
limited by the amount of onboard memory.
The NI 5911 can be calibrated for very high accuracy and resolution due to
an advanced calibration scheme. There are two different calibration
schemes depending on the type of calibration to be performed. Internal calibration, the more common of the two schemes, is performed via a
software command that compensates for drifts caused by environmental
temperature changes. Internal calibration can be executed without any
external equipment connected. External calibration, which is performed
much less frequently, is used to recalibrate the board when the specified
calibration interval has expired. External calibration requires you to
connect an external precision voltage reference to the board.
Internal Calibration
To provide the maximum accuracy independent of temperature changes,
the NI 5911 contains a heater that stabilizes the temperature of the most
sensitive circuitries on the board. However, the heater can accommodate
for temperature changes over a fixed range of ±5 °C. When temperatures
exceed this range, the heater will no longer be able to stabilize the
temperature and signal data will no longer be accurate. When the
temperature range has been exceeded, you will receive a warning and you
will need to perform an internal calibration.
By executing a software command, you can internally calibrate the
NI 5911without connecting any external equipment.
Internal calibration performs the following operations:
1.The heater is set to regulate over a range of temperatures centered at
the current environmental temperature. The circuit components require
a certain amount of time to stabilize at the new temperature. This
temperature stabilization accounts for the majority of the calibration
time.
2.Gain and offset are calibrated for each individual input range.
National Instruments Corporation2-7NI 5911 User Manual
Chapter 2Hardware Overview
3.The linearity of the ADC is calibrated using an internal sinewave
generator as reference.
4.The time-to-digital converter used for RIS measurements is calibrated.
NoteDo not apply high-amplitude or high-frequency signals to the NI 5911 during
internal calibration. For optimal calibration performance, disconnect the input
signal from the NI 5911.
External Calibration
External calibration is used to calibrate the internal reference on the
NI 5911. The NI 5911 is already calibrated when it is shipped from the
factory. Periodically, the NI 5911 will need external calibration to remain
within the specified accuracy. For more information on calibration, contact
National Instruments using the support information in Appendix C,
Customer Communication. For actual intervals and accuracy, refer to
Appendix A, Specifications.
Triggering and Arming
There are several triggering methods for the NI 5911. The trigger can be
an analog level that is compared to the input or any of several digital inputs.
You can also call a software function to trigger the board. Figure 2-3 shows
the different trigger sources. When a digital signal is used, that signal must
be at a high TTL level for at least 40 ns before any triggers will be accepted.
The analog trigger on the NI 5911 operates by comparing the current
analog input to an onboard threshold voltage. This threshold voltage,
triggerValue, can be set within the current input range in 170 steps. This
means that for a ±10 V input range, the trigger can be set in increments of
20 V/170 = 118 mV . There may also be a hysteresisValue associated with
the trigger that can be set in the same size increments. The hysteresisValue
is used to create a trigger window the signal must pass through before the
trigger is accepted. Triggers can be generated on a rising or falling edge
condition as illustrated in the following figures. The four different modes
of operation for the analog trigger are shown in Figures 2-4 to 2-7.
Figure 2-6. High-Hysteresis Analog Triggering Mode
In high-hysteresis analog triggering mode, the trigger is generated when the
signal value is greater than triggerValue, with the hysteresis specified by
hysteresisValue. The signal must cross back below the hysteresisValue
before another trigger is generated.
Hysteresis
Value
Trigger
Value
Trigger
Falling Edge Trigger
Rising Edge Trigger
Figure 2-7. Low-Hysteresis Analog Triggering Mode
In low-hysteresis analog triggering mode, the trigger is generated when the
signal value is less than triggerValue, with the hysteresis specified by
hysteresisValue. The signal must cross back above the hysteresisValue
before another trigger is generated.
Trigger Hold-Off
Trigger hold-off is provided in hardware using a 32-bit counter clocked by
a 25 MHz internal timebase. With this configuration, you can select a
hardware hold-off value of 40 ns to 171.8 s in increments of 40 ns.
National Instruments Corporation2-11NI 5911 User Manual
Chapter 2Hardware Overview
Trigger
Hold-Off
Acquisition
In Progress
When a trigger is received during acquisition, the trigger counter is loaded
with the desired hold-off time. Hardware then rejects all triggers until the
counter has expired or the current acquisition completes, whichever is
longer. The time the acquisition takes to complete from the time a trigger
occurs is (posttrigger samples) / (sample rate(MHz)). If this time is larger
than the trigger hold-off time, the trigger hold-off has no effect because
triggers are always rejected during acquisition. Figure 2-8 shows a timing
diagram of signals when hold-off is enabled and the hold-off time is longer
than posttriggered acquisition.
Posttrigger
Pretrigger
Data
Data
Hold-Off Time in nanoseconds
(Adjustable between 40 ns and 171.8 s)
= Trigger Not Accepted
= Trigger Accepted
Figure 2-8. Timing with Hold-Off Enabled
Memory
Samples are acquired into onboard memory on the NI 5911 before being
transferred to the host computer. The minimum size for a buffer is
approximately 4,000 8-bit oscilloscope mode samples or 1,000 32-bit
decimation mode samples. Software allows you to specify buffers of less
than these minimum sizes. When specifying a smaller buffer size, the
minimum number of points are still acquired into onboard memory, but
only the specified number of points are retrieved into the host computer’s
memory.
The total number of samples that can be stored depends on the size of the
Acquisition Memory Module installed on the NI 5911 and on the size of
each acquired sample.
After the trigger has been received and the posttrigger samples have been
stored, the NI 5911 can be configured to begin another acquisition that is
stored in another memory record on the board. This is a multiple record acquisition. To perform multiple record acquisitions, the NI 5911 is
configured to the number of records to be acquired before starting the
acquisition. The NI 5911 acquires an additional record each time a trigger
is accepted until all the requested records have been stored in memory.
This process does not require software intervention after the initial setup
has been completed.
Between each record, there is a dead time of approximately 5 µs during
which the trigger is not accepted. During this time, the memory controller
is setting up for the next record. There may also be additional dead time
while the minimum number of pretrigger samples are being acquired.
Figure 2-9 shows a timing diagram of a multiple record acquisition.
Trigger
Acquisition
In Progress
Buffer
123
= Trigger Not Accepted (Pretrigger Points Not Acquired)
1
= Trigger Not Accepted (5 µs Dead Time)
2
= Trigger Not Accepted (Acquisition in Progress)
3
= Trigger Accepted
Errors During Acquisition
The NI 5911 has circuitry to detect error conditions that may affect the
acquired data. The NI 5911 uses a heater circuit to maintain constant
temperature on the critical circuitry used in flexible resolution mode. If
this circuit is unable to maintain the temperature within specification, an
error is generated. This error indicates that the temperature of the ADC is
out of range and should be recalibrated by performing an internal
calibration. During acquisition in flexible resolution mode, an error will be
generated if the input to the ADC goes out of range for the converter. The
National Instruments Corporation2-13NI 5911 User Manual
Chapter 2Hardware Overview
fact that this condition has occurred may not be obvious by inspecting the
acquired data due to the digital filtering that takes place on the acquired
data. Therefore an error will occur to let you know that the data includes
some samples that were out of the range of the converter and may be
inaccurate.
RTSI Bus Trigger and Clock Lines
The RTSI bus allows National Instruments boards to synchronize timing
and triggering on multiple devices. The RTSI bus has seven bidirectional
trigger lines and one bidirectional clock signal.
You can program any of the seven trigger lines to provide or accept a
synchronous trigger signal. Y ou can also use any of the RTSI trigger lines
to provide a synchronization pulse from a master board if you are
synchronizing multiple NI 5911 boards.
You can use the RTSI bus clock line to provide or accept a 10 MHz
reference clock to synchronize multiple NI 5911 boards.
PFI Lines
The NI 5911 has two digital lines that can be used to accept a trigger, accept
or generate a reference clock, or output a square wave of programmable
frequency. The function of each PFI line is independent, however, only
one trigger source can be accepted during acquisition.
PFI Lines as Inputs
You can select PFI1 or PFI2 as inputs for a trigger or a reference clock.
Please see the section, Synchronization, for more information about the use
of reference clocks in the NI 5911.
PFI Lines as Outputs
You can select PFI1 or PFI2 to output several digital signals.
Reference Clock is a 10 MHz clock that is synchronous to the 100 MHz
sample clock on the NI 5911. Y ou can use the reference clock to
synchronize to another NI 5911 configured as a slave device or to other
equipment that can accept a 10 MHz reference.
Frequency Output is a 1 kHz digital pulse train signal with a 50% duty
cycle. The most common application of Frequency Output for the NI 5911
is to provide a signal for compensating a passive probe.
The NI 5911 uses a digital phase lock loop to synchronize the 100 MHz
sample clock to a 10 MHz reference. This reference frequency can be
supplied by a crystal oscillator on the board or through an external
frequency input through the RTSI bus clock line or a PFI input.
The NI 5911 may also output its 10 MHz reference on the RTSI bus clock
line or a PFI line so that other NI 5911 boards or other equipment can be
synchronized to the same reference.
While the reference clock input is sufficient to synchronize the 100 MHz
sample clocks, it is also necessary to synchronize clock dividers on each
NI 5911 board so that internal clock divisors are also synchronized on the
different boards. These lower frequencies are important because they are
used to determine trigger times and sample position.
To synchronize the NI 5911 clock dividers, you must connect the boards
with a National Instruments R TSI b us cable. One of the RTSI bus triggers
must be designated as a synchronization line. This line will be an output
from the master board and an input on the slave boards. To synchronize
the boards, a single pulse is sent from the master to the slaves, which gives
them a reference time to clear the clock dividers on the boards. Hardware
arming cannot be used during a multiple board acquisition.
This appendix explains basic information you need to understand about
making measurements with digitizers, including important terminology.
Understanding Digitizers
T o understand how digitizers work, you should be familiar with the Nyquist
theorem and how it affects analog bandwidth and sample rate. You should
also understand terms including vertical sensitivity, analog-to-digital
converter (ADC) resolution, record length, and triggering options.
Nyquist Theorem
The Nyquist theorem states that a signal must be sampled at least twice as
fast as the bandwidth of the signal to accurately reconstruct the waveform;
otherwise, the high-frequency content will alias at a frequency inside the
spectrum of interest (passband). An alias is a false lower frequency
component that appears in sampled data acquired at too low a sampling
rate. Figure B-1 shows a 5 MHz sine wave digitized by a 6 MS/s ADC. The
dotted line indicates the aliased signal recorded by the ADC at that sample
rate.
B
t
Figure B-1.
The 5 MHz frequency aliases back in the passband, falsely appearing as if
it were a 1 MHz sine wave. To prevent aliasing in the passband, a lo wpass
filter limits the frequency content of the input signal above the Nyquist rate.
National Instruments CorporationB-1NI 5911 User Manual
Sine Wave Demonstrating the Nyquist Frequency
Appendix BDigitizer Basics
Analog Bandwidth
+2 V
Analog bandwidth describes the frequency range (in Hertz) in which a
signal can be digitized accurately. This limitation is determined by the
inherent frequency response of the input path which causes loss of
amplitude and phase information. Analog bandwidth is the frequency at
which the measured amplitude is 3 dB below the actual amplitude of the
signal. This amplitude loss occurs at very low frequencies if the signal is
AC coupled and at very high frequencies regardless of coupling. When the
signal is DC coupled, the bandwidth of the amplifier will extend all the way
to the DC voltage. Figure B-2 illustrates the effect of analog bandwidth on
a high-frequency signal. The result is a loss of high-frequency components
and amplitude in the original signal as the signal passes through the
instrument.
+1 V
0 V
–1 V
–2 V
abcabc
Input Signal
Sample Rate
+1/2 V
Bandwidth
InstrumentMeasured Signal
Figure B-2.
Analog Bandwidth
0 V
–1/2 V
Sample rate is the rate at which a signal is sampled and digitized by an
ADC. According to the Nyquist theorem, a higher sample rate produces
accurate measurement of higher frequency signals if the analog bandwidth
is wide enough to let the signal to pass through without attenuation. A
higher sample rate also captures more waveform details. Figure B-3
illustrates a 1 MHz sine wave sampled by a 2 MS/s ADC and a 20 MS/s
ADC. The faster ADC digitizes 20 points per cycle of the input signal
compared with 2 points per cycle with the slower ADC. In this example, the
higher sample rate more accurately captures the waveform shape as well as
frequency .
V ertical sensitivity describes the smallest input v oltage change the digitizer
can capture. This limitation is because one distinct digital voltage
encompasses a range of analog voltages. Therefore, it is possible that a
minute change in voltage at the input is not noticeable at the output of the
ADC. This parameter depends on the input range, gain of the input
amplifier, and ADC resolution. It is specified in volts per LSB. Figure B-4
shows the transfer function of a 3-bit ADC with a vertical range of 5 V
having a vertical sensitivity of 5/8 V/LSB.
National Instruments CorporationB-3NI 5911 User Manual
Appendix BDigitizer Basics
ADC Resolution
Record Length
Triggering Options
ADC resolution limits the accuracy of a measurement. The higher the
resolution (number of bits), the more accurate the measurement. An 8-bit
ADC divides the vertical range of the input amplifier into 256 discrete
levels. W ith a vertical range of 10 V, the 8-bit ADC cannot resolve voltage
differences smaller than 39 mV. In comparison, a 12-bit ADC with 4,096
discrete levels can resolve voltage differences as small as 2.4 mV.
Record length refers to the amount of memory dedicated to storing
digitized samples for postprocessing or display. In a digitizer , record length
limits the maximum duration of a single-shot acquisition. For example,
with a 1,000-sample buffer and a sample rate of 20 MHz, the duration of
acquisition is 50 µs (the number of points multiplied by the acquisition
time/point or 1,000 x 50 ns). With a 100,000-sample buffer and a sample
rate of 20 MHz, the duration of acquisition is 5 ms (100,000 x 50 ns).
One of the biggest challenges of making a measurement is to successfully
trigger the signal acquisition at the point of interest. Since most high-speed
digitizers actually record the signal for a fraction of the total time, they can
easily miss a signal anomaly if the trigger point is set incorrectly. The
NI 5911 is equipped with sophisticated triggering options, such as trigger
thresholds, programmable hysteresis values, and trigger hold-off. The
NI 5911 also has two digital triggers that give you more flexibility in
triggering by allowing you to connect a TTL/CMOS digital signal to trigger
the acquisition.
Making Accurate Measurements
For accurate measurements, you should use the right settings when
acquiring data with your NI 5911. Knowing the characteristics of the
signal in consideration helps you to choose the correct settings. Such
characteristics include:
•Peak-to-peak value—This parameter, in units of volts, reflects the
maximum change in signal voltage. If V is the signal voltage at any
given time, then V
affects the vertical sensitivity or gain of the input amplifier. If you do
not know the peak-to-peak value, start with the smallest gain
(maximum input range) and increase it until the waveform is digitized
using the maximum dynamic range without clipping the signal. Refer
to Appendix A, Specifications, for the maximum input voltage for
your NI 5911 device. Figure B-5 shows that a gain of 5 is the best
setting to digitize a 300 mV, 1 MHz sine wave without clipping the
signal.
+7 LSB
–8 LSB
a. Gain = 1, Input Range
+38.4 LSB
–38.4 LSB
b. Gain = 5, Input Range ±1 V, Number of LSBs = 77
±5 V, Number of LSBs = 15
Appendix BDigitizer Basics
+153 LSB
+127 LSB
0 LSB
–128 LSB
–154 LSB
c. Gain = 20, Input Range ±250 mV, Number of LSBs = 307.2
Acquired Signal
Figure B-5. Dynamic Range of an 8-Bit ADC with Three Different Gain Settings
National Instruments CorporationB-5NI 5911 User Manual
Appendix BDigitizer Basics
•Source impedance—Most digitizers and digital storage oscilloscopes
(DSOs) have a 1 MΩ input resistance in the passband. If the source
impedance is large, the signal will be attenuated at the amplifier input
and the measurement will be inaccurate. If the source impedance is
unknown but suspected to be high, change the attenuation ratio on your
probe and acquire data. In addition to the input resistance, all
digitizers, DSOs, and probes present some input capacitance in parallel
with the resistance. This capacitance can interfere with your
measurement in much the same way as the resistance does.
•Input frequency—If your sample rate is less than twice the highest
frequency component at the input, the frequency components above
half your sample rate will alias in the passband at lower frequencies,
indistinguishable from other frequencies in the passband. If the
signal’s highest frequency is unknown, you should start with the
digitizer’s maximum sample rate to prevent aliasing and reduce the
digitizer’s sample rate until the display sho ws either enough c ycles of
the waveform or the information you need.
•General signal shape—Some signals are easy to capture by ordinary
triggering methods. A few iterations on the trigger level finally render
a steady display . This method works for sinusoidal, triangular , square,
and saw tooth waves. Some of the more elusive waveforms, such as
irregular pulse trains, runt pulses, and transients, may be more difficult
to capture. Figure B-6 shows an example of a difficult pulse-train
trigger.
Ideally, the trigger event should occur at condition one, but sometimes the
instrument may trigger on condition two because the signal crosses the
trigger level. You can solve this problem without using complicated signal
processing techniques by using trigger hold-off, which lets you specify a
time from the trigger event to ignore additional triggers that fall within that
time. With an appropriate hold-off value, the waveform in Figure B-6 can
be properly captured by discarding conditions two and four.
•Input coupling—You can configure the input channels on your
NI 5911 to be DC coupled or AC coupled. DC coupling allows DC and
low-frequency components of a signal to pass through without
attenuation. In contrast, AC coupling removes DC offsets and
attenuates low frequency components of a signal. This feature can be
exploited to zoom in on AC signals with large DC offsets, such as
switching noise on a 12 V power supply. Refer to Appendix A,
Specifications, for input limits that must be observed regardless of
National Instruments CorporationB-7NI 5911 User Manual
C
Customer Communication
For your convenience, this appendix contains forms to help you gather the information necessary
to help us solve your technical problems and a form you can use to comment on the product
documentation. When you contact us, we need the information on the Technical Support Form and
the configuration form, if your manual contains one, about your system configuration to answer your
questions as quickly as possible.
National Instruments has technical assistance through electronic, fax, and telephone systems to quickly
provide the information you need. Our electronic services include a bulletin board service, an FTP site,
a fax-on-demand system, and e-mail support. If you have a hardware or software problem, first try the
electronic support systems. If the information available on these systems does not answer your
questions, we offer fax and telephone support through our technical support centers, which are staffed
by applications engineers.
Electronic Services
Bulletin Board Support
National Instruments has BBS and FTP sites dedicated for 24-hour support with a collection of files
and documents to answer most common customer questions. From these sites, you can also download
the latest instrument drivers, updates, and example programs. For recorded instructions on how to use
the bulletin board and FTP services and for BBS automated information, call 512 795 6990. You can
access these services at:
United States: 512 794 5422
Up to 14,400 baud, 8 data bits, 1 stop bit, no parity
United Kingdom: 01635 551422
Up to 9,600 baud, 8 data bits, 1 stop bit, no parity
France: 01 48 65 15 59
Up to 9,600 baud, 8 data bits, 1 stop bit, no parity
FTP Support
To access our FTP site, log on to our Internet host, ftp.natinst.com, as anonymous and use
your Internet address, such as
documents are located in the
National Instruments CorporationC-1NI 5911 User Manual
joesmith@anywhere.com, as your password. The support files and
/support directories.
Fax-on-Demand Support
Fax-on-Demand is a 24-hour information retrieval system containing a library of documents on a wide
range of technical information. You can access Fax-on-Demand from a touch-tone telephone at
512 418 1111.
E-Mail Support (Currently USA Only)
You can submit technical support questions to the applications engineering team through e-mail at the
Internet address listed below . Remember to include your name, address, and phone number so we can
contact you with solutions and suggestions.
support@natinst.com
Telephone and Fax Support
National Instruments has branch offices all over the world. Use the list below to find the technical
support number for your country. If there is no National Instruments office in your country, contact
the source from which you purchased your software to obtain support.
Photocopy this form and update it each time you make changes to your software or hardware, and use
the completed copy of this form as a reference for your current configuration. Completing this form
accurately before contacting National Instruments for technical support helps our applications
engineers answer your questions more efficiently.
If you are using any National Instruments hardware or software products related to this problem,
include the configuration forms from their user manuals. Include additional pages if necessary.
Name __________________________________________________________________________
Company _ ______________________________________________________________________
Address ________________________________________________________________________
_______________________________________________________________________________
Fax ( ___ ) ________________Phone ( ___ ) __________________________________________
Computer brand____________ Mod el ___________________Processor _____________________
Operating system (include version number) _________________________________ ___________
Clock speed ______MHz RAM _____MBDisplay adapter __________________________
Mouse ___yes ___no Other adapters installed_______________________________________
Hard disk capacity _____MB Brand_________________________________________________
Instruments used __________________________________________________ _______________
______________________________________________________________________________ _
National Instruments hardware product model_____________ Revision ____________________
Configuration ___________________________________________________________________
National Instruments software product ________________ ___ Version ___ __________________
Configuration ___________________________________________________________________
The problem is: __________________________________________________________________
_______________________________________________________________________________
List any error messages: _________________ _________________________________________ _
______________________________________________________________________________ _
The following steps reproduce the problem: ___________________________________________
Record the settings and revisions of your hardware and software on the line to the right of each item.
Complete a new copy of this form each time you re vise your softw are or hardw are configuration, and
use this form as a reference for your current configuration. Completing this form accurately before
contacting National Instruments for technical support helps our applications engineers answer your
questions more efficiently.
National Instruments Products
Hardware revision _______________________________________________________________
Interrupt level of hardware _________________________________________________________
Base I/O address of hardware _______________________________________________________
Programming choice _____________________________________________________________
National Instruments software ______________________________________________________
Other boards in system ___________________________________________________________ _
Base I/O address of other boards ___________________________ _________________________
DMA channels of other boards _____________________________________________________
Interrupt level of other boards ______________________________________________________
Other Products
Computer make and model ________________________________________________________
Microprocessor ______________________________________ ____________________________
Clock frequency or speed __________________________________________________________
Type of video board installed _________________________________ ______________________
Operating system version __________________________________________________________
Operating system mode _________________ _________________________________________ _
Programming language ___________________________________________________________
Programming language version _____________________________________________ ________
Other boards in system ___________________________________________________________ _
Base I/O address of other boards ___________________________ _________________________
DMA channels of other boards _____________________________________________________
Interrupt level of other boards ______________________________________________________
Documentation Comment Form
National Instruments encourages you to comment on the documentation supplied with our products.
This information helps us provide quality products to meet your needs.
Title:NI 59 11 User Manual
Edition Date: October 1998
Part Number: 322150A-01
Please comment on the completeness, clarity, and organization of the manual.
_______________________________________________________________________________
If you find errors in the manual, please record the page numbers and describe the errors.
_______________________________________________________________________________
Thank you for your help.
Name _________________________________________________________________________
Title __________________________________________________________________________
Company _______________________________________________________________________
Address _____________________________________ ___________________________________
DCdirect current
default settinga default parameter value recorded in the driver. In many cases, the default
input of a control is a certain value (often 0) that means use the current default setting.
differential inputan analog input consisting of two terminals, both of which are isolated from
computer ground, whose difference is measured
double insulateda device that contains the necessary insulating structures to provide electric
shock protection without the requirement of a safety ground connection
driverssoftware that controls a specific hardware instrument
E
EEPROMelectrically erasable programmable read-only memory—ROM that can be
erased with an electrical signal and reprogrammed
F
filteringa type of signal conditioning that allows you to filter unwanted signals from
the signal you are trying to measure
G
gainthe factor by which a signal is amplified, sometimes expressed in decibels
H
hardwarethe physical components of a computer system, such as the circuit boards,
plug-in boards, chassis, enclosures, peripherals, cables, and so on
harmonicsmultiples of the fundamental frequency of a signal
Hzhertz—per second, as in cycles per second or samples per second
National Instruments CorporationG-3NI 5911 User Manual
Glossary
I
in.inches
inductancethe relationship of induced voltage to current
input bias currentthe current that flows into the inputs of a circuit
input impedancethe measured resistance and capacitance between the input terminals of a
circuit
instrument drivera set of high-level software functions that controls a specific plug-in DAQ
board. Instrument drivers are available in several forms, ranging from a
function callable language to a virtual instrument (VI) in LabVIEW.
interrupta computer signal indicating that the CPU should suspend its current task
to service a designated activity
interrupt levelthe relative priority at which a device can interrupt
I/Oinput/output—the transfer of data to/from a computer system involving
communications channels, operator interface devices, and/or data
acquisition and control interfaces
ISAindustry standard architecture
M
mmeters.
MBmegabytes of memory.
N
noisean undesirable electrical signal—Noise comes from external sources such
as the AC power line, motors, generators, transformers, fluorescent lights,
soldering irons, CR T displays, computers, electrical storms, welders, radio
transmitters, and internal sources such as semiconductors, resistors, and
capacitors. Noise corrupts signals you are trying to send or receive.
Ohm’s Law(R=V /I)—the relationship of voltage to current in a resistance
overrangea segment of the input range of an instrument outside of the normal
measuring range. Measurements can still be made, usually with a
degradation in specifications.
P
PCIPeripheral Component Interconnect—a high-performance expansion bus
architecture originally developed by Intel to replace ISA and EISA; it is
achieving widespread acceptance as a standard for PCs and workstations
and offers a theoretical maximum transfer rate of 132 Mbytes/s
peak valuethe absolute maximum or minimum amplitude of a signal (AC + DC)
PXIPCI eXtensions for Instrumentation. PXI is an open specification that
builds off the CompactPCI specification by adding
instrumentation-specific features.
R
Rresistor
RAMrandom-access memory
resolutionthe smallest signal increment that can be detected by a measurement
system. Resolution can be expressed in bits or in digits. The number of bits
in a system is roughly equal to 3.3 times the number of digits.
rmsroot mean square—a measure of signal amplitude; the square root of the
average value of the square of the instantaneous signal amplitude
ROMread-only memory
Vvolts
VACvolts alternating current
VDCvolts direct current
Glossary
V
error
voltage error
VIvirtual instrument—(1) a combination of hardware and/or software
elements, typically used with a PC, that has the functionality of a classic
stand-alone instrument (2) a LabVIEW software module (VI), which
consists of a front panel user interface and a block diagram program
V
rms
volts, root mean square value
W
waveform shapethe shape the magnitude of a signal creates over time
working voltagethe highest voltage that should be applied to a product in normal use,
normally well under the breakdown voltage for safety margin
internal calibration, 2-7 to 2-8
errors during acquisition, 2-14
memory, 2-12
multiple record, 2-13 to 2-14
PFI lines, 2-15
RTSI bus trigger and clock lines,
2-14 to 2-15
specifications, A-1 to A-2
synchronization, 2-15 to 2-16
triggering and arming, 2-8 to 2-12
above-level analog triggering mode
(figure), 2-10
analog trigger circuit, 2-9 to 2-11
below-level analog triggering mode
(figure), 2-10
high-hysteresis analog triggering mode
(figure), 2-11
low-hysteresis analog triggering mode
(figure), 2-11
trigger hold-off, 2-11 to 2-12
VirtualBench-Scope soft front panel,
1-5 to 1-6
ADC resolution, B-4
analog bandwidth, B-2
analog trigger circuit, 2-9 to 2-11
above-level analog triggering mode
(figure), 2-10
below-level analog triggering mode
(figure), 2-10
high-hysteresis analog triggering mode
(figure), 2-11
low-hysteresis analog triggering mode
(figure), 2-11
arming. See triggering and arming.
B
bias, input, 2-4
block diagram of NI 5911, 2-1
BNC connector, 1-1
location on front panel (figure), 1-2
bulletin board support, C-1
C
calibration
external calibration, 2-8
internal calibration, 2-7 to 2-8