NI 5742 User manual

GETTING STARTED GUIDE
NI 5742
32-Channel Signal Generator
Note Before you begin, install and configure your chassis and controller.
The NI 5742 is a 32-channel, 1 MS/s analog output adapter module designed to work in
conjunction with your NI FlexRIO™ FPGA module.
The NI 5742 features 16-bit analog output channels that can be configured to drive either
unipolar or bipolar output.
This document explains how to install and connect signals for the NI 5742R, which is
composed of a FlexRIO FPGA module and the NI 5742.
Caution The protection provided by the NI 5742 can be impaired if it is used in a
manner not described in this document.
The following figure shows an example of a properly connected FlexRIO device.
Figure 1. FlexRIO Device
NI FlexRIO
Adapter Module + = NI FlexRIO Device
NI FlexRIO
FPGA Module
Contents
Installing the NI FlexRIO Adapter Module.............................................................................. 2
Electromagnetic Compatibility Guidelines...............................................................................3
How to Use Your FlexRIO Documentation.............................................................................. 4
FlexRIO Documentation Locations.................................................................................. 5
Verifying the System Requirements..........................................................................................6
Unpacking the Kit..................................................................................................................... 6
Preparing the Environment....................................................................................................... 7

Installing the Application Software and Driver........................................................................ 7
Installing the NI FlexRIO Devices............................................................................................8
Installing the NI FlexRIO Adapter Module...................................................................... 8
Connecting Cables.................................................................................................................... 9
Removing the Adapter Module...............................................................................................10
Disabling the Adapter Module in LabVIEW FPGA.......................................................10
Uninstalling the Module..................................................................................................10
Installing Accessories............................................................................................................. 10
Appendix A: NI 5742 Features............................................................................................... 11
Front Panel and Connector Pinouts.................................................................................11
Block Diagrams...............................................................................................................13
Appendix B: Interfacing with the NI 5742............................................................................. 14
Component-Level Intellectual Property (CLIP)............................................................. 14
Clocking.......................................................................................................................... 17
Where to Go Next................................................................................................................... 17
Worldwide Support and Services............................................................................................ 18
Installing the NI FlexRIO Adapter Module
Refer to the getting started guide for your FlexRIO FPGA module for FlexRIO FPGA module
installation instructions.
1. Gently insert the guide pins and the high-density card edge of the NI FlexRIO adapter
module into the corresponding connectors of the NI FlexRIO FPGA module, as shown in
the figure below.
2| ni.com | NI 5742 Getting Started Guide

Figure 2. Installing the NI FlexRIO Adapter Module
PXI-1000B
1
4
3
2
5
1. NI FlexRIO Adapter Module
2. Captive Screw
3. Guide Pin
4. PXI/PXI Express Chassis
5. NI FlexRIO FPGA Module
The connection may be tight, but do not force the adapter module into place.
2. Tighten the captive screws on the NI FlexRIO adapter module to secure it to the
NI FlexRIO FPGA module. NI recommends using the laser-tipped screwdriver (part
number 748677-01) included in the NI 5742 packaging.
3. Launch LabVIEW to begin configuring your NI FlexRIO system.
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 are designed to provide reasonable protection against harmful interference when the
product is operated in the intended operational electromagnetic environment.
This product is intended for use in industrial locations. However, harmful interference may
occur in some installations, when the product is connected to a peripheral device or test object,
or if the product is used in residential or commercial areas. 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.
NI 5742 Getting Started Guide | © National Instruments | 3

Caution To ensure the specified EMC performance, operate this product only with
shielded cables and accessories.
Note To ensure the specified EMC performance, the length of all I/O cables must
be no longer than 30 m (100 ft).
How to Use Your FlexRIO Documentation
Refer to the following flowchart for information about how to use FlexRIO documentation.
Figure 3. How to Use Your FlexRIO Documentation
LabVIEW FPGA
Module Help
NI FlexRIO
Help
LabVIEW
Examples
INSTALL Hardware
and Software
CONNECT Signals
and LearnAbout
Your AdapterModule
LEARN About
LabVIEW FPGA
Module
PROGRAM Your
NI FlexRIO System
in LabVIEW FPGA
Module
Specifications document
for your FPGA module
Specifications document
for your adapter module
Are
You New to
LabVIEW FPGA
Module?
Yes No
No
Getting Started Guide
for your adapter module
Getting Started Guide
for your FPGA module
NI FlexRIO Adapter
Module Development Kit
User Manual
4| ni.com | NI 5742 Getting Started Guide

