ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Build path

Quite a basic one this...
 
I want to create a file - say a spreadsheet, as shown in the attached file.
 
I want it to be in a fixed directory - say the desktop as in my example, but to have a variable file name - a time stamp for example (although it is just shown a fixed "test.xls" string in my example).
 
I would expect my example to create an excel file called test.xls in the "C:\Documents and Settings\db134336\Desktop\" directory.  Why doesn't it?
 
Dan
0 Kudos
Message 1 of 4
(3,375 Views)
Is there an error returned by the write to spreadsheet.vi?

Ton
Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas

LabVIEW, programming like it should be!
0 Kudos
Message 2 of 4
(3,369 Views)

No, it just brings up a "Choose file to write" dialog box, as it would if the file path pin was unconnected. 

If I connect a File path indicator box to the file path 'wire', it just shows a <no path> message.

0 Kudos
Message 3 of 4
(3,365 Views)


DanB83 a écrit:

No, it just brings up a "Choose file to write" dialog box, as it would if the file path pin was unconnected. 

If I connect a File path indicator box to the file path 'wire', it just shows a <no path> message.




So you probably have the answer : the path is not a valid path. Check everything ....
Chilly Charly    (aka CC)
0 Kudos
Message 4 of 4
(3,357 Views)