LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Create directory

Hi
I want to create a new folder if it does not exist with labwindows 3.1. How can I do that?
Tanks
0 Kudos
Message 1 of 4
(2,958 Views)
Sir,
I double checked in the old LabWindows manual to make sure we had this function, and it seems we did have it back then. I think you want the MakeDir() function. The input is the new directory name. The return value is the result of the operation. An example would be making a directory named \Data\Waveform on drive C assuming C:\Data already exists. This would be for a C compiler as well:
result = MakeDir ("C:\\Data\\Waveform");

Daniel McChane
Application Engineer
National Instruments
0 Kudos
Message 2 of 4
(2,958 Views)
Tanks a lot for your answer, you help me a lot


David
0 Kudos
Message 3 of 4
(2,958 Views)
Good to hear. Good luck on the project.

Daniel McChane
Application Engineer
National Instruments
0 Kudos
Message 4 of 4
(2,958 Views)