FlexRIO Documentation Locations
Table 1. FlexRIO Documentation Locations and Descriptions
Document Location Description
Getting started guide
for your FPGA module
Available from the Start menu and
at ni.com/manuals.
Contains installation
instructions for your FlexRIO
system.
Specifications
document for your
FPGA module
Available from the Start menu and
at ni.com/manuals.
Contains specifications for
your FPGA module.
Getting started guide
for your adapter
module
Available from the Start menu and
at ni.com/manuals.
Contains signal information,
examples, and CLIP details for
your adapter module.
Specifications
document for your
adapter module
Available from the Start menu and
at ni.com/manuals.
Contains specifications for
your adapter module.
LabVIEW FPGA
Module Help
Embedded in LabVIEW Help and
at ni.com/manuals.
Contains information about
the basic functionality of the
LabVIEW FPGA Module.
NI FlexRIO Help Available from the Start menu and
at ni.com/manuals.
Contains information about
the FPGA module, adapter
module, and CLIP
configuration information.
NI FlexRIO Adapter
Module Development
Kit User Manual
Available from the Start menu at
Start»All Programs»National
Instruments»NI FlexRIO»NI
FlexRIO Adapter Module
Development Kit»
Documentation.
Contains information about
how to create custom adapter
modules for use with FlexRIO
FPGA modules.
LabVIEW Examples Available in NI Example Finder. In
LabVIEW, click Help»Find
Examples»Hardware Input and
Output»FlexRIO.
Contains examples of how to
run FPGA VIs and Host VIs
on your device.
NI 5742 Getting Started Guide | © National Instruments | 5

Table 1. FlexRIO Documentation Locations and Descriptions (Continued)
Document Location Description
IPNet Located at ni.com/ipnet. Contains LabVIEW FPGA
functions and intellectual
property to share.
NI FlexRIO product
page
Located at ni.com/flexrio. Contains product information
and data sheets for FlexRIO
devices.
Verifying the System Requirements
To use the NI 5742, your system must meet certain requirements. For more information about
minimum system requirements, recommended system, and supported application development
environments (ADEs), refer to the readme, which is available on the software media or online
at ni.com/updates.
Unpacking the Kit
Caution To prevent electrostatic discharge (ESD) from damaging the device,
ground yourself using a grounding strap or by holding a grounded object, such as
your computer chassis.
1. Touch the antistatic package to a metal part of the computer chassis.
2. Remove the device from the package and inspect the device for loose components or any
other sign of damage.
Caution Never touch the exposed pins of connectors.
Note Do not install a device if it appears damaged in any way.
3. Unpack any other items and documentation from the kit.
Store the device in the antistatic package when the device is not in use.
6| ni.com | NI 5742 Getting Started Guide

