How can I Remotely Monitor the Disk Space on Several cRIOs Automatically?

Updated Feb 1, 2024

Reported In


  • LabVIEW Real-Time Module

Operating System

  • NI Linux Real-Time

Issue Details

I want to monitor disk space of several cRIOs remotely and automatically every x hours to check if the systems run out of disk-space. All the cRIOs are connected to ethernet and are visible in NI-MAX.

I want to make a LabVIEW program that connects to each cRIO every x hours and queries the Primary Disk Free Space from the System Resources.



You can use SystemLink to monitor the state of multiple targets in a central location. Use Tags and Alarms to alert you when certain thresholds are breached.


To query the system parameters of a cRIO in LabVIEW use the System Configuration VIs located in Real-Time -> RT Utilities -> System Configuration in the Functions Palette.

Additional Information

An array of IP addresses is provided, and using the Initialize Session and Find Hardware VIs a list of hardware for each target is obtained.

For each item of hardware, its Alias is searched for the phrase 'cRIO', and if this string is found then the system parameters of that hardware item can be queried.

The following code illustrates the process.

This VI can be called programmatically every x hours to query the free disk space.

The above VI has been attached to this article.