Worldwide Technical Support and Product Information
ni.com
National Instruments Corporate Headquarters
11500 North Mopac Expressway Austin, Texas 78759-3504 USA Tel: 512 683 0100
Worldwide Offices
Australia 1800 300 800, Austria 43 662 457990-0, Belgium 32 (0) 2 757 0020, Brazil 55 11 3262 3599,
Canada 800 433 3488, China 86 21 5050 9800, Czech Republic 420 224 235 774, Denmark 45 45 76 26 00,
Finland 358 (0) 9 725 72511, France 01 57 66 24 24, Germany 49 89 7413130, India 91 80 41190000,
Israel 972 3 6393737, Italy 39 02 41309277, Japan 0120-527196, Korea 82 02 3451 3400,
Lebanon 961 (0) 1 33 28 28, Malaysia 1800 887710, Mexico 01 800 010 0793, Netherlands 31 (0) 348 433 466,
New Zealand 0800 553 322, Norway 47 (0) 66 90 76 60, Poland 48 22 3390150, Portugal 351 210 311 210,
Russia 7 495 783 6851, Singapore 1800 226 5886, Slovenia 386 3 425 42 00, South Africa 27 0 11 805 8197,
Spain 34 91 640 0085, Sweden 46 (0) 8 587 895 00, Switzerland 41 56 2005151, Taiwan 886 02 2377 2222,
Thailand 662 278 6777, Turkey 90 212 279 3031, United Kingdom 44 (0) 1635 523545
For further support information, refer to the Signal Conditioning Technical Support Information document.
To comment on National Instruments documentation, refer to the National Instruments Web site at
ni.com/info and enter the info code feedback.
The NI PXI-4224 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 defective during the
warranty period. This warranty includes parts and labor.
The media on which you receive National Instruments software are warranted not to fail to execute programming instructions, due to defects in
materials and workmanship, for a period of 90 days from date of shipment, as evidenced by receipts or other documentation. National Instruments
will, at its option, repair or replace software media that do not execute programming instruc tions 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 owner parts which are covered by
warranty.
National Instruments believes that the information in this document 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
Instruments be liable for any damages arising out of or related to this document or the information contained in it.
E
XCEPTASSPECIFIEDHEREIN, NATIONAL INSTRUMENTSMAKESNOWARRANTIES, EXPRESSORIMPLIED, ANDSPECIFICALLYDISCLAIMSANYWARRANTYOF
MERCHANTABILITYORFITNESSFORAPARTICULARPURPOSE. CUSTOMER’SRIGHTTORECOVERDAMAGESCAUSEDBYFAULTORNEGLIGENCEONTHEPARTOF NATIONAL
I
NSTRUMENTSSHALLBELIMITEDTOTHEAMOUNTTHERETOFOREPAIDBYTHECUSTOMER. NATIONAL INSTRUMENTSWILLNOTBELIABLEFORDAMAGESRESULTING
FROMLOSSOFDATA, PROFITS, USEOFPRODUCTS, ORINCIDENTALORCONSEQUENTIALDAMAGES, EVENIFADVISEDOFTHEPOSSIBILITYTHEREOF. 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
National Instruments must be brought within one 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.
Copyright
Under the copyright laws, this publication may not be reproduced or transmitted in any form, electronic 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.
National Instruments respects the intellectual property of others, and we ask our users to do the same. NI software is protected by copyright and other
intellectual property laws. Where NI software may be used to reproduce software or other materials belonging to others, you may use NI software only
to reproduce materials that you may reproduce in accordance with the terms of any applicable license or other legal restriction.
Trademarks
National Instruments, NI, ni.com, and LabVIEW are trademarks of National Instruments Corporation. Refer to the Terms of Use section
on
ni.com/legal for more information about National Instruments trademarks.
Other product and company names mentioned herein are trademarks or trade names of their respective companies.
Patents
For patents covering National Instruments products/technology, refer to the appropriate location: Help»Patents in your software,
the
patents.txt file on your media, or the National Instruments Patent Notice at ni.com/patents.
WARNING REGARDING USE OF NATIONAL INSTRUMENTS PRODUCTS
(1) NATIONAL INSTRUMENTS PRODUCTS ARE NOT DESIGNED WITH COMPONENTS AND TESTING FOR A LEVEL OF
RELIABILITY SUITABLE FOR USE IN OR IN CONNECTION WITH SURGICAL IMPLANTS OR AS CRITICAL COMPONENTS IN
ANY LIFE SUPPORT SYSTEMS WHOSE FAILURE TO PERFORM CAN REASONABLY BE EXPECTED TO CAUSE SIGNIFICANT
INJURY TO A HUMAN.
(2) IN ANY APPLICATION, INCLUDING THE ABOVE, RELIABILITY OF OPERATION OF THE SOFTWARE PRODUCTS CAN BE
IMPAIRED BY ADVERSE FACTORS, INCLUDING BUT NOT LIMITED TO FLUCTUATIONS IN ELECTRICAL POWER SUPPLY,
COMPUTER HARDWARE MALFUNCTIONS, COMPUTER OPERATING SYSTEM SOFTWARE FITNESS, FITNESS OF COMPILERS
AND DEVELOPMENT SOFTWARE USED TO DEVELOP AN APPLICATION, INSTALLATION ERRORS, SOFTWARE AND HARDWARE
COMPATIBILITY PROBLEMS, MALFUNCTIONS OR FAILURES OF ELECTRONIC MONITORING OR CONTROL DEVICES,
TRANSIENT FAILURES OF ELECTRONIC SYSTEMS (HARDWARE AND/OR SOFTWARE), UNANTICIPATED USES OR MISUSES, OR
ERRORS ON THE PART OF THE USER OR APPLICATIONS DESIGNER (ADVERSE FACTORS SUCH AS THESE ARE HEREAFTER
COLLECTIVELY TERMED “SYSTEM FAILURES”). ANY APPLICATION WHERE A SYSTEM FAILURE WOULD CREATE A RISK OF
HARM TO PROPERTY OR PERSONS (INCLUDING THE RISK OF BODILY INJURY AND DEATH) SHOULD NOT BE RELIANT SOLELY
UPON ONE FORM OF ELECTRONIC SYSTEM DUE TO THE RISK OF SYSTEM FAILURE. TO AVOID DAMAGE, INJURY, OR DEATH,
THE USER OR APPLICATION DESIGNER MUST TAKE REASONABLY PRUDENT STEPS TO PROTECT AGAINST SYSTEM FAILURES,
INCLUDING BUT NOT LIMITED TO BACK-UP OR SHUT DOWN MECHANISMS. BECAUSE EACH END-USER SYSTEM IS
CUSTOMIZED AND DIFFERS FROM NATIONAL INSTRUMENTS' TESTING PLATFORMS AND BECAUSE A USER OR APPLICATION
DESIGNER MAY USE NATIONAL INSTRUMENTS PRODUCTS IN COMBINATION WITH OTHER PRODUCTS IN A MANNER NOT
EVALUATED OR CONTEMPLATED BY NATIONAL INSTRUMENTS, THE USER OR APPLICATION DESIGNER IS ULTIMATELY
RESPONSIBLE FOR VERIFYING AND VALIDATING THE SUITABILITY OF NATIONAL INSTRUMENTS PRODUCTS WHENEVER
NATIONAL INSTRUMENTS PRODUCTS ARE INCORPORATED IN A SYSTEM OR APPLICATION, INCLUDING, WITHOUT
LIMITATION, THE APPROPRIATE DESIGN, PROCESS AND SAFETY LEVEL OF SUCH SYSTEM OR APPLICATION.
Conventions
The following conventions are used in this manual:
<>Angle brackets that contain numbers separated by an ellipsis represent a
range of values associated with a bit or signal name—for example,
AO <3. .0>.
»The » symbol leads you through nested menu items and dialog box options
to a final action. The sequence File»Page Setup»Options directs you to
pull down the File menu, select the Page Setup item, and select Options
from the last dialog box.
This icon denotes a note, which alerts you to important information.
This icon denotes a caution, which advises you of precautions to take to
avoid injury, data loss, or a system crash.When this symbol is marked on
the product, refer to the Read Me First: Safety and Radio-Frequency Interference document, shipped with the product, for precautions to take.
When symbol is marked on a product it denotes a warning advising you to
take precautions to avoid electrical shock.
When symbol is marked on a product it denotes a component that may be
hot. Touching this component may result in bodily injury.
boldBold text denotes items that you must select or click in the software, such
as menu items and dialog box options. Bold text also denotes parameter
names.
italicItalic text denotes variables, emphasis, a cross-reference, hardware labels,
or an introduction to a key concept. Italic text also denotes text that is a
placeholder for a word or value that you must supply.
monospaceText in this font denotes text or characters that you should enter from the
keyboard, sections of code, programming examples, and syntax examples.
This font is also used for the proper names of disk drives, paths, directories,
programs, subprograms, subroutines, device names, functions, operations,
variables, filenames and extensions, and code excerpts.
Contents
Chapter 1
About the NI PXI-4224
What You Need to Get Started ......................................................................................1-2
National Instruments Documentation ............................................................................1-3
Installing the Application Software, NI-DAQ, and the DAQ Device ...........................1-3
Installing the NI PXI-4224 ............................................................................................1-4
LED Pattern Descriptions ..............................................................................................1-4
Chapter 2
Connecting Signals
Connecting Signals to the NI PXI-4224 ........................................................................2-1
Front Signal Connector....................................................................................2-1
Analog Input Connections...............................................................................2-3
Floating Signal Source Connection...................................................2-11
Ground-Referenced Signal Connection ............................................2-12
This chapter provides an introduction to the NI PXI-4224 device and its
installation.
The NI PXI-4224 is part of the NI PXI-4200 series of data acquisition
(DAQ) devices with integrated signal conditioning. The PXI-4200 series
reduces measurement setup and configuration complexity by integrating
signal conditioning and DAQ on the same product.
The NI PXI-4224 is an 8-channel isolated analog input device with a ±10 V
input range. It allows isolated analog measurements directly on the PXI
platform.
The NI PXI-4224 has the following characteristics:
•Each channel has a gain of either 1 or 10.
•An isolation rating of 42.4 V
•The front connector is a 25-pin D-SUB connector, with 16 pins for
analog input.
or 60 VDC, Category I.
peak
1
Signal connections are made through a TB-2725 terminal block that
provides connections for all eight analog input channels. You can
optionally connect a standard 25-pin D-SUB cable to the device and cable
it as needed for your application.
Note Go to ni.com/products to determine if newly developed terminal blocks are
available.
You can configure most settings on a per-channel basis through software.
The NI PXI-4224 is configured using Measurement & Automation
Explorer (MAX) or through function calls to NI-DAQmx.
Note The NI PXI-4224 is supported in NI-DAQmx only.
To set up and use the NI PXI-4224, you need the following:
❑ Hardware
–NIPXI-4224
–One of the following:
•TB-2725 terminal block
•25-pin D-SUB female connector
–PXI or PXI/SCXI combination chassis
❑ Software
–NI-DAQ 7.3.1 or later
–One of the following:
•LabVIEW
•Measurement Studio
•LabWindows
❑ Documentation
–NI PXI-4224 User Manual
–Read Me First: Safety and Radio-Frequency Interference
–DAQ Getting Started Guide
–PXI or PXI/SCXI combination chassis user manual
–Documentation for your software
™
/CVI
™
❑ Tools
–1/8 in. flathead screwdriver
You can download NI documents from
NI PXI-4224 User Manual1-2ni.com
ni.com/manuals.
National Instruments Documentation
The NI PXI-4224 User Manual is one piece of the documentation set for
your DAQ system. You could have any of several types of manuals
depending on the hardware and software in your system. Use the manuals
you have as follows:
•DAQ Getting Started Guide—This document describes how to install
NI-DAQ devices and NI-DAQ. Install NI-DAQmx before you install
the SCXI module.
•SCXI Quick Start Guide—This document describes how to set up an
SCXI chassis, install SCXI modules and terminal blocks, and
configure the SCXI system in MAX.
•PXI or PXI/SCXI combination chassis manual—Read this manual for
maintenance information about the chassis and for installation
instructions.
•Accessory installation guides or manuals—If you are using accessory
products, read the terminal block installation guides. They explain how
to physically connect the relevant pieces of the system.
•Software documentation—You may have both application software
and NI-DAQmx software documentation. NI application software
includes LabVIEW, Measurement Studio, and LabWindows/CVI.
After you set up the hardware system, use either your application
software documentation or the NI-DAQmx documentation to help you
write your application. If you have a large, complicated system, it is
worthwhile to look through the software documentation before you
configure the hardware.
Chapter 1About the NI PXI-4224
Installing the Application Software, NI-DAQ,
and the DAQ Device
Refer to the DAQ Getting Started Guide, packaged with the NI-DAQ
software, for instructions for installing your application software, NI-DAQ
driver software, and the DAQ device to which you will connect the
NI PXI-4224.
NI-DAQ 7.3.1 or later is required to configure and program the
NI PXI-4224 device. If you do not have NI-DAQ 7.3.1 or later, you can
either contact an NI sales representative to request it on a CD or download
Note Refer to the Read Me First: Radio-Frequency Interference document before
removing equipment covers or connecting or disconnecting any signal wires.
Refer to the DAQ Getting Started Guide to unpack, install, and configure
the NI PXI-4224 in a PXI chassis, and then to the SCXI Quick Start Guide
if you are using a PXI/SCXI combination chassis.
LED Pattern Descriptions
The following LEDs on the NI PXI-4224 front panel confirm the system is
functioning properly:
•The ACCESS LED is normally green and blinks yellow for a minimum
of 100 ms during the NI PXI-4224 configuration.
•The ACTIVE LED is normally green and blinks yellow for a minimum
of 100 ms during data acquisition.
NI PXI-4224 User Manual1-4ni.com
Connecting Signals
This chapter provides details about the front signal connector of the
NI PXI-4224 and how to connect signals to the NI PXI-4224.
Connecting Signals to the NI PXI-4224
After you have verified that the NI PXI-4224 is installed correctly and
self-tested the device, refer to the following sections to connect signals to
the device.
Caution Refer to the Read Me First: Safety and Radio-Frequency Interference document
before removing equipment covers, or connecting or disconnecting any signal wires.
Front Signal Connector
The NI PXI-4224 connection interface consists of a 25-pin D-SUB
connector and one SMB connector. You can program SMB connector
as a PFI 0 line or for external calibration. Table 2-1 shows the signal
assignments of the D-SUB connector for the NI PXI-4224. Figure 2-1
shows the front label, with each set of screw terminals labeled according
to the corresponding differential input signal for the NI PXI-4224.
2
To connect a signal to the NI PXI-4224, use a TB-2725 terminal block
designed specifically for the NI-PXI-4224, or use a 25-pin D-SUB to build
a connector to suit your application. Refer to the TB-2725 Terminal Block Installation Guide if you are using the TB-2725 terminal block. Use
Table 2-1 to make the signal connections if you are constructing a
connector using a 25-pin D-SUB connector.
Connect a timing or triggering signal to the PFI 0/CAL SMB connector
using a cable with an SMB signal connector.
Caution The PFI 0/CAL SMB connector is for low-voltage timing and calibration signals
only. Voltages greater than ±15 V can damage the device.
If you are building a 25-pin D-SUB connector for your application, make sure you use a
connector and wires that are safety rated for the voltage and category of the signals in your
application.
Table 2-1. NI PXI-4224 25-Pin D-SUB Terminal Pin Assignments
Front Connector
Diagram
14 15 16 17 18 19 20 21 22 23 24 25
12345678910111213
Pin NumberSignal NamesPin NumberSignal Names
14AI 0 –1AI 0 +
15AI 1 –2AI 1 +
16AI 2 –3AI 2 +
17AI 3 –4AI 3 +
18AI 4 –5AI 4 +
19AI 5 –6AI 5 +
*
NC—No Connection
20AI 6 –7AI 6 +
21AI 7 –8AI 7 +
22No Pin9No Pin
23NC
*
10D GND
24SPI CLK11MISO
25SELECT12MOSI
N/AN/A13+5 V
NI PXI-4224 User Manual2-2ni.com
Chapter 2Connecting Signals
NI PXI-4224
8 Chan Isolation Amp
ACCESSACTIVE
2
PFI 0/
CAL
12345678910111213
14 15 16 17 18 19 20 21 22 23 24 25
1
3
1 ACCESS and ACTIVE LEDs
2 SMB PFI 0/CAL Connector
3 25-Pin D-SUB or TB-2725 Terminal
Block Connector
Figure 2-1. NI PXI-4224 Front Label
Analog Input Connections
The following sections provide a definition of the signal source
characteristics, descriptions of various ways to connect signals to the
NI PXI-4224, and electrical diagrams showing the signal source and
connections. Whenever possible, use shielded twisted-pair field wiring
and grounding to reduce the effects of unwanted noise sources.
Caution If you are building a 25-pin D-SUB connector for your application, make sure
you use a connector and signal wires that are safety rated for the voltage and category of
the signals in your application.
In the electrical diagrams, two different ground symbols are used. These
symbols indicate that you cannot assume that the indicated grounds are at
the same potential. Refer to Appendix A, Specifications, for maximum
working voltage specifications.
You can make signal connections to the NI PXI-4224 through either an
NI terminal block, such as the TB-2725, or you can build a connector using
a 25-pin D-SUB.
Figures 2-2 through 2-5 illustrate connecting signals using a D-SUB
connector.
Signal Source
+
V
SIG
–
Tw isted-Pair
Wiring
AI 0 +
AI 0 –
AI 7 +
AI 7 –
CH 0
CH 7
Figure 2-2. Unshielded Floating Signal Source Connection Using a D-SUB Connector
NI PXI-4224 User Manual2-4ni.com
Chapter 2Connecting Signals
Signal Source
+
V
SIG
–
V
Ground
SIG
Reference
Tw isted-Pair
Wiring
AI 0 +
CH 0
AI 0 –
CH 7
AI 7 +
AI 7 –
Figure 2-3. Unshielded Grounded Signal Source Connection Using a D-SUB Connector
Figure 2-8. Shielded Floating Signal Source Connection Using a Terminal Block
NI PXI-4224 User Manual2-10ni.com
Chapter 2Connecting Signals
Signal Source
+
V
SIG
–
V
Ground
SIG
Reference
Tw isted-Pair
Wiring
Shielding
Terminal Block
CH 0
AI 0 +
AI 0 –
CH 7
AI 7 +
AI 7 –
Figure 2-9. Shielded Grounded Signal Source Connection Using a Terminal Block
Floating Signal Source Connection
Figures 2-2, 2-4, 2-6, and 2-8 illustrate floating signal source connections.
In this configuration, the signal source being measured is a floating signal
source, such as a battery. A floating signal source is not connected in
any way to the building ground system.
To connect a floating signal source connection to the NI PXI-4224, the
signal (V
signal reference (V
+) is connected to the NI PXI-4224 channel (AI X +). The
SIG
–) is connected to the channel reference (AI X –).
SIG
Chapter 2Connecting Signals
Ground-Referenced Signal Connection
Figures 2-3, 2-5, 2-7, and 2-9 illustrate the ground-referenced signal
connection. In this configuration, the voltage source being measured is
referenced to its own ground reference that is connected through a
conductive path to the instrument ground reference. For example, the path
can be through a common earth ground or through the power line ground.
To connect a ground-reference signal source to the NI PXI-4224, the signal
+) is connected to the NI PXI-4224 channel (AI X +). The signal
(V
SIG
reference (V
–) is connected to the channel reference (AI X –).
SIG
Shielded Ground-Referenced Signal Connection
(Recommended)
Figures 2-5 and 2-9 illustrate shielded ground-referenced signal
connections. The connection to this signal source is identical to the
ground-referenced signal connection with the addition of shielding
around the field wiring. The shielding is grounded at the signal source
ground (V
Ground Reference). Connect the signal (V
SIG
NI PXI-4224 channel (AI X +). Connect the signal reference (V
channel reference (AI X –).
+) to the
SIG
–) to the
SIG
This shielding scheme is effective at reducing capacitive or electrically
coupled noise. The same concerns regarding the difference in ground
potentials, discussed in the Ground-Referenced Signal Connection section,
also apply to this configuration.
For more information about the function of the NI PXI-4224 and other
measurement considerations, refer to Chapter 4, Theory of Operation.
NI PXI-4224 User Manual2-12ni.com
3
Configuring and Testing
This chapter provides details about configuring and testing the
NI PXI-4224 in MAX, including how to use device test panels and create
and configure NI-DAQmx Tasks and NI-DAQmx Global Channels.
Verifying and Self-Testing the Signals Using Test Panels
After you have successfully installed the NI PXI-4224, verified the
installation, and connected the signals, use the NI PXI-4224 device test
panels to verify the device is measuring signals properly.
The test panels allow you to measure the signal connected to the
NI PXI-4224 directly as well as configure some of the properties of your
measurement. To open the NI PXI-4224 device test panels when in MAX,
complete the following steps:
1.Expand Devices and Interfaces to display the list of devices and
interfaces.
2.Expand NI-DAQmx Devices to display the list of NI-DAQmx devices.
3.Click PXI-4224.
4.Click the Test Panels button in the device toolbar.
5.Configure the settings on the screen, and click Start to take a
measurement.
To measure scaled voltages, further configure channel properties, and
configure timing settings, use an NI-DAQmx Task or NI-DAQmx Global Channel.
This section describes how to create NI-DAQmx Tasks and NI-DAQmx
Global Channels in MAX that allow you to take measurements with the
NI PXI-4224.
Creating a Voltage Task or Global Channel Using NI-DAQmx
An NI-DAQmx Global Channel gives a physical channel a name and
provides scaling. An NI-DAQmx Task is a collection of channels with
timing and triggering configured. To create a new NI-DAQmx Task or
NI-DAQmx Global Channel, complete the following steps:
1.Double-click the Measurement & Automation Explorer icon on the
desktop.
2.Right-click Data Neighborhood and select Create New.
3.Select NI-DAQmx Task or NI-DAQmx Global Channel and
click Next.
4.Select Analog Input and select Voltage.
5.If you are creating a channel, you can select only one channel. If you
are creating a task, select the channels to add to the task. You can select
a range of channels by holding down the <Shift> key while selecting
the channels. You can select multiple individual channels by holding
down the <Ctrl> key while selecting channels. Click Next.
6.Enter the name of the task or channel, and click Finish.
7.Select the channel(s) you want to configure for input voltage range.
While making the selections you can select blocks of channels by
pressing the <Shift> key or individual channels by pressing the
<Ctrl> key.
8.Under the Settings tab, set the input range by entering the Min and
Max values.
9.Click the Device tab and select the Autozero mode.
10. Repeat steps 7 through 9 until you have configured all the channels.
Note For more information about how to further configure the NI PXI-4224, or how to use
LabVIEW to configure the device and take measurements, refer to Chapter 4, Theory of
Operation.
NI PXI-4224 User Manual3-2ni.com
Chapter 3Configuring and Testing
Verifying and Self-Testing an NI-DAQmx Task or Global Channel
After you have created an analog input voltage NI-DAQmx Task or
NI-DAQmx Global Channel, verify the NI-DAQmx Task or NI-DAQmx
Global Channel signal and functionality using the Test button in the
toolbar:
1.If you created an NI-DAQmx Task, set the timing and triggering
settings you wish to use in the test in the Task Timing and Task Triggering tabs.
2.Click the Test button to open the test panel and take a measurement.
You have now verified the NI PXI-4224 configuration and signal
connection.
The NI PXI-4224 is part of the PXI-4200 series of DAQ devices with
integrated signal conditioning designed to provide application-specific
signal conditioning, DAQ, and integrated field wiring connectivity on the
same product. The NI PXI-4224 signal conditioning circuitry is designed
to provide attenuation, amplification, and filtering capabilities as described
in Table 4-1.
Table 4-1. Signal Conditioning Functional Blocks
Signal Conditioning ComponentDescription
Input ProtectionEach NI PXI-4224 channel has overvoltage protection in the
event that a channel is improperly wired.
PGAEach channel has a programmable gain amplifier. The
available gains on the NI PXI-4224 are 1 and 10, which
covers the input range of ±1 V to ±10 V. The DAQ device can
provide a gain of up to 200 in order to maximize the ADC
resolution for signals below 1 V.
Isolation AmplifierEach channel has an isolation amplifier that creates true
channel-to-channel isolation.
Post FilterA post filter is provided to clean up noise spikes created by
the isolation amplifier.
Measurement Considerations
This section provides more information about the type of signal connection
made to the NI PXI-4224 and important factors that can affect your
measurement.
Input Impedance
Figure 4-2 illustrates the input impedance of an NI PXI-4224 and its effect
on the measurement of a circuit under test. If you know the source
impedance of the circuit under test, you can correct for the attenuation
caused by the NI PXI-4224 in software. Since R
(1 GΩ), it requires a large source impedance, R
change in the measured voltage, V
. In general, a source impedance of
MEAS
less than 200 kΩ does not interfere with the accuracy of the measurement.
For example, a 200 kΩ source impedance results in a 0.02% gain error.
Figure 4-2. Effect of Input Impedance on Signal Measurements
Although RS does not influence DC measurements, take care when
measuring AC signals since C
attenuates higher frequencies if RS is too
IN
large. For example:
V
SIGRIN
V
MEAS
--------------------=
RSRIN+
1
Bandwidth
----------------------=
2π R
SCIN
Common-Mode Rejection Ratio
The ability of a measurement device to reject voltages that are common to
both input terminals is referred to as the common-mode rejection ratio
(CMRR). The CMMR is usually stated in decibels at a given frequency or
over a given frequency band of interest. Common-mode signals can arise
from a variety of sources and can be induced through conductive or
radiated means. One of the most common sources of common-mode
interference is 50 or 60 Hz powerline noise.
The minimum NI PXI-4224 CMRR is 140 dB, which results in a reduction
of CMV by a factor of 10,000,000.
NI PXI-4224 User Manual4-4ni.com
Effective CMR
When the frequency of a common-mode signal is known and outside of the
measurement frequency band of interest, you can use an analog or digital
filter, or both, to further reduce the residual error left from the finite CMRR
of the instrument. The combined CMR of the instrument and the filter
attenuation results in an effective CMR. When expressed in decibels, the
effective CMR is equal to the sum of the CMRR and the attenuation due to
the filter at a specified frequency.
Timing and Control Functional Overview
The NI PXI-4224 is based on the NI E Series DAQ device architecture.
This architecture uses the NI data acquisition system timing controller
(DAQ-STC) for time-related functions. The DAQ-STC consists of
two timing groups that control AI and general-purpose counter/timer
functions. These groups include a total of seven 24-bit and three 16-bit
counters and a maximum timing resolution of 50 ns. The DAQ-STC makes
possible applications such as equivalent time sampling, and seamless
changing of the sampling rate.
The NI PXI-4224 uses the PXI trigger bus to easily synchronize several
measurement functions to a common trigger or timing event. The PXI
trigger bus is connected through the rear signal connector to the
PXI chassis backplane. The DAQ-STC provides a flexible interface for
connecting timing signals to other devices or external circuitry. The
NI PXI-4224 uses the PXI trigger bus to interconnect timing signals
between PXI devices, and the programmable function input (PFI) pin on
the front SMB connector to connect the device to external circuitry. These
connections are designed to enable the device to both control and be
controlled by other devices and circuits.
Chapter 4Theory of Operation
The DAQ-STC has internal timing signals you can control by an external
source. These timing signals also can be controlled by signals internally
generated to the DAQ-STC, and these signals are software configurable.
Figure 4-3 shows an example of the signal routing multiplexer controlling
the AI CONVERT CLOCK signal.
Figure 4-3 shows that AI CONV CLK can be generated from a number of
sources, such as the external signals PFI 0, PXI_Trig<0..5>, and PXI_Star,
and the Ctr 0 Internal Output.
Programmable Function Inputs
PFI 0 is connected to the front SMB connector of the NI PXI-4224.
Software can select PFI 0 as the external source for a given timing signal.
Any timing signal can use the PFI 0 pin as an input, and multiple timing
signals can simultaneously use the same PFI. This flexible routing scheme
reduces the need to change physical connections to the I/O connector for
different applications. Refer to Table 4-2 for information regarding the
available PFI 0 signals.
PXI Star
AI CONV CLK
PFI 0
Figure 4-3. AI CONV CLK Signal Routing
NI PXI-4224 User Manual4-6ni.com
Device and PXI Clocks
Many functions performed by the NI PXI-4224 require a frequency
timebase to generate the necessary timing signals for controlling
A/D conversions, digital-to-analog converter (DAC) updates, or
general-purpose signals at the I/O connector.
The NI PXI-4224 can use either its internal 20 MHz master timebase or a
timebase received over the PXI trigger bus on the PXI clock line. These
timebases are software configurable. If you configure the device to use the
internal timebase, you can program the device to drive its internal timebase
over the PXI trigger bus to another device programmed to receive this
timebase signal. This clock source, whether local or from the PXI trigger
bus, is used directly by the device as the primary frequency source. The
default configuration is to use the internal timebase without driving the PXI
trigger bus timebase signal. The NI PXI-4224 can use the PXI_Trig<7>
line to synchronize
For the NI PXI-4224, PXI Trig<0..5>, and PXI_Star, connect through the
NI PXI-4224 backplane. The PXI Star Trigger line allows the NI PXI-4224
to receive triggers from any Star Trigger controller plugged into slot 2 of
the chassis. For more information about the Star Trigger, refer to the
Figure 4-4. NI PXI-4224 PXI Trigger Bus Signal Connection
NI PXI-4224 User Manual4-8ni.com
Chapter 4Theory of Operation
Table 4-2 provides more information about each of the timing signals
available on the PXI trigger bus. For more detailed timing signal
information, refer to Appendix B, Timing Signal Information.
Table 4-2. PXI Trigger Bus Timing Signals
SignalDirectionDescription
AI START TRIGInput
This trigger is the source for the
analog input digital start trigger,
which is the trigger that begins
an acquisition.
Output
This trigger sends out the actual
analog input start trigger.
AI PAUSE TRIGInputThis signal can pause and resume
acquisition.
AI SAMPLE CLK
TIMEBASE
InputThis timebase provides the master
clock from which the sample
clocks are derived.
AI HOLD
COMPLETE
OutputThis signal is output when the
analog signal to be converted by
the ADC has been held.
This chapter describes how to program the NI PXI-4224, using
DAQ Assistant or LabVIEW, and how to calibrate the device.
Developing Your Application
This section describes the software and programming steps necessary to
use the NI PXI-4224. For more information about a particular software or
programming process, refer to your ADE documentation.
Typical Program Flow Chart
Figure 5-1 shows a typical program flow chart for creating an AI voltage
channel, taking a measurement, and clearing the data.
Note For more information about creating tasks and channels in MAX, refer to Chapter 3,
The following sections briefly discuss some considerations for some of the
steps in Figure 5-1. These sections are meant to provide an overview of
some of the options and features available when programming with
NI-DAQmx.
Creating a Task Using DAQ Assistant or
Programmatically
When creating an application, you must first decide whether to create the
task using the DAQ Assistant or programmatically in the ADE.
Developing your application using NI-DAQmx allows you to configure
most settings such as measurement type, selection of channels, input limits,
task timing, and task triggering using the DAQ Assistant tool. You can
access the DAQ Assistant either through MAX or through your NI ADE.
Choosing to use the DAQ Assistant can simplify the development of your
application. When using a sensor that requires complex scaling, or when
many properties differ between channels in the same task, NI recommends
creating tasks using the DAQ Assistant for ease of use.
If you are using an ADE other than an NI ADE, or if you want to explicitly
create and configure a task for a certain type of acquisition, you can
programmatically create the task from your ADE using function or VI calls.
If you create a task using the DAQ Assistant, you can still further configure
the individual properties of the task programmatically using function calls
or property nodes in your ADE. NI recommends creating a task
programmatically if you need explicit control of programmatically
adjustable properties of the DAQ system. Programmatically creating tasks
is also recommended if you are synchronizing multiple devices using
master and slave tasks.
Chapter 5Using the NI PXI-4224
Programmatically adjusting properties for a task created in the DAQ
Assistant overrides the original settings only for that session. The changes
are not saved to the task configuration. The next time you load the task, the
task uses the settings originally configured in the DAQ Assistant.
Adjusting Timing and Triggering
There are several timing properties that you can configure either through
the DAQ Assistant or programmatically using function calls or property
nodes in your application. If you create a task in the DAQ Assistant, you
still can modify the timing properties of the task programmatically in your
application.
When programmatically adjusting timing settings, you can set the task to
acquire continuously, acquire a buffer of samples, or acquire one point at a
time. For continuous and buffered acquisitions, you can set the acquisition
rate and the number of samples to read. By default, the clock settings are
automatically set by an internal clock based on the requested sample rate.
You also can select advanced features such as clock settings that specify an
external clock source, the internal routing of the clock source, or that select
the active edge of the clock signal. You can also specify whether or not to
start the acquisition using a start trigger signal.
Configuring Channel Properties
All of the different ADEs used to configure the NI PXI-4224 access an
underlying set of NI-DAQmx properties. Table 5-1 lists of some of the
properties that configure the NI PXI-4224. You can use this list to
determine which properties you need to set to configure the device for your
application. If you created the task and channels using the DAQ Assistant,
you can still modify the channel properties programmatically. For a
complete list of NI-DAQmx properties, refer to your ADE help file.
PropertyShort NameDescription
Table 5-1. NI-DAQmx Properties
Analog Input»
General Properties»
AI.CouplingDC—Allows NI-DAQmx to measure the
input signal.
Input Configuration»
Coupling Property
GND—Removes the signal source from the
measurement and measures only ground.
Analog Input»
General Properties»
Gain
Analog Input»General
Properties»Advanced»
High Accuracy Settings»
AI.GainSpecifies the gain of the isolation amplifier.
For the NI PXI-4224 you can specify
1 or 10.
AI.AutoZeroModeSpecifies when to measure ground.
NI-DAQmx subtracts the measured ground
voltage from every sample.
Auto Zero Mode
Note Table 5-1 is a representative sample of important properties you can adjust in analog
input measurements with the NI PXI-4224. It is not a complete list of NI-DAQmx
properties and does not include every property you may need to configure the device. For a
complete list of NI-DAQmx properties and more information about NI-DAQmx properties,
refer to your ADE help file.
NI PXI-4224 User Manual5-4ni.com
Chapter 5Using the NI PXI-4224
Acquiring, Analyzing, and Presenting
After configuring the task and channels, you can start your acquisition, read
measurements, analyze the data returned, and display it according to the
needs of your application. Typical methods of analysis include digital
filtering, averaging data, performing harmonic analysis, applying a custom
scale, or adjusting measurements mathematically.
NI provides powerful analysis toolsets for each NI ADE to assist
non-programmers in performing advanced data analysis. After you acquire
the data and perform any required analysis, it is useful to display the data
in a graphical form or log it to a file. NI ADEs provide easy-to-use tools for
graphical display, such as charts, graphs, slide rules, and gauge indicators.
NI ADEs have tools that allow you to save the data to files such as
spreadsheets for easy viewing, ASCII files for universality, or binary files
for smaller file sizes.
Completing the Application
After you have completed the measurement, analysis, and presentation of
the data, it is important to stop and clear the task. This releases any memory
used by the task and frees up the DAQ hardware for use in another task.
Developing an Application Using LabVIEW
This section describes in more detail the steps shown in Figure 5-1, such as
how to create a task in LabVIEW and configure the channels of the
NI PXI-4224. For further instructions, select Help»VI, Function, & How-To Help from the LabVIEW menu bar.
Note Except where otherwise stated, the VIs in Table 5-2 are located on the Functions»
All Functions»NI Measurements»DAQmx - Data Acquisition subpalette and
Create Task in DAQ AssistantCreate a DAQmx Task Name Constant located on the
Controls»All Controls»I/O»DAQmx Name Controls
subpalette, right-click it, and select
Assistant)
.
New Task (DAQ
Create a Task
Programmatically
(optional)
DAQmx Create Task.vi located on Functions»
All Functions»NI Measurements»DAQmx - Data
Acquisition»DAQmx Advanced Task Options—This VI is
optional if you created and configured your task using the DAQ
Assistant. However, if you use it in LabVIEW any changes you
make to the task will not be saved to a task in MAX.
Create AI Voltage Channel
(optional)
DAQmx Create Virtual Channel.vi (AI Voltage by
default)—This VI is optional if you created and configured
your task and channels using the DAQ Assistant.
Adjust Timing Settings
(optional)
DAQmx Timing.vi (Sample Clock by default)—This VI is
optional if you created and configured your task using the DAQ
Assistant.
Configure Channels
(optional)
DAQmx Channel Property Node—Refer to the Using a DAQmx
Channel Property Node in LabVIEW section for more
information. This step is optional if you created and fully
configured the channels in your task using the DAQ Assistant.
Start MeasurementDAQmx Start Task.vi
Read MeasurementDAQmx Read.vi
Analyze DataSome examples of data analysis include filtering, scaling,
harmonic analysis, or level checking. Some data analysis tools
are located on the Functions»Signal Analysis subpalette and on
the Functions»All Functions»Analyze subpalette.
Display DataYou can use graphical tools such as charts, gauges, and graphs
to display your data. Some display tools are located on the
Controls»Numeric Indicators subpalette and Controls»
All Controls»Graph subpalette.
NI PXI-4224 User Manual5-6ni.com
Chapter 5Using the NI PXI-4224
Table 5-2. Programming a Task in LabVIEW (Continued)
Flowchart StepVI or Program Step
Continue SamplingFor continuous sampling, use a While Loop. If you are using
hardware timing, you also need to set the
DAQmx Timing.vi
sample mode to Continuous Samples. To set the VI, right-click
the terminal of the
DAQmx Timing.vi labeled sample mode
and click Create»Constant. Click the box and select
Continuous Samples.
Stop MeasurementDAQmx Stop Task.vi—This VI is optional. Clearing the task
will automatically stop the task.
Clear TaskDAQmx Clear Task.vi
Using a DAQmx Channel Property Node in LabVIEW
You can use property nodes in LabVIEW to manually configure your
channels. To create a LabVIEW property node, complete the following
steps:
1.Launch LabVIEW.
2.You can create the property node in a new VI or in an existing VI.
3.Open the block diagram view.
4.From the Functions toolbox, select All Functions»NI Measurements»DAQmx - Data Acquisition, and select
DAQmx Channel Property Node.
5.Left-click inside the Property box and select Active Channels. This
allows you to specify exactly what channel(s) you want to configure.
If you want to configure several channels with different properties,
separate the lists of properties with another Active Channels box, and
assign the appropriate channel to each list of properties.
Note If you do not use Active Channels, the properties will be set on all of the channels
in the task.
6.Right-click ActiveChan and select Add Element. Left-click the new ActiveChan. Navigate through the menus and select the property you
wish to define.
7.You must change the property to read or write to either get the property
or write a new value. Right-click the property, go to Change To, and
select Write, Read, or Default Value.
8.Once you have added the property to the property node, right-click
the terminal to change the attributes of the property, or to add a control,
constant, or indicator.
9.To add another property to the property node, right-click an existing
property and left-click Add Element. To change the new property,
left-click it and select the property you wish to define. You can also
drag the bottom of the property node down to add more channels to the
node.
Note Refer to the LabVIEW Help for information about property nodes and specific
NI-DAQmx properties.
Synchronization and Triggering
If you have multiple NI PXI-4224 devices, you can synchronize them to
acquire samples at the same time and at the same rate. You can use multiple
NI PXI-4224 devices to acquire and analyze complex signals.
For multiple NI PXI-4224 devices to start an acquisition simultaneously,
they all must reference a common start trigger. To prevent drift over the
course of the acquisition, they must share a common timebase or sample
clock.
The NI PXI-4224 that generates the start trigger and the timebase for all of
the synchronized devices is called the master. The master NI PXI-4224
exports the shared timing signals through the PXI bus to the slave devices.
Each NI PXI-4224 contains a DAQ-STC chip that is capable of generating
a hardware sample clock based on its timebase clock and start trigger. This
causes the slave device to acquire samples at the same time as the master.
The preferred method of synchronization is to use a shared timebase, but it
is also possible to synchronize multiple NI PXI-4224 devices by sharing
the sample clock between them. This manual only discusses the shared
timebase method.
Synchronizing the NI PXI-4224
Figure 5-2 shows a typical program flowchart for synchronizing the sample
clocks and start triggers of two devices, taking a measurement, and clearing
the data.
This section describes in more detail the steps shown in Figure 5-2, such
as how to create a task in LabVIEW and configure the channels of the
NI PXI-4224. For further instructions, select Help»VI, Function, & How-To Help from the LabVIEW menu bar.
Note Except where otherwise stated, the VIs in Table 5-3 are located on the Functions»
All Functions»NI Measurements»DAQmx - Data Acquisition subpalette and
accompanying subpalettes in LabVIEW.
Table 5-3. Synchronizing the NI PXI-4224 Using LabVIEW
Flowchart StepVI or Program Step
Create a Master Task
(optional)
DAQmx Create Task.vi—This VI is optional if you created
and configured your task using the DAQ Assistant. However, if
you use it in LabVIEW, any changes you make to the task will not
be saved to a task in MAX.
Create Master AI Voltage
Channels
DAQmx Create Virtual Channel.vi (AI Voltage by
default).
Configure Master ChannelsUse a DAQmx Channel Property Node. Refer to the Using a
DAQmx Channel Property Node in LabVIEW section for more
information.
Configure Master TimingDAQmx Timing.vi (Sample Clock by default).
Get Master Timebase Source
and Rate from Master Task
Create a Slave Task
(optional)
Use a DAQmx Timing Property Node to get
MasterTimebase.Src and MasterTimebase.Rate.
DAQmx CreateTask.vi—This VI is optional if you created and
configured your task using the DAQ Assistant. However, if you
use it in LabVIEW, any changes you make to the task will not be
saved to a task in MAX.
Create Slave AI Voltage
Channels
DAQmx Create Virtual Channel.vi (AI Voltage by
default).
Configure Slave ChannelsDAQmx Channel Property Node. Refer to the Using a DAQmx
Channel Property Node in LabVIEW section for more
information.
Configure Slave TimingDAQmx Timing.vi (Sample Clock by default).
NI PXI-4224 User Manual5-10ni.com
Chapter 5Using the NI PXI-4224
Table 5-3. Synchronizing the NI PXI-4224 Using LabVIEW (Continued)
Flowchart StepVI or Program Step
Set Slave to Use Timebase
from Master
Use a DAQmx Timing Property Node to set
MasterTimebase.Src and MasterTimebase.Rate to the
values retrieved from the master task in the Get Master Timebase
Source and Rate from Master Task step.
Configure Slave TriggeringDAQmx Trigger.vi (Start Digital Edge) use /MasterDevice/
ai/StartTrigger
identifier for
as the source, substituting the master device
MasterDevice.
Start Slave Measurement(s)DAQmx Start Task.vi
Start Master MeasurementDAQmx Start Task.vi
Read MeasurementDAQmx Read.vi
Continue SamplingFor continuous sampling, use a While Loop. You also need to set
the sample mode to Continuous Samples in the Configure
Master Timing and Configure Slave Timing steps. To do this,
right-click the terminal of the
DAQmx Timing.vi labeled
sample mode and click Create»Constant. Click the checkbox
and select Continuous Samples.
Clear Master TaskDAQmx Clear Task.vi
Clear Slave TaskDAQmx Clear Task.vi
Other Application Documentation and Material
The following locations provide more information that you may find useful
when setting up or connecting signal sources or programming your
application.
•LabVIEW Example Programs, available by selecting Help»Find Examples from the opening screen. Most of the examples
applicable to the NI PXI-4224 are located in Hardware Input and
Output»DAQmx»Analog Measurements and Hardware Input and
Output»DAQmx»Synchronization»Multi-Device.
•PXI-4224 Supported Properties in the LabVIEW VI, Function,
&How-To Help.
•Application Note 025: Field Wiring and Noise Considerations for
Analog Signals available at
Calibration refers to the process of minimizing measurement errors. On the
NI PXI-4224, errors from the digitizer components of the DAQ device
circuitry are corrected in the analog circuitry by onboard calibration
digital-to-analog converters (CalDACs). Errors from the signal
conditioning circuitry are corrected in software.
Three levels of calibration are available for the NI PXI-4224 to ensure
the accuracy of its analog circuitry. The first level, loading calibration
constants, is the fastest, easiest, and least accurate. The NI PXI-4224
automatically loads calibration constants stored in flash memory when
powered on. The intermediate level, internal calibration, is the preferred
method for assuring accuracy in your application. The last level, external
calibration, is the slowest, most difficult, and most accurate.
Loading Calibration Constants
The NI PXI-4224 is factory calibrated before shipment at approximately
23 °C to the levels indicated in Appendix A, Specifications. The associated
calibration constants are stored in the onboard nonvolatile flash memory.
These constants are the values that were written to the CalDACs to achieve
calibration in the factory and the remaining signal conditioning error.
The digitizer calibration constants are automatically read from the flash
memory and loaded into the CalDACs by the NI PXI-4224 hardware the
next time the device driver software is loaded. The signal conditioning
calibration constants are also read from the flash memory at this time.
Self-Calibration
The NI PXI-4224 can measure and correct for most of its offset errors
without any external signal connections. This calibration method is referred
to as internal calibration or self-calibration. This internal calibration
process, which generally takes less than two minutes, is the preferred
method for assuring accuracy in your application. Initiate an internal
calibration to minimize the effects of any offset drifts, particularly those
due to changes in temperature. To perform a self-calibration, complete the
following steps:
1.Double-click the Measurement & Automation Explorer icon on the
desktop.
2.Expand Devices and Interfaces to display the list of devices and
interfaces.
3.Expand NI-DAQmx Devices to display the list of NI-DAQmx devices.
NI PXI-4224 User Manual5-12ni.com
Note The NI PXI-4224 also can be self-calibrated programmatically by using DAQmx
Self Calibrate.vi
External Calibration
Chapter 5Using the NI PXI-4224
4.Right-click the NI PXI-4224 and select Self-Calibrate.
5.A dialog box opens indicating that the NI PXI-4224 is self-calibrating.
6.When the dialog box closes, the NI PXI-4224 is successfully
self-calibrated.
in LabVIEW.
The results of an internal calibration are stored in the NI PXI-4224 flash
memory so that the CalDACs are automatically loaded with the newly
calculated calibration constants the next time the NI PXI-4224 is
powered on.
Performing a self-calibration at the operating temperature of your
application will ensure the NI PXI-4224 meets the specifications in
Appendix A, Specifications.
You can download all available external calibration documents by going to
ni.com/calibration and clicking Manual Calibration Procedures.
NI recommends you perform an external calibration once a year.
Powered on ......................................100 MΩ parallel 100 pF
Powered off .....................................30 kΩ
Input bias current ....................................100 pA
CMRR
Balanced ..........................................120 dB at DC to 60 Hz
10 kΩ imbalanced............................85 dB at DC to 60 Hz;
65 dB at 60 Hz to 10 kHz
Crosstalk at 1 kHz
Adjacent channels............................–75 dB
All other channels............................–90 dB
Accuracy
Noise + Quantization
Nominal
Range
(V)
% of
Reading
1 Year
Offset
(μV)
Single
Pt.
(μV)
Averaged
Temperature Drift
Gain
(%/°C)
Offset
(μV/°C)
±10 V0.11±1730±6317±2000.002523012.6
±1 V0.12±176±632±20.00.0025261.4
Note: Accuracies are valid for measurements following an internal calibration and with autozero enabled, and are listed for
operational temperatures within ±1 °C of the internal calibration temperature and ±10 °C of 23 °C. Averaged numbers
assume 1,000 single-channel readings.
Refer to the product Declaration of Conformity (DoC) for additional
regulatory compliance information. To obtain product certifications and
the DoC for this product, visit
number or product line, and click the appropriate link in the Certification
column.
NI PXI-4224 User ManualA-6ni.com
ni.com/certification, search by model
Environmental Management
⬉ᄤֵᙃѻક∵ᶧࠊㅵ⧚ࡲ⊩ ˄Ё
˅
Ёᅶ᠋
NI is committed to designing and manufacturing products in an
environmentally responsible manner. NI recognizes that eliminating
certain hazardous substances from our products is beneficial to the
environment and to NI customers.
For additional environmental information, refer to the NI and the Environment Web page at
environmental regulations and directives with which NI complies, as well
as other environmental information not included in this document.
Waste Electrical and Electronic Equipment (WEEE)
EU Customers At the end of the life cycle, all products must be sent to a WEEE recycling
center. For more information about WEEE recycling centers and National Instruments
WEEE initiatives, visit
National Instruments
݇Ѣ
National InstrumentsЁRoHS
(For information about China RoHS compliance, go to
This appendix contains additional information about the timing signals
discussed in Chapter 4, Theory of Operation.
Connecting Timing Signals
Caution Exceeding the maximum input voltage ratings listed in Appendix A,
Specifications, can damage the device and the computer. NI is not liable for any damage
resulting from such signal connections.
Programmable Function Input Connections
You can externally control seven internal timing signals from PFI 0 and the
PXI trigger bus pins. The source for each of these signals is software
configurable from PFI 0, PXI_Trig<0..5>, or PXI_Star when you want
external control. This flexible routing scheme reduces the need to change
the physical wiring to the device I/O connector for applications requiring
alternative wiring.
B
As an input, each PFI signal can be individually configured for edge or level
detection and polarity selection. You can use the polarity selection for any
timing signal, but the edge or level detection depends on the particular
timing signal being controlled. The detection requirements for each timing
signal are listed in the corresponding sections.
In edge-detection mode, the minimum pulse width required is 10 ns. This
requirement applies for both rising-edge and falling-edge polarity settings.
There is no maximum pulse width requirement in edge-detection mode.
In level-detection mode, there are no pulse width requirements imposed by
the PFIs themselves. Limits can be imposed by the particular timing signal
being controlled. These requirements are listed in the sections that describe
the signals.
The timing signals are AI START TRIG, AI REF TRIG, AI SAMP CLK,
AI CONV CLK, AI PAUSE TRIG, AI SAMPLE CLK TIMEBASE, and
AI HOLD COMPLETE.
Posttriggered DAQ allows you to view data that is acquired after a trigger
event is received. Figure B-1 shows a typical posttriggered sequence.
AI START TRIG
AI SAMP CLK
AI CONV CLK
Scan Counter
13042
Figure B-1. Typical Posttriggered Sequence
Pretriggered DAQ allows you to view data that is acquired before the
trigger of interest in addition to data acquired after the trigger. Figure B-2
shows a typical pretriggered sequence.
AI START TRIG
AI REF TRIG
AI SAMP CLK
AI CONV CLK
Scan Counter
n/a
012310222
Figure B-2. Typical Pretriggered Sequence
NI PXI-4224 User ManualB-2ni.com
Appendix BTiming Signal Information
AI START TRIG Signal
The AI START TRIG signal can be input or output through PFI 0,
PXI_Trig<0..5>, or PXI_Star.
As an input, AI START TRIG is configured in the edge-detection mode.
You can select PFI 0 as the source for AI START TRIG and configure the
polarity selection for either rising or falling edge. The selected edge
of AI START TRIG starts the sequence for both posttriggered and
pretriggered acquisitions. Refer to Figures B-1 and B-2 for the relationship
of AI START TRIG to the sequence.
As an output, AI START TRIG reflects the action that initiates a sequence,
even if the acquisition is externally triggered by another PFI. The output is
an active high pulse with a pulse width of 50 to 100 ns. This output is set to
high-impedance at startup.
The device also uses AI START TRIG to initiate pretriggered operations.
In pretriggered applications, AI START TRIG is generated by a software
trigger unless a PFI pin is selected as the source of AI START TRIG. Refer
to the AI REF TRIG Signal section for a complete description of the use of
AI START TRIG and AI REF TRIG in a pretriggered operation.
AI REF TRIG Signal
The AI REF TRIG signal can be input through PFI 0, PXI_Trig<0..5>, or
PXI_Star. Refer to Figure B-2 for the relationship of AI REF TRIG to the
sequence.
As an input, AI REF TRIG is configured in edge-detection mode. You can
configure the polarity selection for either rising or falling edge. The
selected edge of AI REF TRIG initiates the posttriggered phase of a
pretriggered sequence. In pretriggered mode, the AI START TRIG signal
initiates the acquisition. The scan counter (SC) indicates the minimum
number of scans before AI REF TRIG is recognized. After the SC
decrements to zero, it is loaded with the number of posttrigger scans to
acquire while the acquisition continues. The device ignores AI REF TRIG
if it is asserted prior to the SC decrementing to zero. After the selected edge
of AI REF TRIG is received, the device acquires a fixed number of scans
and the acquisition stops. In pretriggered mode, the device acquires data
both before and after receiving AI REF TRIG.
As an output, AI REF TRIG reflects the posttrigger in a pretriggered
sequence, even if the acquisition is externally triggered by another PFI.
AI REF TRIG is not used in posttriggered DAQ. The output is an active
high pulse with a pulse width of 50 to 100 ns. This output is set to
high-impedance at startup.
Figures B-5 and B-6 show the input and output timing requirements
forAIREFTRIG.
t
w
Rising-Edge
Polarity
Falling-Edge
Polarity
tw = 10 ns minimum
Figure B-5. AI REF TRIG Input Signal Timing
NI PXI-4224 User ManualB-4ni.com
Appendix BTiming Signal Information
t
w
tw = 50 to 100 ns
Figure B-6. AI REF TRIG Output Signal Timing
AI SAMP CLK Signal
The AI SAMP CLK signal can be externally input from PFI 0,
PXI_Trig<0..5>, or PXI_Star. It can be output on any PXI trigger bus line.
Refer to Figures B-1 and B-2 for the relationship of AI SAMP CLK to the
sequence.
As an input, AI SAMP CLK is configured in edge-detection mode. You can
configure the polarity selection for either rising or falling edge. The
selected edge of AI SAMP CLK initiates a scan. The SI2 counter starts if
you select an internally triggered AI CONV CLK.
As an output, AI SAMP CLK reflects the actual start pulse that initiates
a scan, even if the starts are externally triggered by another PFI or
PXI_Trig<0..5>. Two output options are available. The first option is an
active high pulse with a pulse width of 50 to 100 ns, which indicates the
start of the scan. The second option is an active high pulse that terminates
at the start of the last conversion in the scan, which indicates a scan in
progress. AI SAMP CLK is deasserted, t
, after the last conversion in the
off
scan is initiated. This output is set to high-impedance at startup.
Figures B-7 and B-8 show the input and output timing requirements
forAISAMPCLK.
Rising-Edge
Falling-Edge
AI SAMP CLK
Polarity
Polarity
t
w
tw = 10 ns minimum
Figure B-7. AI SAMP CLK Input Signal Timing
t
w
tw = 50 to 100 ns
a. Start of Scan
Start Pulse
AI CONV REF
AI SAMP CLK
= 10 ns minimumt
t
off
b. Scan in Progress, Two Conversions per Scan
off
Figure B-8. AI SAMP CLK Output Signal Timing
The AI CONV CLK pulses are masked off until the device generates
AI SAMP CLK. If you use internally generated conversions, the first
AI CONV CLK appears when the onboard SI2 counter reaches zero.
If you select an external AI CONV CLK, the first external pulse after
NI PXI-4224 User ManualB-6ni.com
Appendix BTiming Signal Information
AI SAMP CLK generates a conversion. Separate the AI SAMP CLK
pulses by at least one scan period.
A counter on the device internally generates AI SAMP CLK unless you
select some external source. The AI START TRIG signal starts this
counter, and the application software or the sample counter stops it.
Scans generated by either an internal or external AI SAMP CLK are
inhibited unless they occur within a sequence. Scans occurring within
a sequence can be gated by either the hardware AI PAUSE TRIG signal or
the software command register gate.
AI CONV CLK Signal
PFI 0, PXI_Trig<0..5>, or PXI_Star can externally input the
AI CONV CLK signal, which is also available as an output on
PXI_Trig<0..5> or PXI_Star.
Refer to Figures B-1 and B-2 for the relationship of AI CONV CLK to
the sequence.
As an input, AI CONV CLK is configured in edge-detection mode.
You can configure the polarity selection for either rising or falling edge.
The selected edge of AI CONV CLK initiates an A/D conversion.
As an output, AI CONV CLK reflects the actual convert pulse that
connects to the ADC, even if the conversions are externally generated
by another PFI. The output is an active low pulse with a pulse width of
50 to 100 ns. This output is set to high-impedance at startup.
Figures B-9 and B-10 show the input and output timing requirements
forAICONVCLK.
The ADC switches to hold mode within 60 ns of the selected edge. This
hold-mode delay time is a function of temperature and does not vary from
one conversion to the next. Separate the AI CONV CLK pulses by at least
one conversion period.
The NI PXI-4224 sample interval counter generates AI CONV CLK
unless you select an external source. The AI SAMP CLK signal starts the
counter, which counts down and reloads itself until the scan finishes. The
counter then reloads itself in preparation for the next AI SAMP CLK pulse.
t
w
tw = 50 to 100 ns
Figure B-10. AI CONV CLK Output Signal Timing
A/D conversions generated by an internal or external AI CONV CLK
signal are inhibited unless they occur within a sequence. Scans occurring
within a sequence can be gated by either the hardware AI PAUSE TRIG
signal or the software command register gate.
AI PAUSE TRIG Signal
PFI 0, PXI_Trig<0..5>, or PXI_Star can externally input the
AI PAUSE TRIG signal, which is not available as an output on the
I/O connector. AI PAUSE TRIG can mask off scans in a sequence.
You can configure the pin you select as the source for AI PAUSE TRIG in
level-detection mode. You can configure the polarity selection for the pin
as either active high or active low.
In level-detection mode, the AI SAMP CLK signal is masked off and no
scans can occur.
AI PAUSE TRIG can neither stop a scan in progress nor continue a
previously gated-off scan. In other words, once a scan has started,
AI PAUSE TRIG does not gate off conversions until the beginning of the
next scan. Conversely, if conversions are gated off, AI PAUSE TRIG does
not gate them back on until the beginning of the next scan.
NI PXI-4224 User ManualB-8ni.com
Appendix BTiming Signal Information
AI SAMPLE CLK TIMEBASE Signal
PFI 0, PXI_Trig<0..5>, or PXI_Star can externally input the
AI SAMPLE CLK TIMEBASE signal, which is not available as an output
on the I/O connector. The onboard scan interval (SI) counter uses
AI SAMPLE CLK TIMEBASE as a clock to time the generation of the
AI SAMP CLK signal. Configure the pin you select as the source for
AI SAMPLE CLK TIMEBASE in level-detection mode. Configure
the polarity selection for the pin for either active high or active low.
The maximum allowed frequency is 20 MHz, with a minimum pulse width
of 23 ns high or low. There is no minimum frequency.
Either the 20 MHz or 100 kHz internal timebase generates
AI SAMPLE CLK TIMEBASE unless you select an external source.
Figure B-11 shows the timing requirements for
AI SAMPLE CLK TIMEBASE.
AI HOLD COMPLETE is an output-only signal that generates a pulse with
the leading edge occurring approximately 50 to 100 ns after an A/D
conversion begins. The polarity of this output is software configurable, but
the polarity is typically configured so that a low-to-high leading edge can
clock external analog input multiplexers that indicate when the input signal
has been sampled and can be removed. This signal has a 400 to 500 ns pulse
width and is software enabled. Figure B-12
AI HOLD COMPLETE.
Note The polarity of AI HOLD COMPLETE is not software selectable when
programmed using NI-DAQmx. It is a positive polarity pulse.
shows the timing for
AI CONV CLK
AI HOLD COMPLETE
Figure B-12. AI HOLD COMPLETE Signal Timing
t
d
t
= 50 to 100 ns
d
tw = 400 to 500 ns
t
w
NI PXI-4224 User ManualB-10ni.com
C
Removing the NI PXI-4224
This appendix provides details for removing an NI PXI-4224 device from
MAX and from a PXI or PXI/SCXI combination chassis.
Note You must physically remove the NI PXI-4224 from the chassis before you can
remove it from MAX.
Removing the NI PXI-4224 from a PXI or PXI/SCXI
Combination Chassis
Consult the PXI or PXI/SCXI chassis documentation for additional
instructions and cautions. To remove the NI PXI-4224 device from a PXI
or PXI/SCXI chassis, complete the following steps while referring to
Figure C-1:
1.Power off the PXI chassis. Do not remove the NI PXI-4224 device
from a chassis that is powered on. If the you are using a PXI/SCXI
combination chassis, also power off the SCXI portion of the chassis.
2.Rotate the mounting screws that secure the NI PXI-4224 to the chassis
counter-clockwise until they are loose, but do not completely remove
the screws.
3.Remove the NI PXI-4224 by pushing down steadily on the
injector/ejector handle until the device disengages from the chassis.
4.Slide the device completely out.
The next time you restart the computer the NI PXI-4224 will have a red
circle with a white X inside it next to the device in MAX.
Figure C-1. Injector/Ejector Handle Position Before Device Removal
Removing the NI PXI-4224 from MAX
To remove an NI PXI-4224 device from MAX, complete the following
steps after launching MAX:
1.Expand Devices and Interfaces to display the list of installed devices
and interfaces. The NI PXI-4224 should have a red circle with a white
X inside it next to the device to indicate it has been physically removed
from the chassis.
2.Right-click the NI PXI-4224 and click Delete.
3.You are presented with a confirmation window. Click Yes to continue
deleting the device or No to cancel this action.
The NI PXI-4224 is now removed from the list of installed devices
in MAX.
NI PXI-4224 User ManualC-2ni.com
Common Questions
This appendix lists common questions related to the use of the
NI PXI-4224.
Which version of NI-DAQ works with the NI PXI-4224 and how do
I get the most current version of NI-DAQ?
You must have NI-DAQ 7.3.1 or later and use NI-DAQmx.
1.Go to
2.Follow the link, Download Software»Drivers and Updates»
3.Enter the keyword
Does the NI PXI-4224 have hardware analog triggering?
No.
Is the NI PXI-4224 an isolated device?
ni.com.
Search Drivers and Updates.
your operating system.
D
NI-DAQ to find the latest version of NI-DAQ for
Yes, the NI PXI-4224 provides true channel-to-channel and
channel-to-chassis isolation.
When no signal is connected to the NI PXI-4224, what behavior should
I expect?
While the NI PXI-4224 may react differently because of system and
condition variables, in most cases, a channel drifts to one extreme output.
To prevent this behavior short the inputs to unused channels.
How do I program the NI PXI-4224?
Refer to Chapter 4, Theory of Operation, or your ADE help file for
application programming information. There is no register-level
programming manual available for the NI PXI-4224.
How do I perform an external calibration of the NI PXI-4224?
As of the NI PXI-4224 release, an external calibration document is not
available. To check the availability of an NI PXI-4224 external calibration
document is go to
ADCAnalog-to-digital converter—An electronic device, often an integrated
circuit, that converts an analog voltage to a digital number.
ADEApplication development environment.
AIAnalog input.
AI CONV CLKConvert signal.
AI HOLD COMPLETEScan clock signal.
AI PAUSE TRIGAnalog input gate signal.
AI SAMP CLKStart scan signal.
B
bandwidthThe range of frequencies present in a signal, or the range of frequencies to
which a measuring device can respond.
bipolarA signal range that includes both positive and negative values (for example,
–5 to +5 V).
breakdown voltageThe voltage high enough to cause breakdown of optical isolation,
semiconductors, or dielectric materials. See also working voltage.
busThe group of conductors that interconnect individual circuitry in a
computer. Typically, a bus is the expansion vehicle to which I/O or other
devices are connected. An example of a PC bus is the PCI bus.
C
CCelsius.
CalDACCalibration DAC.
CHChannel—Pin or wire lead to which you apply or from which you read the
analog or digital signal. Analog signals can be single-ended or differential.
For digital signals, you group channels to form ports. Ports usually consist
of either four or eight digital channels.
channel clockThe clock controlling the time interval between individual channel
sampling within a scan.
NI PXI-4224 User ManualG-2ni.com
Glossary
CMRCommon-mode rejection.
CMRRCommon-mode rejection ratio—A measure of an instrument’s ability to
reject interference from a common-mode signal, usually expressed in
decibels (dB).
common-mode signalAny voltage present at the instrumentation amplifier inputs with respect to
amplifier ground.
counter/timerA circuit that counts external pulses or clock pulses (timing).
D
D/ADigital-to-analog.
D GNDDigital ground signal.
DACDigital-to-analog converter—An electronic device, often an integrated
circuit, that converts a digital number into a corresponding analog voltage
or current.
DAQData acquisition—(1) Collecting and measuring electrical signals from
sensors, transducers, and test probes or fixtures and inputting them to a
computer for processing; (2) collecting and measuring the same kinds of
electrical signals with A/D and/or DIO devices plugged into a computer,
and possibly generating control signals with D/A and/or DIO devices in the
same computer.
DAQ Assistant
A configuration assistant with which you define and configure your DAQ
operation.
DAQ-STCData acquisition system timing controller chip.
dBDecibel—The unit for expressing a logarithmic measure of the ratio of
two signal levels: dB = 20log
(V1/V2), for signals in volts.
10
DCDirect current.
differential inputAn analog input consisting of two terminals, both of which are isolated
from computer ground, the difference of which is measured.
DIODigital input/output.
ditheringThe addition of Gaussian noise to an analog input signal.
DMADirect memory access—A method by which data can be transferred
to/from computer memory from/to a device or memory on the bus while the
processor does something else. DMA is the fastest method of transferring
data to/from computer memory.
DNLDifferential nonlinearity—A measure in least significant bit of the
worst-case deviation of code widths from their ideal value of 1 LSB.
driverSoftware that controls a specific hardware device such as a DAQ device.
E
EEPROMElectrically erasable programmable read-only memory—ROM that can be
erased with an electrical signal and reprogrammed.
radiation from a device, which could interfere with desired signals in test
or communication equipment.
ESDElectrostatic discharge.
F
FIFOFirst-in first-out memory buffer.
floating signal sourcesSignal sources with voltage signals that are not connected to an absolute
reference or system ground. Also called nonreferenced signal sources.
Some common example of floating signal sources are batteries,
transformers, or thermocouples.
G
gGram or grams.
gainThe factor by which a signal is amplified, sometimes expressed in decibels.
gain accuracyA measure of deviation of the gain of an amplifier from the ideal gain.
NI PXI-4224 User ManualG-4ni.com
Glossary
H
hHour or hours.
HzHertz—The number of scans read or updates written per second.
I
I/OInput/output—The transfer of data to/from a computer system involving
communications channels, operator interface devices, and/or DAQ and
control interfaces.
in.Inch or inches.
INLIntegral nonlinearity—A measure in LSB of the worst-case deviation from
the ideal A/D or D/A transfer characteristic of the analog I/O circuitry.
input bias currentThe current that flows into the inputs of a circuit.
input impedanceThe resistance and capacitance between the input terminals of a circuit.
input offset currentThe difference in the input bias currents of the two inputs of an
instrumentation amplifier.
instrumentation
amplifier
interchannel delayAmount of time that passes between sampling consecutive channels.
A circuit whose output voltage with respect to ground is proportional to the
difference between the voltages at its two high impedance inputs.
The interchannel delay must be short enough to allow sampling of all
the channels in the channel list, within the scan interval. The greater the
interchannel delay, the more time the PGA is allowed to settle before
the next channel is sampled. The interchannel delay is regulated by
AI CONV CLK.
K
kKilo—The standard metric prefix for 1,000, or 103, used with units of
LabVIEWLaboratory Virtual Instrument Engineering Workbench—A program
development application based on the programming language G and
used commonly for test and measurement purposes.
LEDLight-emitting diode.
linearityThe adherence of device response to the equation R = KS, where
R = response, S = stimulus, and K = a constant.
LSBLeast significant bit.
M
MAXMeasurement & Automation Explorer—NI software for configuring
devices and channels.
maximum working
voltage
MITEMXI Interface to Everything—A custom ASIC designed by NI that
MSBMost significant bit.
muxMultiplexer—A switching device with multiple inputs that sequentially
The highest voltage with respect to ground that should be applied to an
input terminal during normal use, normally well under the breakdown
voltage for safety margin. Includes both the signal and common-mode
voltages.
implements the PCI bus interface. The MITE supports bus mastering
for high-speed data transfers over the PCI bus.
connects each of its inputs to its output, typically at high speeds, in order
to measure several signals with a single analog input channel.
NI PXI-4224 User ManualG-6ni.com
N
Glossary
NI-DAQmx
noiseAn undesirable electrical signal—Noise comes from external sources such
normal mode
voltage
The latest NI-DAQ driver with new VIs, functions, and development tools
for controlling measurement devices.
as the AC power line, motors, generators, transformers, fluorescent lights,
soldering irons, CRT 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.
Voltage that occurs in the case of interference between two conductors of a
circuit.
O
OUTOutput pin—A counter output pin where the counter can generate various
TTL pulse waveforms.
P
PCIPeripheral component interconnect.
PFIProgrammable function input.
PGAProgrammable gain amplifier.
port(1) A communications connection on a computer or a remote controller;
(2) a digital port, consisting of four or eight lines of digital input and/or
output.
ppmParts per million.
PXIPCI eXtensions for Instrumentation—An open specification that builds on
the CompactPCI specification by adding instrumentation-specific features.
The timing bus that connects PXI DAQ devices directly, by means of
connectors built into the backplane of the PXI chassis, for precise
synchronization of functions. This bus is functionally equivalent to the
RTSI bus for PCI DAQ devices.
Glossary
R
relative accuracyA measure in LSB of the accuracy of an ADC. It includes all nonlinearity
and quantization errors. It does not include offset and gain errors of the
circuitry feeding the ADC.
resolutionThe smallest signal increment that can be detected by a measurement
system. Resolution can be expressed in bits, in proportions, or in percent
of full scale. For example, a system has 16-bit resolution, one part in
65,536 resolution, and 0.0015% of full scale.
rmsRoot mean square—The square root of the average value of the square of
the instantaneous signal amplitude; a measure of signal amplitude.
RTSI busReal-time system integration bus—The NI timing bus that connects DAQ
devices directly, for precise synchronization of functions.
S
sSecond or seconds.
SSample or samples.
S/sSamples per second—Used to express the rate at which a DAQ device
samples an analog signal.
sample counterThe clock that counts the output of the channel clock, in other words,
the number of samples taken.
scanOne or more analog or digital input samples. Typically, the number of input
samples in a scan is equal to the number of channels in the input group. For
example, one pulse from the scan clock produces one scan which acquires
one new sample from every analog input channel in the group.
scan clockThe clock controlling the time interval between scans.
scan intervalControls how often a scan is initialized. The scan interval is regulated by
AI SAMP CLK.
scan rateReciprocal of the scan interval.
NI PXI-4224 User ManualG-8ni.com
Glossary
SCXISignal Conditioning eXtensions for Instrumentation—The NI product line
for conditioning low-level signals within an external chassis near sensors
so only high-level signals are sent to DAQ devices in the noisy PC
environment.
self-calibratingA property of a DAQ device that has an extremely stable onboard reference
and calibrates its own A/D and D/A circuits without manual adjustments by
the user.
signal conditioningThe manipulation of signals to prepare them for digitizing.
software triggerA programmed event that triggers an event such as DAQ.
STCSystem timing controller.
T
TRIGTrigger signal.
triggerAny event that causes or starts some form of data capture.
TTLTransistor-transistor logic—A digital circuit composed of bipolar
transistors wired in a certain manner.
V
VVolt or volts.
VDCVolts direct current.
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 device (VI), which
consists of a front panel user interface and a block diagram program.