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

Updated Nov 9, 2018

Reported In

Software

  • 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.
 

Solution

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, it's 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.

WAS THIS ARTICLE HELPFUL?

Not Helpful