LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a way to programmatically figure out what toolkits are used by my project and if they are installed on my PC?

I have a big Project and I would like to run a VI that would check the required toolkits for my application and also check if those toolkits are indeed installed on my PC.

 

Thanks for your help

Cheers,
~~~ GladiatorLV ~~~
0 Kudos
Message 1 of 3
(3,054 Views)

Eek, programmatic sounds tough. I'm interested to see what others on here say.

 

I think you usually wouldn't be able to open the project fully until you have the required toolkits installed. I usually open my inherited project and write down each VI that it can't find and install the required toolkits using that info.

Cheers


--------,       Unofficial Forum Rules and Guidelines                                           ,--------

          '---   >The shortest distance between two nodes is a straight wire>   ---'


0 Kudos
Message 2 of 3
(3,045 Views)

When your Project is open, you can see some of the Dependencies, other VIs associated with the VIs listed in your Project.  This can include VIs that are in the Physical folder containing the Project but not in a Project Virtual folder, VIs in libraries, including .llbs, vi.lib, and user.lib, .dll files (from NI and others) referenced by items in the Project, and possibly other things.  These are items that it finds on your current machine, and that you would need if you moved your code to another computer.

 

When you load one of the VIs in your Project into memory, it will do a further search to locate all of the functions that it uses, raising an Error condition if one is not found (sometimes due to a missing Driver, for example).  A trick that I like to use during Development is to create a "Tree" VI that contains a copy of every VI in my Project.  If I open the Tree, and any VI makes a call on a "missing function", I will have a Broken Arrow, and can use the Error reporting to find the Missing Link.

 

Bob Schor

Message 3 of 3
(3,033 Views)