Worldwide Technical Support and Product Information
ni.com
Worldwide Offices
ni.com/niglobal to access the branch office websites, which provide up-to-date
Visit
contact information, support phone numbers, email addresses, and current events.
National Instruments Corporate Headquarters
11500 North Mopac Expressway Austin, Texas 78759-3504 USA Tel: 512 683 0100
For further support information, refer to the NI Services appendix. To comment on NI
documentation, refer to the NI website at ni.com/info and enter the Info Code feedback.
This document is provided ‘as is’ and is subject to being changed, without notice, in future editions. For the latest version,
refer to
ni.com/manuals. NI reviews this document carefully for technical accuracy; however, NI MAKES NO EXPRESS
OR IMPLIED WARRANTIES AS TO THE ACCURACY OF THE INFORMATION CONTAINED HEREIN AND
SHALL NOT BE LIABLE FOR ANY ERRORS.
NI warrants that its hardware products will be free of defects in materials and workmanship that cause the product to fail to
substantially conform to the applicable NI published specifications for one (1) year from the date of invoice.
For a period of ninety (90) days from the date of invoice, NI warrants that (i) its software products will perform substantially
in accordance with the applicable documentation provided with the software and (ii) the software media will be free from
defects in materials and workmanship.
If NI receives notice of a defect or non-conformance during the applicable warranty period, NI will, in its discretion: (i) repair
or replace the affected product, or (ii) refund the fees paid for the affected product. Repaired or replaced Hardware will be
warranted for the remainder of the original warranty period or ninety (90) days, whichever is longer. If NI elects to repair or
replace the product, NI may use new or refurbished parts or products that are equivalent to new in performance and reliability
and are at least functionally equivalent to the original part or product.
You must obtain an RMA number from NI before returning any product to NI. NI reserves the right to charge a fee for
examining and testing Hardware not covered by the Limited Warranty.
This Limited Warranty does not apply if the defect of the product resulted from improper or inadequate maintenance,
installation, repair, or calibration (performed by a party other than NI); unauthorized modification; improper environment;
use of an improper hardware or software key; improper use or operation outside of the specification for the product; improper
voltages; accident, abuse, or neglect; or a hazard such as lightning, flood, or other act of nature.
THE REMEDIES SET FORTH ABOVE ARE EXCLUSIVE AND THE CUSTOMER’S SOLE REMEDIES, AND SHALL
APPLY EVEN IF SUCH REMEDIES FAIL OF THEIR ESSENTIAL PURPOSE.
EXCEPT AS EXPRESSLY SET FORTH HEREI N, PRODUCTS ARE PROVIDED "AS IS" WITHOUT WARRANTY OF
ANY KIND AND NI DISCLAIMS ALL WARRANTIES, EXPRESSED OR IMPLIED, WITH RESPECT TO THE
PRODUCTS, INCLUDING ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
PARTICULAR PURPOSE, TITLE OR NON-INFRINGEMENT, AND ANY WARRANTIES THAT MAY ARISE FROM
USAGE OF TRADE OR COURSE OF DEALING. NI DOES NOT WARRANT, GUARANTEE, OR MAKE ANY
REPRESENTATIONS REGARDING THE USE OF OR THE RESULTS OF THE USE OF THE PRODUCTS IN TERMS
OF CORRECTNESS, ACCURACY, RELIABILITY, OR OTHERWISE. NI DOES NOT WARRANT THAT THE
OPERATION OF THE PRODUCTS WILL BE UNINTERRUPTED OR ERROR FREE.
In the event that you and NI have a separate signed written agreement with warranty terms covering the products, then the
warranty terms in the separate agreement shall 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.
End-User License Agreements and Third-Party Legal Notices
You can find end-user license agreements (EULAs) and third-party legal notices in the following locations:
• Notices are located in the
directories.
• EULAs are located in the
•Review
<National Instruments>\_Legal Information.txt for information on including legal information in
installers built with NI products.
U.S. Government Restricted Rights
If you are an agency, department, or other entity of the United States Government (“Government”), the use, duplication,
reproduction, release, modification, disclosure or transfer of the technical data included in this manual is governed by the
Restricted Rights provisions under Federal Acquisition Regulation 52.227-14 for civilian agencies and Defense Federal
Acquisition Regulation Supplement Section 252.227-7014 and 252.227-7015 for military agencies.
Trademarks
Refer to the NI Trademarks and Logo Guid elines at ni.com/trademarks for more information on NI trademarks.
ARM, Keil, and µVision are trademarks or registered of ARM Ltd or its subsidiaries.
LEGO, the LEGO logo, WEDO, and MINDSTORMS are trademarks of the LEGO Group.
TETRIX by Pitsco is a trademark of Pitsco, Inc.
FIELDBUS FOUNDATION
®
EtherCAT
is a registered trademark of and licensed by Beckhoff Automation GmbH.
<National Instruments>\_Legal Information and <National Instruments>
and FOUNDATION™ are trademarks of the Fieldbus Foundation.
CANopen® is a registered Community Trademark of CAN in Automation e.V.
™
DeviceNet
Go!, SensorDAQ, and Vernier are registered trademarks of Vernier Software & Technol ogy. Vernier Software & Technology
and
and EtherNet/IP™ are trademarks of ODVA.
vernier.com are trademarks or trade dress.
Xilinx is the registered trademark of Xilinx, Inc.
Taptite and Trilobular are registered trademarks of Research Engineering & Manufacturing Inc.
®
is the registered trademark of Apple Inc.
FireWire
®
is the registered trademark of Linus Torvalds in the U.S. and other countries.
Linux
Handle Graphics
Simulink Coder
Tektronix
The Bluetooth
The ExpressCard
license.
The mark LabWindows is used under a license from Microsoft Corporation. Windows is a registered trademark of Microsoft
Corporation in the United States and other countries.
®
, MATLAB®, Simulink®, Stateflow®, and xPC TargetBox® are registered trademarks, and
™
, TargetBox™, and Target Language Compiler™ are trademarks of The MathWorks, Inc.
®
, Tek, and Tektronix, Enabling Technology are registered trademarks of Tektronix, Inc.
®
word mark is a registered trademark owned by the Bluetooth SIG, Inc.
™
word mark and logos are owned by PCMCIA and any use of such marks by National Instruments is under
Other product and company names mentioned herein are trademarks or trade names of their respective companies.
Members of the National Instruments Alliance Partner Program are business entities independent from NI and have no
agency, partnership, or joint-venture relationship with NI.
Patents
For patents covering NI 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.
Export Compliance Information
Refer to the Export Compliance Information at ni.com/legal/export-compliance for the NI global trade compliance
policy and how to obtain relevant HTS codes, ECCNs, and other import/export data.
WARNING REGARDING USE OF NATIONAL INSTRUMENTS PRODUCTS
YOU ARE ULTIMATELY RESPONSIBLE FOR VERIFYING AND VALIDATING THE SUITABILITY AND
RELIABILITY OF THE PRODUCTS WHENEVER THE PRODUCTS ARE INCORPORATED IN YOUR SYSTEM OR
APPLICATION, INCLUDING THE APPROPRIATE DESIGN, PROCESS, AND SAFETY LEVEL OF SUCH SYSTEM
OR APPLICATION.
PRODUCTS ARE NOT DESIGNED, MANUFACTURED, OR TESTED FOR USE IN LIFE OR SAFETY CRITICAL
SYSTEMS, HAZARDOUS ENVIRONMENTS OR ANY OTHER ENVIRONMENTS REQUIRING FAIL-SAFE
PERFORMANCE, INCLUDING IN THE OPERATION OF NUCLEAR FACILITIES; AIRCRAFT NAVIGATION; AIR
TRAFFIC CONTROL SYSTEMS; LIFE SAVING OR LIFE SUSTAINING SYSTEMS OR SUCH OTHER MEDICAL
DEVICES; OR ANY OTHER APPLICATION IN WHICH THE FAILURE OF THE PRODUCT OR SERVICE COULD
LEAD TO DEATH, PERSONAL INJURY, SEVERE PROPERTY DAMAGE OR ENVIRONMENTAL HARM
(COLLECTIVELY, “HIGH-RISK USES”). FURTHER, PRUDENT STEPS MUST BE TAKEN TO PROTECT AGAINST
FAILURES, INCLUDING PROVIDING BACK-UP AND SHUT-DOWN MECHANISMS. NI EXPRESSLY DISCLAIMS
ANY EXPRESS OR IMPLIED WARRANTY OF FITNESS OF THE PRODUCTS OR SERVICES FOR HIGH-RISK
USES.
Contents
Chapter 1
Getting Started with the cDAQ Controller
The National Instruments CompactDAQ cDAQ-9138 controller features the 1.06 GHz Celeron
processor. The National Instruments CompactDAQ cDAQ-9139 controller features the
1.33 GHz Intel Core i7 processor. The NI cDAQ-9138 and NI cDAQ-9139 are available as a
Windows Embedded Standard 7 (WES7) or a LabVIEW Real-Time system.
This chapter contains information about getting started with the cDAQ controller with Windows
and with LabVIEW Real-Time:
•For NI cDAQ-9138/9139 for Windows, refer to the Installing the NI cDAQ-9138/9139 for
Windows section
•For NI cDAQ-9138/9139 for LabVIEW Real-Time, refer to the Installing the
NI cDAQ-9138/9139 for LabVIEW Real-Time section
The eight-slot cDAQ controller has a number of standard interfaces and combines with C Series
modules to measure a broad range of analog and digital I/O signals that can be logged to the local
hard drive. For specifications, refer to the specifications document for your cDAQ controller.
For module specifications, refer to the documentation included with your C Series module(s) or
ni.com/manuals.
go to
Note Go to ni.com/info and enter Info Code exswh5 for up-to-date
information about supported NI devices for the cDAQ controller.
Figure 1-1 shows the NI cDAQ-9138/9139 controller.
Figure 1-1. NI cDAQ-9138/9139 Controller
12
NI
cDAQ-9139
NI CompactDAQ
34
56
18
17
16 1514 13 12 11 10
1 POWER, DRIVE, STATUS, and USER1 LEDs
2 Power Connector
3 RS-485/422 Serial Port
4 Chassis Grounding Screw
5 CFast SSD Module Housing
6 CMOS Reset Button
7 CPU eXpansion Module (CXM) Connector
8 Installed C Series Modules
9 Module Slots
10 USB Ports
Safety Guidelines
Caution Do not operate the NI cDAQ-9138/9139 controller in a manner not
specified in these operating instructions. Product misuse can result in a hazard. You
can compromise the safety protection built into the product if the product is damaged
in any way. If the product is damaged, return it to National Instruments for repair.
7
9
11 USB Retention Standoff
12 Ethernet Ports, ACT/LINK and 10/100/1000
Ethernet LEDs
13 MXI-Express Port and LINK LED
14 Video (VGA) Port
15 RS-232 Serial Port
16 Power Button
17 RESET Button
18 DISABLE RT, SAFE MODE, CONSOLE OUT,
IP RESET, NO APP, and USER1 DIP Switches
8
1-2 | ni.com
Note Because some C Series modules may have more stringent certification
standards than the NI cDAQ-9138/9139 controller, the combined system may be
limited by individual component restrictions. Refer to the specifications document
for your cDAQ controller for more details.
Hot Surface This icon denotes that the component may be hot. Touching this
component may result in bodily injury.
NI cDAQ-9138/9139 User Manual
Electromagnetic Compatibility Guidelines
This product was tested and complies with the regulatory requirements and limits for
electromagnetic compatibility (EMC) stated in the product specifications. These requirements
and limits provide reasonable protection against harmful interference when the product is
operated in the intended operational electromagnetic environment.
This product is intended for use in residential, commercial and industrial locations. However,
harmful interference may occur in some installations or when the product is connected to a
peripheral device or a test object. To minimize interference with radio and television reception
and prevent unacceptable performance degradation, install and use this product in strict
accordance with the instructions in the product documentation.
Furthermore, any modifications to the product not expressly approved by National Instruments
could void your authority to operate it under your local regulatory rules.
Caution To ensure the specified EMC performance, operate this product only with
shielded cables and accessories. Note that the input DC power cables may be
unshielded.
Caution To ensure the specified EMC performance, do not connect the power input
to a DC mains supply or to any supply requiring a connecting cable longer than 3 m
(10 ft). A DC mains supply is a local DC electricity supply network in the
infrastructure of a site or building.
Caution To ensure the specified EMC performance, the length of any cable
connected to the video port must be no longer than 3 m (10 ft). The length of any
cable connected to the RS-232, USB, and MXI-Express ports must be no longer than
30 m (100 ft).
Caution To ensure the specified EMC performance, install snap-on, ferrite bead
(National Instruments part number 711849-01, included in the shipping kit) in
accordance with the product installation instructions.
Hardware Symbol Definitions
The following symbols are marked on your cDAQ controller.
Caution When this symbol is marked on a product, refer to the Safety Guidelines
section for information about precautions to take.
ESD When this symbol is marked on a product, the product could be damaged if
subjected to Electrostatic Discharge (ESD) on the connector pins of any I/O port.
To prevent damage, industry-standard ESD prevention measures must be employed
during installation, maintenance, and operation.
EU Customers At the end of the product life cycle, all products must be sent to
a WEEE recycling center. For more information about WEEE recycling centers,
National Instruments WEEE initiatives, and compliance with WEEE Directive
2002/96/EC on Waste and Electronic Equipment, visit
.
weee
Battery Directive This device contains a long-life coin cell battery. If you need
Cd/Hg/Pb
to replace it, use the Return Material Authorization (RMA) process or contact an
authorized National Instruments service representative. For more information
about compliance with the EU Battery Directive 2006/66/EC about Batteries
and Accumulators and Waste Batteries and Accumulators, visit
environment/batterydirective
Unpacking
ni.com/environment/
ni.com/
.
The cDAQ controller ships in an antistatic package to prevent electrostatic discharge (ESD).
ESD can damage several components on the device.
Caution Never touch the exposed pins of connectors.
To avoid ESD damage in handling the device, take the following precautions:
•Ground yourself with a grounding strap or by touching a grounded object.
•Touch the antistatic package to a metal part of your computer controller before removing
the device from the package.
Remove the device from the package and inspect it for loose components or any other signs of
damage. Notify NI if the device appears damaged in any way. Do not install a damaged device
in your computer or controller.
Store the device in the antistatic package when the device is not in use.
1-4 | ni.com
NI cDAQ-9138/9139 User Manual
Installing the NI cDAQ-9138/9139 for Windows
(NI cDAQ-9138/9139 for Windows) The NI cDAQ-9138/9139 for Windows is shipped with
preloaded Windows Embedded Standard 7 (WES7), LabVIEW (evaluation version), and
NI-DAQmx driver software. The cDAQ controller and C Series module(s) are packaged
separately. You will require a monitor, VGA cable, and computer mouse and keyboard to
complete this installation process. You will also require number 1 and number 2 Phillips
screwdrivers to install and set up the cDAQ controller.
You will need the following items to set up the NI cDAQ-9138/9139 for Windows controller:
•Power connector (packaged with the cDAQ controller)
•Ferrites (packaged with the cDAQ controller)
•Screwdriver (packaged with the cDAQ controller)
•Power supply
•Monitor
•Compatible VGA cable
•Computer mouse and keyboard
•Number 1 and number 2 Phillips screwdrivers
•C Series module(s)
Note Table 1-1 lists the earliest supported driver version for each cDAQ controller
for Windows.
Table 1-1. cDAQ Controller NI-DAQmx Software Support
cDAQ ControllerEarliest NI-DAQmx Support
NI cDAQ-9138 for WindowsNI-DAQmx 9.5.1
NI cDAQ-9139 for WindowsNI-DAQmx 9.5.1
The NI-DAQmx driver software preloaded onto your cDAQ controller is available for download
ni.com/support. The documentation for NI-DAQmx is available from Start»All
at
Programs»National Instruments»NI-DAQ. Other NI documentation is available from
ni.com/manuals.
Refer to Figure 1-1 while completing the following assembly steps.
1.Mount the cDAQ controller to a panel, wall, or DIN rail, or attach the desktop mounting
kit, as described in the Mounting the cDAQ Controller section.
2.Connect a monitor to the cDAQ controller video port with a compatible VGA cable. Refer
to the Video (VGA) Port section for more information about this connector.
4.Connect a computer keyboard and mouse to the bottom two USB ports on the cDAQ
controller.
5.Attach a ring lug to a 1.31 mm2 (16 AWG) or larger wire. Remove the ground screw from
the ground terminal on the front panel. Attach the ring lug to the ground terminal and
tighten the grounding screw to 0.5 N · m (4.4 lb · in.) of torque. Attach the other end of the
wire to chassis safety ground using a method appropriate for the application, as shown in
Figure 1-2. Refer to the Chassis Grounding Screw section for more information about earth
ground.
Note If you use shielded cabling to connect to a C Series module with a plastic
connector, you must attach the cable shield to the chassis grounding terminal using
2
1.31 mm
(16 AWG) or larger wire. Use shorter wire for better EMC performance.
Figure 1-2. Ring Lug Attached to Ground Terminal
38
1
9
-
Q
Q
A
A
actD
p
NI cD
m
Co
NI
Note Make sure that no I/O-side power is connected to the module. If the controller
is in a nonhazardous location, the controller power can be on when you install
modules.
6.Align the module with a cDAQ controller slot. The module slots are labeled 1 to 8, left to
right.
7.Squeeze the latches and insert the module into the module slot, and press firmly on the
connector side of the module until the latches lock the module into place.
Repeat these steps to install additional modules.
1-6 | ni.com
NI cDAQ-9138/9139 User Manual
8.Verify that the DISABLE RT DIP switch is in the ON position so that the controller boots
into the Windows operating system. Refer to the DIP Switches section for more information
about the DISABLE RT DIP switch.
Figure 1-3. DISABLE RT DIP Switch in ON Position
DISABLE RT
SAFE MODE
CONSOLE OUT
IP RESET
NO APP
USER1
ONOFF
9.Wire your external power source as outlined in the Wiring Power to the cDAQ Controller
section. The cDAQ controller requires an external power supply that meets the
specifications listed in the specifications document for your cDAQ controller.
10. Turn on the external power supply.
11. Press the power button on the front panel of the cDAQ controller.
When the cDAQ controller powers on, the Power LED lights and the controller runs a
power-on self test (POST). When the POST is complete, the operating system is loaded.
12. Go through the steps on the Set Up Windows screen that opens on your monitor. Windows
prepares your desktop.
13. Wire the C Series module as indicated in the C Series module documentation, available
from
ni.com/manuals.
14. Self-test your controller in Measurement & Automation Explorer (MAX) by
double-clicking the MAX icon on the desktop to open MAX. Expand Devices and Interfaces, right-click NI cDAQ-<model number>, and select Self-Test. Self-test
performs a brief test to determine successful controller installation.
15. Run a Test Panel in MAX by expanding Devices and Interfaces»NI cDAQ-<model number>, right-clicking your C Series module, and selecting Test Panels to open a test
panel for the selected module.
If the test panel displays an error message, refer to ni.com/support.
New users can view and use the Voltage - Continuous Input VI, available in the
LabVIEW Example Finder. Experienced users can use the LabVIEW Sample Projects, Finite
Measurement (NI-DAQmx) and Continuous Measurement and Logging (NI-DAQmx).
Note When in use, the cDAQ controller may become warm to the touch. This is
normal.
Note The network behavior is determined by the Windows network drivers. Refer
to the Windows documentation for information about configuring IP settings.
Note You can use the cDAQ controller BIOS setup utility to configure the cDAQ
controller to start immediately when power is applied or to respond to the front-panel
power button. Refer to the Power/Wake Configuration Submenu section of
Appendix A, Controller Operating System and Configuration , for information about
the different powerup behaviors you can configure. The power button is enabled by
default so that the cDAQ controller does not power on until the power button is
pressed.
Installing the NI cDAQ-9138/9139 for LabVIEW
Real-Time
The NI cDAQ-9138/9139 for LabVIEW Real-Time features a hard drive formatted for
LabVIEW Real-Time. The cDAQ controller and C Series module(s) are packaged separately.
You will need a host computer running Windows 10/8.1/8/7/Vista/XP (check your driver and
ADE readme files for specific version compatibility). You will also require number 1 and
number 2 Phillips screwdrivers to install and set up the cDAQ controller.
You will need the following items to set up the NI cDAQ-9138/9139 for LabVIEW Real-Time
controller:
•Power connector (packaged with the cDAQ controller)
•USB cable (packaged with the cDAQ controller)
•Ferrites (packaged with the cDAQ controller)
•Screwdriver (packaged with the cDAQ controller)
•Host computer running Windows (check your driver and ADE readme files for specific
version compatibility)
•LabVIEW software
•LabVIEW Real-Time software
•NI-DAQmx driver (packaged with the cDAQ controller)
•Power supply
•Number 1 and number 2 Phillips screwdrivers
•C Series module(s)
Refer to Figure 1-1 while completing the following assembly steps.
1.Install LabVIEW on your host computer, as described in the LabVIEW Installation Guide.
2.Install LabVIEW Real-Time on your host computer, as described in the
LabVIEW Real-Time Module Release and Upgrade Notes.
3.Install NI-DAQmx on your host computer, as described in the Read Me First: NI-DAQmx and DAQ Device Installation Guide.
1-8 | ni.com
NI cDAQ-9138/9139 User Manual
Note Table 1-2 lists the earliest supported driver version for each cDAQ controller
for LabVIEW for Real-Time.
Table 1-2. cDAQ Controller NI-DAQmx Software Support
cDAQ ControllerEarliest NI-DAQmx Support
NI cDAQ-9138 for LabVIEW Real-TimeNI-DAQmx 9.6
NI cDAQ-9139 for LabVIEW Real-TimeNI-DAQmx 9.6
The NI-DAQmx driver software is included on the disk shipped with your kit and is available
for download at
ni.com/support. The documentation for NI-DAQmx is available after
installation from Start»All Programs»National Instruments»NI-DAQ. Other NI
documentation is available from
ni.com/manuals.
4.Power on the host computer and connect it to an Ethernet network.
5.Mount the cDAQ controller to a panel, wall, or DIN rail, or attach the desktop mounting
kit, as described in the Mounting the cDAQ Controller section.
6.Attach a ring lug to a 1.31 mm
2
(16 AWG) or larger wire. Remove the ground screw from
the ground terminal on the front panel. Attach the ring lug to the ground terminal and
tighten the grounding screw to 0.5 N · m (4.4 lb · in.) of torque. Attach the other end of the
wire to chassis safety ground using a method appropriate for the application, as shown in
Figure 1-2. Refer to the Chassis Grounding Screw section for more information about earth
ground.
Note If you use shielded cabling to connect to a C Series module with a plastic
connector, you must attach the cable shield to the chassis grounding terminal using
2
1.31 mm
Note Make sure that no I/O-side power is connected to the module. If the controller
(16 AWG) or larger wire. Use shorter wire for better EMC performance.
is in a nonhazardous location, the controller power can be on when you install
modules.
7.Align the module with a cDAQ controller slot. The module slots are labeled 1 to 8, left to
right.
8.Squeeze the latches and insert the module into the module slot, and press firmly on the
connector side of the module until the latches lock the module into place.
9.Verify that the DISABLE RT DIP switch is in the OFF position so that the controller will
boot into LabVIEW Real-Time. Refer to the DIP Switches section for more information
about the DISABLE RT DIP switch.
Figure 1-4. DISABLE RT DIP Switch in OFF Position
DISABLE RT
SAFE MODE
CONSOLE OUT
IP RESET
NO APP
USER1
ONOFF
10. Wire your external power source as outlined in the Wiring Power to the cDAQ Controller
section. The cDAQ controller requires an external power supply that meets the
specifications listed in the specifications document for your cDAQ controller.
11. Turn on the external power supply.
12. Connect RJ-45 Ethernet port 1 on the cDAQ controller to the same Ethernet network as the
host computer with a shielded straight through Category 5 (CAT-5) or better shielded,
twisted-pair Ethernet cable.
Caution To prevent data loss and to maintain the integrity of your Ethernet
installation, do not use a cable longer than 100 m.
If you need to build your own cable, refer to the Ethernet Cabling section for information
about Ethernet cable wiring connections.
13. Press the power button on the front panel of the cDAQ controller.
When the cDAQ controller powers on, the Power LED lights and the controller runs a
power-on self test (POST). When the POST is complete, the operating system is loaded.
The cDAQ controller attempts to initiate a DHCP network connection at powerup. If the
cDAQ controller is unable to obtain an IP address, it connects to the network with a
link-local IP address with the form
169.254.x.x. The host computer communicates with
the cDAQ controller over a standard Ethernet connection.
Note You can use the cDAQ controller BIOS setup utility to configure the cDAQ
controller to start immediately when power is applied or to respond to the front-panel
power button. Refer to the Power/Wake Configuration Submenu section of
Appendix A, Controller Operating System and Configuration , for information about
the different powerup behaviors you can configure. The power button is enabled by
default so that the cDAQ controller does not power on until the power button is
pressed.
Note You can configure the cDAQ controller to launch an embedded stand-alone
LabVIEW RT application each time you boot the controller. Refer to the Running a
1-10 | ni.com
NI cDAQ-9138/9139 User Manual
Stand-Alone Real-Time Application (RT Module) topic of the LabVIEW Help for
more information about startup applications.
Note After powerup, you can install software on the cDAQ controller. For RT
systems, you can also change the network settings using Measurement & Automation
Explorer (MAX) on a host computer.
14. Wire the C Series module as indicated in the C Series module documentation.
15. Launch Measurement & Automation Explorer (MAX) by double-clicking the MAX icon
on the host computer desktop. Expand Remote Systems and select NI-cDAQ<model
number>-<serial number>1. Click the System Settings tab and verify that the controller
has an Ethernet IP address and that System State reads Connected - No software
17. In the window that opens, select NI-DAQmx, and then select Install the feature. Other
required dependencies will be selected automatically.
18. Click Next to confirm the requested software features.
19. Click Next to install the software. After the installation completes, the cDAQ controller
reboots.
20. Click Finish.
21. In MAX, expand Remote Systems and select NI-cDAQ<model number>-<serial number>.
Click the System Settings tab and verify that the System State reads
Running
.
Connected -
22. Self-test your controller in MAX by expanding NI-cDAQ<model number>-<serial
number>»Devices and Interfaces. Right-click NI cDAQ-<model number> and select
Self-Test. Self-test performs a brief test to determine successful controller installation.
23. Run a Test Panel in MAX by expanding NI-cDAQ<model number>-<serial number>»Devices and Interfaces»NI cDAQ-<model number>, right-clicking your C Series
module, and selecting Test Panels to open a test panel for the selected module.
If the test panel displays an error message, refer to ni.com/support.
New users can view and use the Voltage - Continuous Input VI, available in the
LabVIEW Example Finder. Experienced users can use the LabVIEW Sample Projects,
LabVIEW Real-Time Control (NI-DAQmx) and LabVIEW Waveform Acquisition and Logging
(NI-DAQmx).
Note For information about configuring network settings, refer to the Configure
Network Settings book of the MAX Remote Systems Help. In MAX, click Help»Help
1
The serial number listed in MAX is the last eight digits of the cDAQ controller primary MAC address.
Topics»Remote Systems. On the Contents tab, browse to LabVIEW Real-Time
Target Configuration»Configure Network Settings.
For information about configuring the controller to launch an embedded stand-alone application
at startup, refer to the LabVIEW Help. For more information about setting up the controller as
an RT target, refer to the LabVIEW Help. For more information about configuring the controller
in MAX, refer to the MAX Help.
You can also change the network settings using Measurement & Automation Explorer (MAX)
on a host computer.
Troubleshooting Network Communication in
NI cDAQ-9138/9139 for LabVIEW Real-Time Controller
If the controller cannot communicate with the network, you can use the IP RESET DIP switch
to manually restore the controller to the default network settings. When you reboot the controller
with the IP RESET DIP switch in the ON position, the controller attempts to connect to the
network using DHCP. If the controller is unable to obtain an IP address, it connects to the
network with a link-local IP address with the form
Complete the following steps to restore the controller to the default network settings.
1.Move the IP RESET DIP switch to the ON position.
Figure 1-5. IP RESET DIP Switch in ON Position
169.254.x.x.
2.Push the RESET button to cycle power to the cDAQ controller.
3.Configure the IP and other network settings in MAX from the host computer.
4.Move the IP RESET DIP switch to the OFF position.
Figure 1-6. IP RESET DIP Switch in OFF Position
For more information about troubleshooting network communication, refer to the MAX Remote
Systems Help topic in the Measurement & Automation Explorer Help.
Wiring Power to the cDAQ Controller
The cDAQ controller requires an external power source as described in the Power Requirements
section of the specifications document for your cDAQ controller. Some suggested NI power
supplies are listed in Table 1-10. The cDAQ controller filters and regulates the supplied power
and provides power to all of the modules. The cDAQ controller has a primary power input, V1,
and a secondary power input, V2. The POWER LED on the front panel identifies the power input
in use. When the LED is lit green, V1 is in use; when the LED is lit yellow, V2 is in use.
1-12 | ni.com
NI cDAQ-9138/9139 User Manual
Caution Do not connect V2 to a DC mains supply or to any supply requiring a
connecting cable longer than 3 m (10 ft). A DC mains supply is a local DC electricity
supply network in the infrastructure of a site or building.
Complete the following steps to connect a power source to the cDAQ controller.
1.Make sure the power source is turned off.
2.Install the ferrite shipped with the cDAQ controller across the negative and positive leads
of the power source, approximately 50 to 75 mm (2 to 3 in.) from the ends of the leads near
the cDAQ controller, as shown in Figure 1-7.
Figure 1-7. Installing the Ferrite on the Power Leads
3.Loosen the connector screw flanges and remove the power screw terminal connector plug
from the cDAQ controller. Figure 1-8 shows the terminal screws, which secure the wires in
the screw terminals, and the connector screw flanges, which secure the connector plug on
the front panel.
Figure 1-8. Power Screw Terminal Connector Plug
1
2
1
1 Terminal Screw2 Connector Screw Flanges
Caution Do not tighten or loosen the terminal screws on the power connector while
the power is on.
4.Connect the positive lead of the primary power source to the V1 terminal of the power
connector plug and tighten the terminal screw.
5.Connect the negative lead of the primary power source to one of the C terminals of the
power screw terminal connector plug and tighten the terminal screw.
6.Optionally, you can connect the positive lead of a secondary power source to the V2
terminal and the negative lead to the other C terminal.
7.Install the power connector plug on the front panel of the cDAQ controller and tighten the
connector screw flanges.
8.Turn on the external power source(s).
The cDAQ controller uses V1 if the voltage across V1 and C is 9 V or greater. If the V1-to-C
voltage drops below 9 V, the cDAQ controller switches to V2. If the V2-to-C voltage is less than
9 V, operation may be interrupted.
Note If the cDAQ controller is using V1 and a secondary power source is
connected to V2, there is a small leakage current on V2. The leakage current depends
on the V2-to-C voltage. Refer to the Power Requirements section of the
specifications document for your cDAQ controller for nominal values of this leakage
current.
If the power source is connected to the power connector using long wiring with high DC
resistance, the voltage at the power connector may be significantly lower than the specified
voltage of the power source.
The C terminals are internally connected to each other but are not connected to chassis ground.
You can connect the C terminals to chassis ground externally. Refer to the Power Requirements
section of the specifications document for your cDAQ controller for information about the
power supply input range. Refer to the Safety Voltages section of the specifications document
for your cDAQ controller for information about the maximum voltage from terminal to chassis
ground.
Mounting the cDAQ Controller
You can use the cDAQ controller on a desktop or mount it to a panel, wall, DIN rail, or rack. For
accessory ordering information, refer to the pricing section of the NI cDAQ-9138/9139 product
page at ni.com.
Note The cDAQ controller was designed and tested in multiple mounting
configurations. The varied mounting orientations or configurations can reduce the
maximum allowable ambient temperature and can affect the accuracy of C Series
modules in the controller. Visit
cdaqmounting for more information about mounting and accuracy.
The following sections contain instructions for the mounting methods. Before using any of these
mounting methods, record the serial number from the side of the controller. You may be unable
to read the serial number after you have mounted the controller.
Caution You must mount the controller horizontally on a flat, vertical, metallic
surface using the NI panel mount kit, part number 781919-01, to achieve an allowable
operating ambient temperature of 45 to 55 °C. Mounting the controller in a different
orientation or on a nonmetallic surface reduces the maximum allowable ambient
1-14 | ni.com
ni.com/info and enter the Info Code
NI cDAQ-9138/9139 User Manual
Up
NI NI cDAQ-9139cDAQ-9139
NI CompactDAQNI CompactDAQ
Cabling Clearance
50.8 mm (2.00 in.)
Measure Ambient
Temperature Here
50.8 mm
(2.00 in.)
63.5 mm
(2.50 in.)
63.5 mm
(2.50 in.)
50.8 mm
(2.00 in.)
50.8 mm
(2.00 in.)
29.2 mm
(1.15 in.)
Measure Ambient
Tem p e rature Here
Cooling Outline
50.8 mm (2.00 in.)
Cooling Outline
50.8 mm (2.00 in.)
88.1 mm
(3.47 in.)
NI NI cDAQ-9139cDAQ-9139
NI CompactDAQNI CompactDAQ
temperature and can affect the measurement accuracy of modules in the controller.
Figure 1-9 shows the controller mounted horizontally. Refer to the Mounting the cDAQ
Controller on a Panel section for complete panel mounting instructions.
Measure the ambient temperature at each side of the controller, 63.5 mm (2.5 in.) from
the side and 50.8 mm (2 in.) forward from the rear of the controller, as shown in
Figure 1-10.
For more information about how different mounting configurations can cause
temperature derating, go to
ni.com/info and enter the Info Code cdaqmounting.
Figure 1-9. NI cDAQ-9138/9139 Mounted Horizontally with Panel Mount Kit
Figure 1-10. NI cDAQ-9138/9139 Temperature, Cooling, and Cabling Dimensions
Caution Your installation must meet the following requirements for space and
cabling clearance, as shown in Figure 1-10:
•Allow 50.8 mm (2 in.) on the top and the bottom of the controller for air
circulation.
•Allow 50.8 mm (2 in.) in front of modules for cabling clearance for common
connectors, such as the 10-terminal, detachable screw terminal connector.
Using the cDAQ Controller on a Desktop
Complete the following steps to install the NI desktop mount kit, part number 781988-01, on the
cDAQ controller.
9.Align one of the end brackets with the mounting hole at one of the ends of the controller,
as shown in Figure 1-11.
Figure 1-11. Connecting the End Brackets to the Controller
-9139
Q
A
AQ
D
c
ctD
I
a
p
N
m
o
C
I
N
1
2
1 Mounting Holes2 Captive Screw
10. Use a number 2 Phillips screwdriver to tighten the captive screw on the end bracket.
11. Repeat steps 9 and 10 to attach the other end bracket to the other end of the controller.
Note To achieve the highest accuracy when mounting the controller in the desktop
kit, NI recommends that you operate the controller with the modules rotated forward,
as shown in Figure 1-11. Visit
cdaqmounting for more information about mounting and accuracy.
1-16 | ni.com
ni.com/info and enter the Info Code
NI cDAQ-9138/9139 User Manual
NI NI cDAQ-9139cDAQ-9139
NI CompactDAQNI CompactDAQ
39.6 mm
(1.56 in.)
28.2 mm
(1.11 in.)
28.1 mm
(1.11 in.)
127.2 mm
(5.01 in.)
136.2 mm
(5.36 in.)
Figure 1-12 shows the dimensions of a controller after the desktop mounting kit is installed.
Figure 1-12. Dimensions of the cDAQ Controller with Desktop Mounting Kit Installed
Mounting the cDAQ Controller on a Panel
Panel or wall mounting is the best method for applications that are subject to high shock and
vibration. You can use the NI panel mount kit, part number 781919-01, to mount the cDAQ
controller on a flat surface. Complete the following steps.
1.Fasten the mounting plate to the controller using a number 2 Phillips screwdriver and
six M4 × 10 screws. National Instruments provides these screws with the panel mount kit.
Tighten the screws to a maximum torque of 1.3 N ·
Figure 1-13. Installing the Mounting Plate on the cDAQ Controller
Figure 1-14. Dimensions of the cDAQ Controller with Mounting Plate Installed
406.4 mm
(16.00 in.)
387.4 mm
9.5 mm
(0.38 in.)
2.5 mm
(0.10 in.)
25.4 mm
(1.00 in.)
1-18 | ni.com
NI
cDAQ-9139
NI CompactDAQ
108.9 mm
(4.29 in.)
193.7 mm
(7.63 in.)
58.2 mm
(2.29 in.)
(15.25 in.)
188.6 mm
(7.43 in.)
193.7 mm
(7.63 in.)
108.9 mm
(4.29 in.)
22.2 mm
(0.88 in.)
7.2 mm
(0.29 in.)
114.3 mm
(4.50 in.)
138.9 mm
(5.47 in.)
NI cDAQ-9138/9139 User Manual
NI
cDAQ-9139
NI CompactDAQ
2.Fasten the mounting plate to the surface using the screwdriver and screws that are
appropriate for the surface. The maximum screw size is M4 or number 8.
3.Optionally, you can use two additional screws to attach the mounting plate to the panel or
wall permanently, preventing the controller from being removed.
Figure 1-15. Permanently Attaching the Mounting Plate to the Panel or Wall
NI
cDAQ-9139
NI CompactDAQ
Mounting the cDAQ Controller on a DIN Rail
Use the DIN rail mounting method if you already have a DIN rail configuration or if you need
to be able to remove the controller quickly. You can order the NI DIN rail mount kit, part number
781987-01, to mount the controller on a DIN rail. You need one clip for mounting the controller
on a standard 35 mm DIN rail. Complete the following steps to mount the controller on a DIN
rail.
1.Fasten the DIN rail clip to the controller using a number 2 Phillips screwdriver and
three M4 × 10 screws. National Instruments provides these screws with the DIN rail mount
kit. Tighten the screws to a maximum torque of 1.3 N ·
rail kit is installed as shown in Figure 1-16, with the larger lip of the DIN clip positioned
up. When the DIN rail kit is properly installed, the cDAQ controller is centered on the DIN
rail.
Figure 1-16. Installing the DIN Rail Clip on the cDAQ Controller
2.Insert one edge of the DIN rail into the deeper opening of the DIN rail clip, as shown in
Figure 1-17, and press down firmly on the controller to compress the spring until the clip
locks in place on the DIN rail.
Figure 1-17. DIN Rail Clip Parts Locator Diagram
1
2
3
1 DIN Rail Clip2 DIN Rail Spring3 DIN Rail
Caution Remove the modules before removing the controller from the DIN rail.
Mounting the cDAQ Controller on a Rack
NI offers two rack mount kits, part numbers 779102-01 and 781989-01, that you can use to
mount the cDAQ controller and other DIN rail–mountable equipment on a standard 19-inch
rack. You must order the NI DIN rail mount kit, part number 781987-01, in addition to these kits.
1-20 | ni.com
Loading...
+ 109 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.