NI Home > Community > NI Discussion Forums

LabVIEW

Showing results for 
Search instead for 
Do you mean 
Reply
Member
R.Gibson
Posts: 63
0 Kudos
Accepted Solution

How can I interactively create a New File in LabVIEW 2011?

I am trying to create a new binary file interactively in LabVIEW, but the File Path control only offers the ability to either type in the full path and file name (cumbersome for the user), or browse for an existing file. I want to open a "New File" dialog that will allow the user to browse to the target directory, then be able to enter the name of a non-existing file to save the data to.

 

The way I'm currently doing it is creating a TXT file using the Windows Explorer "New Text Document" pop-up, then changing the file extension to the new value...which is again, very cumbersome.

 

The only thing I've found online is that there used to be a "New File.VI" in an older version of LabVIEW apparently...but I can't seem to find it in 2011.

Knight of NI
RavensFan
Posts: 15,928

Re: How can I interactively create a New File in LabVIEW 2011?

You can create a new file using the browse button.

 

Did your right click on the file path control and check the settings in the "Browse Options" menu?

Member
R.Gibson
Posts: 63
0 Kudos

Re: How can I interactively create a New File in LabVIEW 2011?

LOL. Hadn't tried that yet. Now have it working, thanks!