LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Copy function results in Error 1430 when the target path terminal is <Not A Path>

Hello all.
 
I'm having a little bit of trouble with the Copy function under LabView 8.2.  If I wire <Not A File> to the target path terminal, I get an Error 1430 (The path is empty or relative.) from the Copy File function's error out terminal.  According the the manual, wiring <Not a File> to the target path terminal should cause the Copy function to display a dialog box prompting the user to select a file.
 
I've attached a sample VI which demonstrates this issue.  Is the documentation for the Copy function incorrect, or is something I'm doing wrong in my VI causing the error?
 
Thanks,
 
Mark Moss
0 Kudos
Message 1 of 3
(3,009 Views)
Hi Mark,

Thanks for bring this to our attention. I believe the documentation is incorrect here, as you suggested. When nothing is wired to the target path terminal, it behaves as expected (prompting the user to select a target directory).

I will look into this further and report this issue to our LabVIEW documentation team.

Sam
-Sam F, DAQ Marketing Manager
0 Kudos
Message 2 of 3
(2,991 Views)
That's what I figured.  It was easy enough just to throw a cast structure around the Copy function and leave the target path terminal unwired when I have Not a Path.
 
Mark Moss
0 Kudos
Message 3 of 3
(2,983 Views)