Product Overview
The National Instruments NI 9871 is a serial interface module for CompactDAQ and CompactRIO systems. It provides RS485 and RS422 communication ports that allow the chassis to control and communicate with industrial devices, instruments, and legacy equipment. The module is used in test systems where serial interfaces remain part of the equipment under test or the surrounding instrumentation.
The NI 9871 is part of the NI C Series platform, which offers modular signal conditioning for data acquisition and control. RS485 and RS422 are common in industrial environments because they support longer cable runs and better noise immunity than single ended interfaces.
Serial Ports and Standards
The module provides serial ports that support RS485 and RS422 communication. Engineers should confirm the exact port count, supported standards, and maximum baud rates for the specific module configuration against the product documentation.
Each port can be configured for the required protocol settings, including baud rate, data bits, parity, and stop bits. Correct configuration of these parameters is essential; mismatched settings are a common cause of communication faults.
Industrial Communication
RS485 and RS422 support differential signaling, which provides better noise immunity and longer cable runs than single ended interfaces. This makes the module suitable for communicating with devices located at a distance from the chassis in industrial environments.
Engineers should plan network topology, termination, and cable routing carefully. Proper termination and shielding help maintain reliable communication, especially when multiple devices share a bus or when cables run near power conductors.
System Integration
The NI 9871 installs in a compatible CompactDAQ or CompactRIO chassis and is supported by NI serial driver software. Engineers can use the module with LabVIEW, LabWindows/CVI, Measurement Studio, and other compatible development environments.
In a test system, serial ports are often used to configure instruments, read measurement results, and send commands to equipment such as power supplies, environmental chambers, and positioners. The module allows these operations to be sequenced with other measurements.
Wiring and Installation
Serial cables should match the interface standard and the distance requirements of the installation. Long cables and electrically noisy environments may require shielded cable or isolated converters. Ground potential differences between equipment can cause communication errors, so the grounding arrangement should be reviewed.
The module should be installed in a compatible chassis with adequate ventilation. Connectors should be securely fastened and strain relieved, especially on moving machinery. Cable routing away from power conductors reduces induced noise.
Typical Applications
Industrial device communication over RS485 or RS422
Instrument control in CompactDAQ systems
Legacy equipment integration in modern test systems
Environmental chamber and power supply command
Multi device test sequencing
CompactRIO embedded serial communication
The NI 9871 provides RS485 and RS422 serial communication ports in a C Series module, allowing industrial devices to be controlled from the same application as other CompactDAQ and CompactRIO hardware.




