NI ELVIS RIO User manual

USER MANUAL
NI ELVIS RIO Control Module
The NI ELVIS RIO Control Module is a reconfigurable I/O (RIO) device that is used to design
control, robotics, and mechatronics systems.
This document contains pinouts, connectivity information, dimensions, and mounting
instructions for the NI ELVIS RIO CM. The NI ELVIS RIO CM provides the I/O shown in the
following figure and connects to a host computer through a USB connection.
Figure 1. NI ELVIS RIO CM Features
1
2
6
5
4
8
7
11
10
12
3
9
13
1. Power LED
2. Status LED
3. LED0
4. LED1
5. LED2
6. LED3
7. Button0 (User Button)
8. Reset Button
9. USB Host Port
10. Workstation Interface Connector
11. USB Device Port
12. MXP Connector A
13. MXP Connector B
Hardware Overview
The NI ELVIS RIO CM provides analog input (AI), analog output (AO), digital input and
output (DIO), and power output in a compact embedded device. The NI ELVIS RIO CM
connects to a host computer through a USB connection.
The following figure shows the arrangement and functions of NI ELVIS RIO CM components.

Figure 2. NI ELVIS RIO CM Hardware Block Diagram
Processor (LabVIEW RT)
FPGA (LabVIEW FPGA)
MXP A/B
(x2)
+3.3 V
UART
4AI
2AO
16 16
DIO
DDR3
Nonvolatile
Memory
Reset
Button
USB Device
Port
USB Host
Port
Xilinx Zynq-7010
User
LEDs
+5 V
Button0
Watchdog
Status
LED
MXP Connector Pinout
AO0
AO1
AGND
DGND
UART.RX
DGND
UART.TX
DGND
DIO11 / ENC.A
DGND
DIO12 / ENC.B
DGND
DIO13
DGND
DGND
DIO14 / I2C.SCL
DIO15 / I2C.SDA
+5V
AI1
AI3
AI2
DIO1
DIO2
DIO3
DIO4
AI0
DIO0
DIO5 / SPI.CLK
DIO6 / SPI.MISO
DIO7 / SPI.MOSI
DIO8 / PWM0
DIO9 / PWM1
DIO10 / PWM2
+3.3V
34
33
32
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
1
33
2| ni.com | NI ELVIS RIO CM User Manual

Table 1. Signal Descriptions
Signal Name Reference Direction Description
+5V DGND Output +5 V power output.
AI <0..3> AGND Input 0 V to 5 V, referenced single-ended AI. Refer to
the AI Channels section for more information.
AO <0..1> AGND Output 0 V to 5 V, referenced single-ended AO. Refer
to the AO Channels section for more
information.
AGND — — Reference for AI and AO.
+3.3V DGND Output +3.3 V power output.
DIO <0..15> DGND Input or
Output
General-purpose digital lines with +3.3 V
output, 3.3 V-/5 V-compatible input. Refer to the
DIO Lines section for more information.
UART.RX DGND Input UART receive input. UART lines are
electrically identical to DIO lines.
UART.TX DGND Output UART transmit output. UART lines are
electrically identical to DIO lines.
DGND — — Reference for digital signals, +5 V, and +3.3 V.
Note MXP connectors A and B have identical sets of signals and are distinguished
in software by the connector name, such as ConnectorA/DIO1 and
ConnectorB/DIO1. Refer to the software documentation for information about
configuring and using signals.
Note Some pins carry secondary functions as well as primary functions.
Interfaces
AI Channels
The NI ELVIS RIO CM MXP connectors A and B have four single-ended AI channels per
connector, AI0-AI3, which you can use to measure signals of 0 V to 5 V. The channels are
multiplexed to a single analog-to-digital converter (ADC) that samples all channels.
Note For important information about improving measurement accuracy by
reducing noise, visit ni.com/info and enter the Info Code analogwiring.
NI ELVIS RIO CM User Manual | © National Instruments | 3

