Example Code

Get the Filesystem type of a Real-Time Target using the System Configuration API

Products and Environment

This section reflects the products and operating system used to create the example.

To download NI software, including the products shown below, visit ni.com/downloads.

    Software

  • LabVIEW

Code and Documents

Attachment

Description

Overview
This example demonstrates how to get the filesystem type of a Real-Time target from a host system.


Description
The VI opens a system session to a Target's IP, uses the System Session property node to pull the "Real Time:File System" property type, and closes the connection. Some possible return values for this are Reliance and FAT (in this case it is shorthand for FAT32). Note: This does not interrupt a deployed Real-Time Startup Executable.

 

There are many other properties available from this property node, a full list of them can be found here:

Property Node (System) Descriptions
Requirements

  • LabVIEW 2012 (or compatible)
  • LabVIEW Real-Time Module
  • System Configuration API
  • Real-Time Hardware Target


Steps to Implement or Execute Code

 

  1. Open the applicable VI.
  2. Expand the Target dropdown box and select a Real-Time Target on your network.
  3. Run the VI and see the Filesystem type of the target.

 

Additional Information or References
VI Block Diagram
1.png

 

 **This document has been updated to meet the current required format for the NI Code Exchange.**

 

 

Craig H. | CLA CTA CLED | Applications Engineer | NI Employee 2012-2023

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.