Preparing the Environment
Ensure that the environment you are using the NI 5742 in meets the following specifications.
............................................................................Operating temperature
(IEC 60068-2-1, IEC 60068-2-2)
0 °C to 55 °C
............................................................................Operating humidity
(IEC 60068-2-56)
10% to 90% RH, noncondensing
............................................................................Pollution Degree 2
............................................................................Maximum altitude 2,000 m at 25 °C ambient temperature
Indoor use only.
Note Refer to the NI 5742 Specifications at ni.com/manuals for complete
specifications.
Installing the Application Software and Driver
Before installing your hardware, you must install the application software and instrument
driver. Visit ni.com/info and enter rdsoftwareversion as the Info Code to determine
which minimum software versions you need for your device. Install the software in the
following order:
1. Install LabVIEW.
Refer to the LabVIEW Installation Guide for installation instructions for LabVIEW and
system requirements for the LabVIEW software. Refer to the LabVIEW Upgrade Notes
for additional information about upgrading to the most recent version of LabVIEW for
Windows. Documentation for LabVIEW is available at ni.com/manuals and by selecting
Start»All Programs»National Instruments»LabVIEW»LabVIEW Manuals.
2. Install the LabVIEW FPGA Module.
Refer to the LabVIEW FPGA Module Release and Upgrade Notes for installation
instructions and information about getting started with the LabVIEW FPGA Module.
Documentation for the LabVIEW FPGA Module is available at ni.com/manuals and by
selecting Start»All Programs»National Instruments»LabVIEW»LabVIEW
Manuals.
3. (Optional) Install the LabVIEW Real-Time Module.
Refer to the LabVIEW Real-Time Module Release and Upgrade Notes for system
requirements, installation instructions, and additional information about using the
LabVIEW Real-Time Module.
4. Install NI FlexRIO.
Refer to the NI FlexRIO Readme on the NI FlexRIO installation media for system
requirements and installation instructions for NI FlexRIO Support. Documentation for
NI 5742 Getting Started Guide | © National Instruments | 7

NI FlexRIO Support is available at ni.com/manuals and by selecting Start»All
Programs»National Instruments»NI FlexRIO.
Note If you are not using an adapter module, skip step 5.
5. Install NI FlexRIO Adapter Module Support.
Refer to the NI FlexRIO Adapter Module Support Readme on the NI FlexRIO Adapter
Module Support installation media for system requirements and installation instructions.
Documentation for NI FlexRIO Adapter Module Support is available at ni.com/manuals
and by selecting Start»All Programs»National Instruments»NI FlexRIO»NI FlexRIO
Adapter Module Documentation.
Installing the NI FlexRIO Devices
Note You must install the software before installing the hardware.
Installing the NI FlexRIO Adapter Module
Refer to the getting started guide for your FlexRIO FPGA module for FlexRIO FPGA module
installation instructions.
1. Gently insert the guide pins and the high-density card edge of the NI FlexRIO adapter
module into the corresponding connectors of the NI FlexRIO FPGA module, as shown in
the figure below.
8| ni.com | NI 5742 Getting Started Guide

Figure 4. Installing the NI FlexRIO Adapter Module
PXI-1000B
1
4
3
2
5
1. NI FlexRIO Adapter Module
2. Captive Screw
3. Guide Pin
4. PXI/PXI Express Chassis
5. NI FlexRIO FPGA Module
The connection may be tight, but do not force the adapter module into place.
2. Tighten the captive screws on the NI FlexRIO adapter module to secure it to the
NI FlexRIO FPGA module. NI recommends using the laser-tipped screwdriver (part
number 748677-01) included in the NI 5742 packaging.
3. Launch LabVIEW to begin configuring your NI FlexRIO system.
Connecting Cables
• Use any shielded50 Ω SMA cable to connect signals to the connectors on the front panel
of your NI 5742
• Use the SHH19-H19-AUX cable (NI part number: 152629-01 or 152629-02) to connect
to the digital I/O (DIO) and programmable function interface (PFI) signals on the AUX
I/O connector. NI recommends using the SCB-19 connector block to access the DIO and
PFI signals.
• Use the NI SHC68-C68-D4 VHDCI cable (NI part number: 196275-01) to connect to the
AO 0-31 connector.
NI 5742 Getting Started Guide | © National Instruments | 9

