Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   Saving & Reading File Paths (http://www.chiefdelphi.com/forums/showthread.php?t=95393)

rclothier 28-05-2011 10:04

Saving & Reading File Paths
 
Does anyone know how to read in a file path variable saved in a file? I can read it in as a string variable, but I can't for the life of me figure out how to convert that into a file path. LV says you can format the Scan File to read path variables, but I haven't found the correct format string. Thanks.

Joe Ross 28-05-2011 12:38

Re: Saving & Reading File Paths
 
In the advanced file functions, there is a string to path vi.

Using the format to string VI, I wired in a path, and the format string it created was %s, which leads me to believe there isn't a special format for paths.

rclothier 29-05-2011 12:13

Re: Saving & Reading File Paths
 
Thanks! Works like a charm. I swear, I spent an hour going through their help files, and could not find that function. Thanks for the help.


All times are GMT -5. The time now is 09:31.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi