Installing Redis and NI-DAQmx on a NI Linux RT (Real Time) Target

Updated Sep 28, 2024

Reported In

Driver

  • NI-DAQmx

Operating System

  • LabVIEW Real-Time (NI Linux Real-Time)

Issue Details

Redis installation fails with error "UID 361 is not unique" when using the OPKG package manager on NI Linux Real Time targets.

Solution

The error is caused when NI-DAQmx is already installed on an NI Linux Real Time target. At installation NI-DAQmx defaults to User ID (UID) 361. The installation script that is used to install Redis is hard coded to use UID 361. As the UID is already in use by NI-DAQmx an error occurs, and the install fails.

To stop the error, install Redis first, with the OPKG package manager, then install NI-DAQmx with NI-MAX. NI-DAQmx will be assigned a different UID as Redis now uses 361.