Removing the Adapter Module
Complete the following steps to remove the adapter module from the FlexRIO FPGA module.
Disabling the Adapter Module in LabVIEW FPGA
To properly remove an adapter module from the FlexRIO FPGA module, you must disable the
adapter module within the LabVIEW FPGA user interface. To disable the adapter module
within LabVIEW, complete the following steps.
1. In your LabVIEW Project Explorer window, right-click the IO Module item under the
FPGA Target and select Properties to display the IO Module Properties dialog box.
2. Click the Status category to view the adapter module Status dialog.
3. Deselect the checkbox for Enable IO Module Power. When this option is deselected,
firmware tristates the FlexRIO I/O and disables all adapter module power rails.
4. Click OK.
Uninstalling the Module
Caution If the module has been in use, it may exceed safe handling temperatures
and cause burns. Allow the module to cool before removing it from the chassis.
1. Disconnect any cables from the module front panel connectors.
Caution Disconnect any external clock or digital connections to the device
front panel. Applying external signals while the device is powered off may
cause damage.
2. Power off the chassis.
3. Ground yourself with a grounding strap or touch a grounded metal surface.
4. Unlatch the module by pushing down on the ejector handle.
5. Hold the module by the ejector handle and remove it from the slot.
Store the module in the original antistatic packaging when not in use to avoid damage.
Installing Accessories
The NI SMB-2153 is a breakout box accessory for debugging your NI 5742. The NI part
number for the NI SMB-2153 is 189408F-07L.
Related Information
For information about installing the NI SMB-2153, refer to the NI SMB-2153 Installation
Guide at ni.com/manuals.
10 | ni.com | NI 5742 Getting Started Guide

Appendix A: NI 5742 Features
Front Panel and Connector Pinouts
The following figure shows the NI 5742 front panel connectors.
Figure 5. NI 5742 Front Panel Connectors
AO
0-31
PFI 0
AUX
I/O
1 MS/s
16-Bit
Analog Output
Caution To avoid permanent damage to the NI 5742, disconnect all signals
connected to the NI 5742 before powering down the module, and connect signals
NI 5742 Getting Started Guide | © National Instruments | 11

only after the adapter module has been powered on by the NI FlexRIO FPGA
module.
Caution Connections that exceed any of the maximum ratings of any connector on
the NI 5742 can damage the device and the chassis. NI is not liable for any damage
resulting from such connections.
Figure 6. NI 5742 Analog Output Connector Pinout
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
AO 31
GND
AO 29
GND
AO 27
GND
AO 25
RESERVED
AO 23
GND
AO 21
GND
AO 19
GND
AO 17
GND
AO 15
GND
AO 13
GND
AO 11
GND
AO 9
GND
AO 7
No Connect
AO 5
GND
AO 3
No Connect
AO 1
GND
No Connect
GND
AO 30
GND
AO 28
GND
AO 26
GND
AO 24
GND
AO 22
GND
AO 20
GND
AO 18
GND
AO 16
GND
AO 14
RESERVED
AO 12
GND
AO 10
GND
AO 8
GND
AO 6
RESERVED
AO 4
GND
AO 2
No Connect
AO 0
GND
No Connect
GND
Related Information
For information about the NI 5742 front panel connector specifications, refer to the NI 5742
Specifications at ni.com/manuals.
12 | ni.com | NI 5742 Getting Started Guide

AUX I/O Connector
Table 2. NI 5742 AUX I/O Connector Pin Assignments
AUX I/O Connector Pin Signal Signal Description
18
16
14
12
10
8
6
4
2
19
17
1
3
5
7
9
11
13
15
1 DIO Port 0 (0) Bidirectional single-ended (SE) digital I/O (DIO)
data channel.
2 GND Ground reference for signals.
3 DIO Port 0 (1) Bidirectional SE DIO data channel.
4 DIO Port 0 (2) Bidirectional SE DIO data channel.
5 GND Ground reference for signals.
6 DIO Port 0 (3) Bidirectional SE DIO data channel.
7 DIO Port 1 (0) Bidirectional SE DIO data channel.
8 GND Ground reference for signals.
9 DIO Port 1 (1) Bidirectional SE DIO data channel.
10 DIO Port 1 (2) Bidirectional SE DIO data channel.
11 GND Ground reference for signals.
12 DIO Port 1 (3) Bidirectional SE DIO data channel.
13 PFI 0 Bidirectional SE DIO data channel.
14 NC No connect.
15 PFI 1 Bidirectional SE DIO data channel.
16 PFI 2 Bidirectional SE DIO data channel.
17 GND Ground reference for signals.
18 +5 V +5 V power (10 mA maximum).
19 PFI 3 Bidirectional SE DIO data channel.
Caution The AUX I/O connector accepts a standard, third-party HDMI cable, but
the AUX I/O port is not an HDMI interface. Do not connect the AUX I/O port on the
NI 5742 to the HDMI port of another device. NI is not liable for any damage
resulting from such signal connections.
Block Diagrams
The following figure shows the NI 5742 block diagram and signal flow.
NI 5742 Getting Started Guide | © National Instruments | 13

Figure 7. NI 5742 Block Diagram
NI 5742
Power Supply
167049A-01: x4
VHDCI
x8
Current
Limit:
10 mA
Offset
2, 4, 6, 8
+25 V
+2.5 V +9 V
+5 V –5 V
+3.3 V
Inrush Limiter
Inrush Limiter
Inrush Limiter
Inrush Limiter
+25 V
Reference
V_out
16-bit DAC
1 MSPS
SER_CLK
SER_DATA
REF
7-9
12
10
10
13
11
AO 0:31
PFI
Digital
Interface
SER_CS
Low-Pass
11
NI FLEXRIO
Output Select:
+/– 2.5 or +5
VCCOA
VCCOB
+3.3 V
+12 V
Appendix B: Interfacing with the NI 5742
Component-Level Intellectual Property (CLIP)
The LabVIEW FPGA Module includes component-level intellectual property (CLIP) for HDL
IP integration. NI FlexRIO devices support two types of CLIP: user-defined and socketed.
•User-defined CLIP allows you to insert HDL IP into an FPGA target, enabling VHDL
code to communicate directly with an FPGA VI.
•Socketed CLIP provides the same IP integration of the user-defined CLIP, but it also
allows the CLIP to communicate directly with circuitry external to the FPGA. Adapter
module socketed CLIP allows your IP to communicate directly with both the FPGA VI
and the external adapter module connector interface.
The FlexRIO adapter module ships with socketed CLIP items that add module I/O to the
LabVIEW project.
CLIP and LabVIEW FPGA
The interface between the NI 5742 CLIP and LabVIEW FPGA in the following figures.
If you are using an NI FlexRIO FPGA module with a Virtex-5 FPGA, refer to the following
figure, which shows the relationship between the CLIP and an FPGA VI configured for use
with a Virtex-5 FPGA target.
14 | ni.com | NI 5742 Getting Started Guide

Figure 8. CLIP and FPGA VI Relationship (Virtex-5)
Adapter Module
CLIP Socket
LabVIEW
FPGA VI
User-Defined
CLIP
NI FlexRIO FPGA Module
FPGA
External
I/O Connector
Adapter
Module
Socketed
CLIP
User-Defined
CLIP Fixed I/O
DRAM 0
CLIP Socket
Socketed
CLIP
DRAM 1
CLIP Socket
Socketed
CLIP
Fixed I/O
Fixed I/O
DRAM 0 DRAM 1
If you are using an NI FlexRIO FPGA module with a Kintex-7 FPGA, refer to the following
figure, which shows the relationship between the CLIP and an FPGA VI configured for use
with a Kintex-7 FPGA target.
NI 5742 Getting Started Guide | © National Instruments | 15

Figure 9. CLIP and FPGA VI Relationship (Kintex-7)
Adapter Module
CLIP Socket
LabVIEW
FPGA VI
User-Defined
CLIP
NI FlexRIO FPGA Module
FPGA
External
I/O Connector
Adapter
Module
Socketed
CLIP
User-Defined
CLIP Fixed I/O
DRAM
Fixed I/O
DRAM
Memory
Interface
NI 5742 CLIP
The NI 5742 provides access to thirty-two 16-bit analog output channels, eight bidirectional
DIO channels, four bidirectional PFI channels, and one bidirectional trigger line.
The following figure shows the relationship between the NI 5742 and LabVIEW FPGA.
Figure 10. NI 5742 CLIP Operation
AO 0-31
AO # Commit
AO # Ready
SDIO
SCLK
CS_n
IO MODULE
LVFPGA
AD5541SPI
INTERFACE
FIXED
LOGIC
DIGITAL
GPIO
SPI Data
Control 32
Initialization Done
DAC Bipolar
Enable
0-7 8-15 16-23 24-31
Enable 9V Power Rail
Enable –5V Power Rail
16 | ni.com | NI 5742 Getting Started Guide

