From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
What I want is to verify the existence of a file on the hard disk of your PC, but the filename must be composed with a fixed part and variable part, ie, the variable would be something like "*" when a search assistant with Windows.
Is vi "Check if File or Folder Exists" admits a path in which part of it is either a character? For example: one might say that this path "C: \ file_ ***. DAT" where each "*" could be anything (001, 002, 003, ABC, etc ...?
there's a "list files" function in the appropriate palette. You can use this to get an array of all interesting filenames... Just read the context help for this function!
Best regards, GerdW
using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
you can wire a pattern to "file list"! When the output array (of filenames) is not empty then files fitting the pattern are found. So you only have to check for the array size with a greater than zero
Best regards, GerdW
using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019