LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

specifying file name

How do I specify a file name when using the Read Binary File vi? It looks like I would use the file (use dialog) input to specify the path and file name. How do I do this exactly? TIA.Smiley Sad

 

 

jlivermore

0 Kudos
Message 1 of 3
(2,378 Views)

You need to type the full path name, for example:

 

C:\Documents and Settings\My Documents\File.txt

 

Or what I usually do is have the following

Constant -  " C:\Documents and Settings\My Documents\ "

Control - Input the file name

Constant - " .txt " 

 

Then I concatenate those strings and convert to file path.

That way, you don't have to remember the full file path, just the name of the file. 

Cory K
0 Kudos
Message 2 of 3
(2,366 Views)

Thanks, Kory...I'll use your suggestion.Smiley Happy

 

-jlivermore

0 Kudos
Message 3 of 3
(2,361 Views)