VeriStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Automatically Add a Tool to a Project

Same question, but with a Tool this time:

 

http://forums.ni.com/t5/NI-VeriStand/Automatically-Adding-Service-to-Project/td-p/3077403

Chris
Project Engineer
Certified LabVIEW Architect
Certified TestStand Architect
0 Kudos
Message 1 of 3
(4,367 Views)

Unfortunately that's not possible this time. The list of the tools for a given project is a rather mysterious variant. There's no way to decipher this and edit it. Just like the content of the workspace, for instance.

 

You can still call a tool that is not bound to the project through the API (NI VeriStand - Open Workspace Tool.vi - or IProject.OpenTool(string Path)). You just need the path (Warning, the VI must be a source distribution!) for that.

 

Regards,

Eric M. - Senior Software Engineer
Certified LabVIEW Architect - Certified LabVIEW Embedded Systems Developer - Certified LabWindows™/CVI Developer
Neosoft Technologies inc.

0 Kudos
Message 2 of 3
(4,358 Views)

One way to do this is working from the other end... have a template project that is already set up... then copy it on disk to make your specific instance. This source does that: https://github.com/NIVeriStandAdd-Ons/Test-Cell-Controller-NIVS-Project-Tool

with the wineman inertia stuff

Stephen B
0 Kudos
Message 3 of 3
(4,349 Views)