From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Check if File or Folder exists Issue

Solved!
Go to solution

I have observed a strange issue with "Check if File or Folder exists". It says file exists even if the string is empty.

 

error.png

AB
Kudos are Accepted
0 Kudos
Message 1 of 5
(4,807 Views)

Hi,

Actually Empty path refers to the mapped drives in the computer. You can check the detailed help for the same.

For the same you should use "<Not a Path>" instead of empty if you are not intended to input a path.

0 Kudos
Message 2 of 5
(4,789 Views)

Use Empty path check before checking for Path exists

 

----------------------------------------------------------------------------------------------------------------
Palanivel Thiruvenkadam | பழனிவேல் திருவெங்கடம்
LabVIEW™ Champion |Certified LabVIEW™ Architect |Certified TestStand Developer

Kidlin's Law -If you can write the problem down clearly then the matter is half solved.
-----------------------------------------------------------------------------------------------------------------
0 Kudos
Message 3 of 5
(4,780 Views)
Solution
Accepted by topic author AB@17
Message 4 of 5
(4,778 Views)

The VI itself has the check internally

AB
Kudos are Accepted
Message 5 of 5
(4,767 Views)