Example Code

Check Files or Folder Names for Special Characters

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

Dependent on the OS, special characters can cause issues. E.g. Linux RT can't handle special characters or German umlauts (Startup Executable Does Not Launch on Real-Time (RT) Target).

Basically it is recommended to avoid special character in file or folder names.

It is a lot of work to check all files in a large project manually. This VI check files or folder names for special characters like Umlauts.

How to Use

  1. Download the VI Check Files or Folder Names for Special Characters like Umlauts (LV 2020).vi.
  2. Run the VI.
  3. Select a Folder.
  4. Check out the results and rename the files if necessary.

Additional Information

Software

  • LabVIEW 2020 or higher

Related Links

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