LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Save a file in a very particular path - help needed

Yeah, they changed it somewhere along the way (I think going into 8.0).  The New Folder should be it.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 31 of 39
(755 Views)

in my case error 10 is duplicate path...is that?

Using LabVIEW 7.1
0 Kudos
Message 32 of 39
(754 Views)

@gigi85 wrote:

in my case error 10 is duplicate path...is that?


yep


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 33 of 39
(736 Views)

do you think is correct? i can't test it now 😞

 

from datalog file name i have a relative path that i would add to datalog path

 

PS: why i have to monitor error out coming out from create new dir? 

 

is it possible don't consider errors in and out from craetenewdir? erasing totally them...

Using LabVIEW 7.1
0 Kudos
Message 34 of 39
(727 Views)

it doesn't work 😞

Using LabVIEW 7.1
0 Kudos
Message 35 of 39
(705 Views)

Instead of complaining that it doesnt work, please try and do some debugging on your code and post messages with a bit more information.

http://www.ni.com/gettingstarted/labviewbasics/debug.htm

http://k12lab-support-pages.s3.amazonaws.com/lvadvancedhome1.html

 

If not at least get a more current version of Labview so that people here can help you.

 


CLA CTAChampionI'm attending the GLA Summit!
Subscribe to the Test Automation user group: UK Test Automation Group
Message 36 of 39
(694 Views)

it doens't create the folder, or the file...nothing

 

and i can't use a better labview

Using LabVIEW 7.1
0 Kudos
Message 37 of 39
(686 Views)

It sounds like they changed the create folder going to LabVIEW 8.  You need to create each folder going down to your final subfolder.  The most common trick I've seen to do this is to use the Strip Path in a while loop.  Have the resulting paths autoindex out and stop the loop when you get a Not A Path.  You can then reverse the array and create the folders in a FOR loop (autoindex on the array of paths).


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 38 of 39
(676 Views)

@crossrulz wrote:

You need to create each folder going down to your final subfolder.  The most common trick I've seen to do this is to use the Strip Path in a while loop.  Have the resulting paths autoindex out and stop the loop when you get a Not A Path.  You can then reverse the array and create the folders in a FOR loop (autoindex on the array of paths).


Anyone wants to play a game of 'predict the next question'? Smiley Wink


CLA CTAChampionI'm attending the GLA Summit!
Subscribe to the Test Automation user group: UK Test Automation Group
0 Kudos
Message 39 of 39
(667 Views)