LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Save a file in a very particular path - help needed

Please look at the original post. The sub vi is included as well, there are two vi's.


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

yes, but it miss the 3th 🙂 check if directory exists 😄 

Using LabVIEW 7.1
0 Kudos
Message 12 of 39
(860 Views)

I don't know what 3th means but Check if File or Folder Exists is a VI that comes with LabVIEW.

0 Kudos
Message 13 of 39
(855 Views)

i don't think it exists 😄 do you use openG library? 

Using LabVIEW 7.1
0 Kudos
Message 14 of 39
(847 Views)

I use OpenG on occasion. So?

 

You should be able to come up with something basic by using the low level File functions. You just can't depend on someone here giving you all the code you need. Though, you could try to use this to get a current version of LabVIEW.

Message 15 of 39
(839 Views)

Its not OpenG.

I am not sure whats available in 7.1. I hope you can build something like below as Dennis suggested.

directory.png


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

There's really no need to check to see if the directory exists.  Just create it and handle the error that happens if it does already exist.


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 17 of 39
(815 Views)

in number to alphanumeric VI, why is build array necessary?

 

i put it in evidence in black box

 

PS: in theory the 31° day should be X, in your code it's different, maybe i don't have to consider J & K...in what way can i ignore them?

 

sorry but i find difficult understand in what way save file 😞 it's more simple for me make a strange program that make strange things that save files 🙂

 

then...after i build a path i have to check if it's exist,,,

 

@crossrulz: in what way could i handle errors?

Using LabVIEW 7.1
0 Kudos
Message 18 of 39
(796 Views)

Please read the help file http://zone.ni.com/reference/en-XX/help/371361J-01/glang/byte_array_to_string/

I find it difficult to understand your last post. If you need to skip J & K you will need to handle that in the program, just use some comparison method.


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

i have made in this way...

 

i think that i have to put another "build path" to send the name of file i want to save.

 

but my problem is...error case is necessary? i have to save my file in everycase,,,

 

 

Using LabVIEW 7.1
0 Kudos
Message 20 of 39
(782 Views)