01-23-2010 09:45 AM
Is that possible to create new folder parametrically in labview 7.1? I am modifying existing software, don't want later version. It will take forever.
I able to do it labview 8.5. See the attached file.
I want to similar one on Labview 7.1.
Thanks
Jey
Solved! Go to Solution.
01-23-2010 10:12 AM
I don't know what parametrically means in this context. Do you mean programatically? If so, then yes with the New Directory function. Have you ever looked at the File I/O palette with context help turned on?
p.s. Don't post propietary file formats such a .doc. Directly attach any images or the actual VI.
01-23-2010 10:45 AM
Yes, It should read as programatically..Yes I looked File i/o palette. I don't want prompt and ask the folder name to user to enter.
Any suggestion.
Thanks
01-23-2010 10:56 AM
I don't understand what the issue is. The New Directory function has a path input just like the Create Folder function in LabVIEW 8.5.
The code you posted calls the Check if File or Folder Exists function in LabVIEW 8.5. Are you really asking if there's an equivalen of this for LabVIEW 7.1? That specific VI does not exist for 7.1, but you can easily create it by using the File/Directory Info function instead. You can check to see if that function returns an error, and check the error code.
01-23-2010 10:57 AM
Then you have to create the path 'programatically'.
It all depends on what you want the path to be. There are the functions to create a path from a string, path constants on the block diagram, etc. Please provide some details on your requirements if you want a detailed answer.