Clocking
The NI 5742 clock source controls the sample rate and other timing functions on the device.
The following table contains information about the possible NI 5742 clock sources.
Table 3. NI 5742 CLIP Clock Sources
Clock Frequency
DAC Clock11 MHz to 50 MHz
Clock 40 MHz 40 MHz
Where to Go Next
Refer to the following figure for information about other product tasks and associated
resources for those tasks.
Figure 11. Where to Go Next
custom applications within
an application programming
interface (API).
about hardware features
or review device specifications.
more about your products through ni.com.
the application development
environment (ADE)
for your application.
*This item is also installed with the driver software.
EXPLORE LEARN CREATE
DISCOVER
Support
ni.com/support
NI 5742
Specifications*
NI 5742
Getting Started Guide*
NI FlexRIO Module
Development Kit
User Manual
NI FlexRIO Help*
Located at ni.com/manuals
FlexRIO
ni.com/flexrio
Services
ni.com/services
Located at ni.com/gettingstarted
Learn LabVIEW Basics
Available from the Start menu
1The DAC Clock commits the data to the NI 5742.
NI 5742 Getting Started Guide | © National Instruments | 17

Worldwide Support and Services
The National Instruments website is your complete resource for technical support. At ni.com/
support, you have access to everything from troubleshooting and application development
self-help resources to email and phone assistance from NI Application Engineers.
Visit ni.com/services for NI Factory Installation Services, repairs, extended warranty, and
other services.
Visit ni.com/register to register your National Instruments product. Product registration
facilitates technical support and ensures that you receive important information updates from
NI.
A Declaration of Conformity (DoC) is our claim of compliance with the Council of the
European Communities using the manufacturer’s declaration of conformity. This system
affords the user protection for electromagnetic compatibility (EMC) and product safety. You
can obtain the DoC for your product by visiting ni.com/certification. If your product supports
calibration, you can obtain the calibration certificate for your product at ni.com/calibration.
National Instruments corporate headquarters is located at 11500 North Mopac Expressway,
Austin, Texas, 78759-3504. National Instruments also has offices located around the world.
For telephone support in the United States, create your service request at ni.com/support or
dial 1 866 ASK MYNI (275 6964). For telephone support outside the United States, visit the
Worldwide Offices section of ni.com/niglobal to access the branch office websites, which
provide up-to-date contact information, support phone numbers, email addresses, and current
events.
Refer to the NI Trademarks and Logo Guidelines at ni.com/trademarks for information on National Instruments trademarks.
Other product and company names mentioned herein are trademarks or trade names of their respective companies. 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. You can find information about
end-user license agreements (EULAs) and third-party legal notices in the readme file for your NI product. Refer to the Export
Compliance Information at ni.com/legal/export-compliance for the National Instruments global trade compliance policy and
how to obtain relevant HTS codes, ECCNs, and other import/export data. NI MAKES NO EXPRESS OR IMPLIED WARRANTIES
AS TO THE ACCURACY OF THE INFORMATION CONTAINED HEREIN AND SHALL NOT BE LIABLE FOR ANY ERRORS.
U.S. Government Customers: The data contained in this manual was developed at private expense and is subject to the
applicable limited rights and restricted data rights as set forth in FAR 52.227-14, DFAR 252.227-7014, and DFAR 252.227-7015.
© 2015 National Instruments. All rights reserved.
374964B-01 Feb15
Table of contents
Other NI Control Unit manuals