kb:ni-tools:nisystemcfg
Table of Contents
NI System Configuration
System Configuration includes utilities to help you monitor and control various NI devices in a system.
NI System Configuration API
The NI SysConfg API gathers information about devices on both local and remote systems. Use the System Configuration API to programmatically reboot a system, save and load system images, install and uninstall software, and obtain information about a system to be used in other applications.
Linux
Install the following:
-
ni-syscfg-runtime -
ni-syscfg-devel(for C/C++ development) -
ni-syscfg-labview-support(for LabVIEW development)
lsni
To read device aliases and general device properties directly from the command line on a Linux system, use the lsni command.
admin@cRIO-9030:~# lsni -h lsni is used to list resources detected by NI System Configuration API ====================================================================== You may use the options below when calling lsni: -h : Help -r <Target> : Specify IP address or Hostname of a RT Target -e <Expert> : Limit the search to one System Configuration API expert -v : Display detailed information about all devices -a : Include devices that are simulated or no longer present -n <Name> : Only display the device with the specified name -w : Wait for keypress before continuing (for attaching debugger, etc) -u : Display user-friendly detailed information.
Example Output
General summary (lsni):
admin@cRIO-9030:~# lsni Scanning localhost for devices... System Configuration API resources found: cRIO-9030 RIO0 Ethernet Adapter eth0 Ethernet Adapter eth1 Ethernet Adapter usb0 ASRL1::INSTR ASRL2::INSTR
Verbose information (lsni):
admin@cRIO-9030:~# lsni -v Scanning localhost for devices... System Configuration API Experts found: cRIO 24.5 (crio) NI-RIO 24.5.0 (ni-rio) NI System Configuration 24.5 (nisyscfg) NI-VISA 24.5 (ni-visa) NI Systems Management 24.0 (nisysmgmt) System Configuration API resources found: cRIO-9030 --Primary Expert: NI System Configuration 24.5 --Model Name: cRIO-9030 --Serial Number: 01B8A876 RIO0 --Primary Expert: NI-RIO 24.5.0 --Model Name: NI cRIO-9030 --Serial Number: 01B8A876 --Bus/Dev/Func: 1/0/0 Ethernet Adapter eth0 --Primary Expert: NI System Configuration 24.5 Ethernet Adapter eth1 --Primary Expert: NI System Configuration 24.5 Ethernet Adapter usb0 --Primary Expert: NI System Configuration 24.5 ASRL1::INSTR --Primary Expert: NI-VISA 24.5 ASRL2::INSTR --Primary Expert: NI-VISA 24.5
User-Friendly output (lsni -u):
admin@cRIO-9030:~# lsni -u Scanning localhost for devices... System Configuration API resources found: cRIO-9030 (expert: nisyscfg) -- System Settings -- Hostname: cRIO-9030 Vendor: National Instruments Model: cRIO-9030 Serial Number: 01B8A876 Firmware Version: 24.5.0f133-x64 Operating System: NI Linux Real-Time x64 6.1.92-rt32 System Start Time: 06/05/2025 09:27:58 AM Comments: Locale: English -- Startup Settings -- Force Safe Mode: False Enable Console Out: False Disable RT Startup App: False Disable FPGA Startup App: False LabVIEW Project Access: True Enable Embedded UI: False -- SystemLink Settings -- Minion ID: NI_cRIO-9030--SN-01B8A876--MAC-00-80-2F-25-9B-64 Server: Status: Stopped -- System Resources -- Total Physical Memory: 870 MB Free Physical Memory: 662 MB Total Virtual Memory: 844 MB Free Virtual Memory: 719 MB Primary Disk Capacity: 3.35 GB Primary Disk Free Space: 2.26 GB CPU Model: Intel(R) Atom(TM) CPU E3825 @ 1.33GHz CPU Cores: 2 CPU Logical Processors: 2 CPU Total Load: 0% | 0% CPU Interrupt Load: 0% | 0% RIO0 (expert: ni-rio) -- Settings -- Name: RIO0 Vendor: National Instruments Model: NI cRIO-9030 Serial Number: 01B8A876 PCI Bus: 1 PCI Device: 0 RIO Resource Name: RIO0 Firmware Autoload Setting: Do not autoload ASRL1::INSTR (expert: ni-visa) -- Settings -- Name: Port Binding: /dev/ttyS0 Port Description: ASRL1 (/dev/ttyS0) VISA Resource Name: ASRL1::INSTR -- Port Settings -- Baud rate: 9600 Data bits: 8 Parity: None Stop bits: 1 Flow control: None ASRL2::INSTR (expert: ni-visa) -- Settings -- Name: Port Binding: /dev/ttyS1 Port Description: ASRL2 (/dev/ttyS1) VISA Resource Name: ASRL2::INSTR -- Port Settings -- Baud rate: 9600 Data bits: 8 Parity: None Stop bits: 1 Flow control: None
kb/ni-tools/nisystemcfg.txt · Last modified: 2025/06/23 08:57 by joerg.hampel