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.

NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

File Reader, directory path format

Hi,

 

   I am currently debugging a file reader in NI TestStand.  I am on a

LabView 2013 version:

 

This call to a local directory or path "C:\\Users\\eng\\Documents\\PaulG\\File"

is successfully read by my VI application...  Notice the "double" back slash?

 

Now , I am trying to do this coming from a network , below example:

"\\IP_address\\eng\\2013\\File"      123.123.123.123  = IP Address, example only)

 

It does not work, I cannot read it.  What is the correct "format" path to call it?

 

Then I came across another application on LabView 2018:

 

"\\\IP_address\eng\2018\File"  (notice this time it is triple backslash?? and single slashes, as opposed to double backslashes above)

This is working as per the user of this one.

 

What is happening here?  

 

Big thanks,

Paul

0 Kudos
Message 1 of 3
(1,272 Views)

I find that for network drive locations, I need to double up on the slashes, like "\\\\first\\second\\third"

 

Message 2 of 3
(1,250 Views)

noted.  big thanks! 

 

0 Kudos
Message 3 of 3
(822 Views)