The following figure shows the AI topology of the NI ELVIS RIO CM.
Figure 3. NI ELVIS RIO CM AI Circuitry
MUX ADC
AI0
AI1
AI2
AI3
AI0
AI1
AI2
AI3
0–5 V
MXP A
MXP B
AO Channels
The NI ELVIS RIO CM MXP connectors A and B have two AO channels per connector, AO0
and AO1, which you can use to generate signals of 0 V to 5 V. Each channel has a dedicated
digital-to-analog converter (DAC), which allows all AO channels to update simultaneously.
The DACs for the AO channels are controlled by a serial communication bus from the FPGA.
MXP connectors A and B share this bus and therefore, all channels must share the same
update rate.
The following figure shows the AO topology of the NI ELVIS RIO CM.
Figure 4. NI ELVIS RIO CM AO Circuitry
DAC
DAC
0–5 V
AO0
AO1
MXP A
MXP B
DAC
DAC
AO0
AO1
Converting Raw Data Values to Voltage
You can use the following equations to convert raw AI and AO data values to volts:
V = Raw Data Value × LSB Weight
LSB Weight = Nominal Range ÷ 2Resolution
where
Raw Data Value is the value returned by the FPGA I/O node,
LSB Weight is the value in volts of the increment between data values,
4| ni.com | NI ELVIS RIO CM User Manual

Nominal Range is the absolute value in volts of the full, peak-to-peak nominal range of
the channel, and
Resolution is the resolution of the ADC or DAC in bits (Resolution = 12)
For AI and AO channels on the MXP connectors,
LSB Weight = 5 ÷ 212 = 1.221
Maximum Reading = 4095 × 1.221 = 4.999
DIO Lines
The NI ELVIS RIO CM provides 3.3 V general-purpose DIO lines on the MXP connectors.
DIO <13..0> on the MXP have 40 kΩ pull-up resistors to 3.3 V, as shown in the following
figure.
Figure 5. DIO Lines with 40 kΩ Pull-up Resistors to 3.3 V
40 kΩ
DIO/CS
+3.3 V
FPGA Bus Switch
DIO <15..14> on the MXP have 2.2 kΩ pull-up resistors to 3.3 V, as shown in the following
figure.
Figure 6. DIO Lines with 2.2 kΩ Pull-up Resistors to 3.3 V
2.2 kΩ
FPGA Bus Switch DIO/SCL/SDA
+3.3 V
You can program all MXP DIO lines individually as inputs or outputs. Secondary digital
functions include SPI, I2C, PWM, and quadrature encoder input.
Note For information about configuring the behavior of the DIO lines, visit
ni.com/info and enter the Info Code elvisriocmhelp.
When a DIO line is floating, it floats in the direction of the pull resistor. A DIO line may be
floating in any of the following conditions:
• When the NI ELVIS RIO CM device is starting up.
• When the line is configured as an input.
• When the NI ELVIS RIO CM device is powering down.
You can add a stronger resistor to a DIO line to cause it to float in the opposite direction.
NI ELVIS RIO CM User Manual | © National Instruments | 5

UART Lines
The NI ELVIS RIO CM has one UART receive input line and one UART transmit output line
on each MXP connector.
The UART lines on the MXP are electrically identical to DIO <13..0> on the MXP. Similarly,
UART.RX and UART.TX have 40 kΩ pull-up resistors to 3.3 V.
USB Device Port
You can deploy and debug code by connecting a USB cable from the USB device port on the
NI ELVIS RIO CM to a computer.
USB Host Port
The NI ELVIS RIO CM USB host port supports the following devices:
• Web cameras that conform to the USB Video Device Class (UVC) protocol.
• Machine vision cameras that conform to the USB3 Vision standard and are backward
compatible with the USB 2.0 specification.
• Basler ace USB3 cameras.
• USB Flash drives.1
• USB-to-IDE adapters formatted with FAT16 and FAT32 file systems.1
Front Panel Buttons
Reset Button
Pressing and releasing the Reset button restarts the processor and the FPGA. The following
figure shows the reset behavior of the NI ELVIS RIO CM.
1LabVIEW usually maps USB devices to the /U, /V, /W, or /X drive, starting with the /U drive if it
is available.
6| ni.com | NI ELVIS RIO CM User Manual

