My Linux OS Fails to Find Some NI Cards When I Call the Nilsdev Command.

Updated Sep 23, 2024

Reported In

Other

Linux operative systems
  • RHEL9
  • RHEL 8
  • OpenSUSE 15.5
  • OpenSUSE 15.4
  • Ubuntu 22.04
  • Ubuntu 20.04

Issue Details

When I run the -nilsdev command on my Linux based operative system, I can't seem to to find certain hardware. Specifically, the modules that are connected to NI software through certain drivers like NI-DMM or NI-SCOPE are hard to find even though they are shown on the hardware configuration utility application within my system. This issue seems to be on the NI-Hardware Configuration Utility end.

Solution

The vast majority of NI hardware is powered by NI-System API Framework. This enables hardware to be shown in applications like NI-MAX, NI-Hardware Configuration Utility, the System Configuration API, and the lsni -v command. This lsni -v command is installed by ni-sysapi installer package and is an update to the former functions of the outdated -nilsdev command. This lsni -v command addresses the incompatibility issue of -nilsdev and ensures all of the NI hardware is visible and available for connections in NI applications on a Linux based operative system.

Additional Information

 The lsni -v command is calling into the NI System API Framework (ni-sysapi) in order to gather information about the system. This wasn't done for all of the drivers by the -nilsdev command, so this command deployment could be seen as a bug fix to the missing hardware issue with certain NI drivers with the former command.