Hi all
I have this code that I attached it and I want to save my datas but every time I do that and saving ,the program ask me about direction of the file but I like it does Automatically. so after I choose the saving, it saves all of data whitout aske the direction.
How can I do that?
thanks
Solved! Go to Solution.
Find the VI attached which represents what I think you are trying to get across.
It will show you how to build the path. Make sure you save the VI on your desktop, and you should see the folder Example appear on you desktop.
Also it doesn't do any checking to see if the path exists, so it will generate and error if the folder already exists on your desktop, you can find all of the necessary tools you need to setup a solid path building in the programming->File I/O tool pallet. I tried to keep it as simple as possible so I don't confuse you.
Good luck,
Why dont you use system checkmark with name automatic loggin with case structure and perform all the logging opertion inside case structure
thanks
df86, your solution is good but I can use for first time and if I use for second time it has error and I need change the name of file.My aim is save also the name of file automatically like it recognize the date of computer and match the file name with that.
is it possible?
Hi MStewart
Your code is so excellent and I changed it for my work but I have another problem. my code is work only with 7.1 version of LV and it cannot work with another version.so when I want to change your code to mine , I cannot find some Icons like Creat Folder and ... in 7.1 version. is there any way to use this code with this version?
Best Regards
There must be a Create folder somewhere in LV 7.1. If by some wonder it isn't, make a System Exec run "md [path]"
/Y
Is there "Build Path"? That creates a folder in LV2012.
Cameron
Que tal camerond:
Te pido en el futuro que generes un nuevo post para cada pregunta nueva.
Te adjunto un VI para revisar si existe la carpeta que pongas en un Build Path y crearla en caso de que no exista.
Saludos
vsa,
I have not worked with 7.1 much, so I am not sure what the best practices are for file I/O in that version. I did a search of the knowledge base and found this: Create Nested Folders, but I don't know if it addresses your specific needs.
Any 7.1 experts out there that could help us out?
Edit: Looks like JuDa offered a fix right before I posted this. Is that what you needed?