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.
Hi, I am trying to use "Read From Spreadsheet File.vi" and am having trouble using relative file paths (as opposed to absolute file paths). Does this VI support relative file paths and what is the syntax of relative paths? Thanks.
Yes, file VIs support relative file paths. Under the "File I/O" function palette, you can find "Build path" and "Strip path". Use those VIs to build relative file paths.
Also you can use "." (one dots) for the input path and ".." two dots for one path level up, just as you could use them in command prompts.