LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

programatically package a directory of VIs into one location for distribution

Situation:
I have a root directory that contians 500+ VIs from relativly unrelated projects. These VIs are periodically changed, added and removed from the Directory that I want to package.

Objective:
I need to programmatically bundle these VIs into a single distribution package. Some VIs will be called from TestStand 3.1. Some will be called as stand alone VIs. I can accomplish this by hand if I drop all the VIs as subVIs into a single nonfunctioning VI. Then use Save with Options and select application distribution. I password protect the VIs instead of removing diagrams. When I am through I need to be able to run these VIs using the labview 7.1 runtime engine.

Actions taken to this
point:
I currently have a vi that will traverse all subdirectors and collect all VI paths to an array. I can then use VI Server to open each vi, password protect it, then resave it.

I am looking for help with how to achieve the objective section of this message.

Thanks in advance for any assistance.
Lonnie Aldredge
0 Kudos
Message 1 of 2
(2,180 Views)
Hi,

If you make an empty library once, you can copy it (programmatically) for
each distribution.

You can then save a copy of each vi in the library (just add the library to
the destination path).

This way you can have a number of vi's in one package.

Regards,

Wiebe.

"Lonnie" wrote in message
news:50650000000800000063F20000-1079395200000@exchange.ni.com...
> Situation:
> I have a root directory that contians 500+ VIs from relativly
> unrelated projects. These VIs are periodically changed, added and
> removed from the Directory that I want to package.
>
> Objective:
> I need to programmatically bundle these VIs into a single distribution
> package. Some VIs will be called from TestStand 3.1. Some will be
> called as stand alone VIs. I can accomp
lish this by hand if I drop all
> the VIs as subVIs into a single nonfunctioning VI. Then use Save with
> Options and select application distribution. I password protect the
> VIs instead of removing diagrams. When I am through I need to be able
> to run these VIs using the labview 7.1 runtime engine.
>
> Actions taken to this point:
> I currently have a vi that will traverse all subdirectors and collect
> all VI paths to an array. I can then use VI Server to open each vi,
> password protect it, then resave it.
>
> I am looking for help with how to achieve the objective section of
> this message.
>
> Thanks in advance for any assistance.
> Lonnie Aldredge
0 Kudos
Message 2 of 2
(2,180 Views)