NI Home
Cart Cart | Help
Hello Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI
You are here: 
NI Home > NI Developer Zone > NI Discussion Forums


Reply
Member
R.Gibson
Posts: 31
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: 13,418

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: 31
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!

By using this web site, you accept the Terms of Use for this web site. Please read these Terms of Use carefully before using any part of this site. Please go here for information on ni.com's copyright infringement policy.
My Profile | Privacy | Legal | Contact NI © 2011 National Instruments Corporation. All rights reserved.    |    E-Mail this Page E-Mail this Page