LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Removing wiring diagarms in LV4.X

I wish to remove the wiring diagrams from a large number of vi's(>3000). I
do not wish to do this by hand(File->Save with options...). I am
interested to know if it is possible to write an executable to read the vi
as a binary file, and somehow remove the wiring diagrams(set a magic
byte,lop off some data, etc).

I am open to other solutions as well.

Please note these vi's are all LV4.
0 Kudos
Message 1 of 3
(4,339 Views)
John Mac wrote:

> I wish to remove the wiring diagrams from a large number of vi's(>3000). I
> do not wish to do this by hand(File->Save with options...). I am
> interested to know if it is possible to write an executable to read the vi
> as a binary file, and somehow remove the wiring diagrams(set a magic
> byte,lop off some data, etc).
>
> I am open to other solutions as well.
>
> Please note these vi's are all LV4.

I dont remember how to do it in V4 right off hand.
HAve you tried looking at the VIserver VIs to see
what they will do ?

I will cautiion you though.
Once the diagrams are removed you can not:
1) Edit the VI
2) Open or run the VI with a newer version of Labview

Kevin Kent
0 Kudos
Message 2 of 3
(4,339 Views)
If you are were using LV5 or higher, then you could use the VI Server to
do this.
With version 4 you will need to use the dialog built into LV. That shouldn't
take too long though. You will want to use Save with Options. It will allow
you to save a heirarchy of VIs without diagrams to a new location,
folder or LLB.
If you have very little heirarchy due to dynamic VI calls, then build a FakeRoot.vi
that has a reference to the other top level VIs and the dynamic VIs.
Then use
the dialog on this FakeRoot VI.

Greg McKaskle

John Mac wrote:
>
> I wish to remove the wiring diagrams from a large number of vi's(>3000). I
> do not wish to do this by hand(File->Save with options...). I am
> interested to know if it is possible to write an executable to read the vi
> a
s a binary file, and somehow remove the wiring diagrams(set a magic
> byte,lop off some data, etc).
>
> I am open to other solutions as well.
>
> Please note these vi's are all LV4.
Message 3 of 3
(4,339 Views)