LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Create New Folder- Labview 7.1

Solved!
Go to solution

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

0 Kudos
Message 1 of 5
(12,010 Views)

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.

0 Kudos
Message 2 of 5
(12,002 Views)

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

0 Kudos
Message 3 of 5
(11,993 Views)
Solution
Accepted by topic author jey11

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.

0 Kudos
Message 4 of 5
(11,984 Views)

Then you have to create the path 'programatically'.Smiley Wink

 

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.

0 Kudos
Message 5 of 5
(11,983 Views)