LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Move file in project

Hi all,

 

After I finish coding, I want to rearrange the locations of the different VIs, so I opened my project (files tab) and tried to rearrange the VIs there.  By rearranging the VIs under the file tab of the project, I understand that the VIs would be rearranged in my harddrive as well.  I have a few questions.

 

1. Under project (files tab), I can't create empty folder.  Is there a way to do so?

2. Since I can't create empty folder under project, I created the empty folders outside of LabVIEW.  When I open the project again, I don't see the empty folders.  Why is that?

3. I got around 2 by right-clicking on the file that I would like to move into a empty folder and select move on disk option.  Is that the only way?  I am getting a conflict after I did this, but I can get rid of that by reopening the project.

 

 

------------------------------------------------------------------

Kudos and Accepted as Solution are welcome!
0 Kudos
Message 1 of 6
(3,255 Views)

 


@jyang72211 wrote:

Hi all,

 

After I finish coding, I want to rearrange the locations of the different VIs, so I opened my project (files tab) and tried to rearrange the VIs there.  By rearranging the VIs under the file tab of the project, I understand that the VIs would be rearranged in my harddrive as well.  I have a few questions.

 

1. Under project (files tab), I can't create empty folder.  Is there a way to do so?


 

Not from the project window. You'd need to create the folder on disk and then drag and drop the folder into your project view.

 

 


2. Since I can't create empty folder under project, I created the empty folders outside of LabVIEW.  When I open the project again, I don't see the empty folders.  Why is that?


 

Because it doesn't do 2-way synchronization. It only shows you the disk location of the project files. When you create a folder outside of LabVIEW it's outside of LabVIEW, and not part of the project.

 

 


3. I got around 2 by right-clicking on the file that I would like to move into a empty folder and select move on disk option.  Is that the only way?  I am getting a conflict after I did this, but I can get rid of that by reopening the project.


 

What conflict?

 

Also, please specify which version of LabVIEW you are using, since the way projects work have changed over the various LabVIEW versions.

0 Kudos
Message 2 of 6
(3,251 Views)

Not from the project window. You'd need to create the folder on disk and then drag and drop the folder into your project view.

 

Can you elaborate on the above comment that you made?  Thanks!

------------------------------------------------------------------

Kudos and Accepted as Solution are welcome!
0 Kudos
Message 3 of 6
(3,220 Views)

Jyang, it would be helpful if you could provide the information that smercurio asked for.

 

 

Product Support Engineer
National Instruments
0 Kudos
Message 4 of 6
(3,194 Views)

 


@jyang72211 wrote:

Not from the project window. You'd need to create the folder on disk and then drag and drop the folder into your project view.

 

Can you elaborate on the above comment that you made?  Thanks!


I don't understand what you want me to elaborate on. Just drag a folder from your explorer window and then drop it onto your project window. You can also just right-click on an existing folder in the project explorer and select "Add Folder...". Remember that the project view does not need to reflect your disk organization.

 

0 Kudos
Message 5 of 6
(3,192 Views)

Actually, I was trying to use the Files tab in my project to reorganize the file in my harddisk.  I wanted to do that, so that LabVIEW would know where I have moved my file (to eliminate broken link problem).  Also, the conflict problem that I had happen in LV 2009 SP1.  When I move a file in the project, the project will should that the file is both in the old and new location, so a conflict arises.

------------------------------------------------------------------

Kudos and Accepted as Solution are welcome!
0 Kudos
Message 6 of 6
(3,154 Views)