Figure 7. Reset Button Behavior
Press and hold RESET button for ≥5 s
Press and hold RESET button for <5 s
Run Mode
Safe Mode
Press and hold RESET button for <5 s
Press and hold RESET button for ≥5 s
Press and hold
RESET button for ≥5 s
Press and hold
RESET button for < 5 s
• Console Out enabled
• Network settings reset
• RT Startup App disabled
• FPGA Startup App disabled
• Console Out enabled
• RT Startup App disabled
• FPGA Startup App disabled
Safe Mode
When the NI ELVIS RIO CM is in safe mode, you can communicate with it by using the
UART lines on MXP connector A. You require the following items to communicate with the
NI ELVIS RIO CM device over UART:
• USB-to-TTL serial UART converter cable (for example, part number TTL-232RG-
VSW3V3-WE from FTD Chip)
You must configure your serial-port terminal program with the following settings:
• 115,200 bits per second
• Eight data bits
• No parity
• One stop bit
• No flow control
User Button
The User Button produces a logic TRUE when depressed and a logic FALSE when not
depressed. The User Button is not debounced in hardware.
LED Indications
Power LED
The Power LED is lit while the NI ELVIS RIO CM is powered on. This LED indicates that the
power supply connected to the device is adequate.
Status LED
The Status LED is off during normal operation. The NI ELVIS RIO CM runs a power-on self
test (POST) when you apply power to the device. During the POST, the Power and Status
LEDs turn on. When the Status LED turns off, the POST is complete. The NI ELVIS RIO CM
NI ELVIS RIO CM User Manual | © National Instruments | 7

indicates specific error conditions by flashing the Status LED a certain number of times every
few seconds, as shown in the following table.
Table 2. Status LED Indications
Number of Flashes
Every Few Seconds Indication
2 The device has detected an error in its software. This usually
occurs when an attempt to upgrade the software is interrupted.
Reinstall software on the device.
3 The device is in safe mode.
4 The software has crashed twice without rebooting or cycling
power between crashes. This usually occurs when the device runs
out of memory. Review your LabVIEW Real-Time VI and check
the memory usage. Modify the VI as necessary to solve the
memory usage issue.
Continuously flashing or
solid
The device has detected an unrecoverable error. Contact NI.
LEDs 0-3
You can use LEDs 0-3 to help debug your application or easily retrieve application status.
Logic TRUE turns an LED on and logic FALSE turns an LED off.
Physical Dimensions
The following figures describe the physical dimensions of the NI ELVIS RIO CM enclosure
and its features.
Figure 8. NI ELVIS RIO CM Dimensions, Top View
2X 11.2 mm
(0.44 in.)
247.5 mm
(9.74 in.)
161.0 mm
(2.40 in.)
272.3 mm
(10.72 in.)
48.0 mm
(3.76 in.)
2X Ø11.2 mm
(0.44 in.)
8| ni.com | NI ELVIS RIO CM User Manual

Figure 9. NI ELVIS RIO CM Dimensions, Front View
14.2 mm
(0.56 in.)
28.6 mm
(1.13 in.)
28.6 mm
(1.13 in.)
Figure 10. NI ELVIS RIO CM Dimensions, Side View
24.5 mm
(0.97 in.)
Note For more information about the dimensions of the system, detailed
2-dimensional drawings and 3-dimensional models, visit ni.com/dimensions and
search for the product name.
Warranty
For customers other than private individual users in the EU: The NI ELVIS RIO CM is
warranted against defects in materials and workmanship for a period of three years from the
date of shipment, as evidenced by receipts or other documentation. NI will, at its option, repair
or replace equipment that proves to be defective during the warranty period. This warranty
includes parts and labor.
For private individual users in the EU: Based on your statutory rights, NI will—through its
distributor—cure defects in materials and workmanship within two years from delivery.
NI ELVIS RIO CM User Manual | © National Instruments | 9

Worldwide Support and Services
The NI 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 NI 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.
NI corporate headquarters is located at 11500 North Mopac Expressway, Austin, Texas,
78759-3504. NI 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 NI trademarks. Other product and
company names mentioned herein are trademarks or trade names of their respective companies. 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. 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 NI 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.
© 2016 National Instruments. All rights reserved.
378012A-03 Aug16
Table of contents
Other NI Control Unit manuals
Popular Control Unit manuals by other brands

ITT
ITT Skotch Trifecta T4305F Installation, operation and maintenance instructions

Nordost
Nordost SORT FÜT instruction manual

AVCO
AVCO 1100 Series Installation, operation & maintenance manual

AEG
AEG Thyro-A H1 Series operating instructions

Tactical Power Products
Tactical Power Products PDM5 Series installation manual

Raymarine
Raymarine GVM400 installation instructions

SVS
SVS SHR-7 manual

Emco
Emco A1100EVR GUARDIAN installation instructions

Honeywell
Honeywell DirectLine DL423 user manual

Automationdirect.com
Automationdirect.com Productivity 2000 P2-08TD1P manual

Pickering
Pickering PXI 41-752 user manual

Viessmann
Viessmann VITOTRONIC 200 Installation and service instructions