LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Libraries in project tree

Solved!
Go to solution

I noted recently that some of my projects have libraries added in a separate "Library" branch of the project tree while in other they are simply listed at the base tree level; see these two examples:

 

          Screenshot 2015-05-27 16.44.34.png        Screenshot 2015-05-27 16.46.34.png

 

Is there any practical difference between these two arrangements, apart the aestethic? May I have problems in the second one? I am actually running several of my projects in the second scenario without apparent problems, so I tend to answer "no", but who knows?



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 1 of 4
(4,623 Views)

Hi Roberto,

 

 

Could that difference be coming from the way you add those files?

Could a simple drag-drop of a lib file and adding by Edit Project dialog box be behaving differently?

 

Just a hunch.. 😉

 

 

S. Eren BALCI
IMESTEK
0 Kudos
Message 2 of 4
(4,605 Views)
Solution
Accepted by topic author RobertoBozzolo

Hello Roberto,

 

The hierarchy in project tree is only for logically organizing your files. It doesn't have any impact on how the program works.

You can modify the hierarchy to organize your files in virtual folder as you like.

Starting with CVI 2013 you can also add sub-folders, which wasn't possible in 2012.

 

Constantin.

0 Kudos
Message 3 of 4
(4,596 Views)

I have the impression that it depends on original version the project was built.

 

If I add a library in a CVI2012 project it will be put in the Library folder, which is created if not yet present. Making the same operation in a CVI2009 project simply adds the library to the tree.

Opening a 2009 project without libraries in 2012 and adding a library creates the Library folder.

Opening a 2009 project with libraries in 2012 does not automatically create Library folder, but if I add a library it indeed creates it so that resulting project has a mixed situation with some libraries in the folder and others in the tree. I can then drag existing libraries into the Library folder, but this is not required to succesfully run the project in the IDE and create the executable.

 

I suppose the position of libraries in the project tree is simply a graphical representation and has no influence in program behaviour.

 

BTW I always use Edit >> Add files to project to add libs

 

 

* Edit * Constantin has replied while I was writing, confirming my hypothesis



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 4 of 4
(4,593 Views)