LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Renaming a Library Programmatically

Solved!
Go to solution

Manually, I can open a .lvlib file, Save As ..., then select Rename.  Then all of the owned items will be linked to the new name.  I want to do that programmatically.

 

This doesn't work: 

paul_cardinale_0-1664982241107.png  All the owned items are still linked to the old (still existing) .lvlib file.

 

This doesn't work:

paul_cardinale_1-1664982348924.png   It throws an error because the original .lvlib file exists on disk.

 

This does work:

paul_cardinale_2-1664982425383.png  But it's a private method.  Is there a way to accomplish the same thing without using a private method?

 

 

 

"If you weren't supposed to push it, it wouldn't be a button."
0 Kudos
Message 1 of 10
(1,415 Views)
Solution
Accepted by topic author paul_cardinale

It seems you need to Save a Copy (and remove the old one), that worked for me.

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
Message 2 of 10
(1,391 Views)

@paul_cardinale wrote:

paul_cardinale_0-1664982241107.png 


That path takes me back 20 years 😁.

Message 3 of 10
(1,311 Views)

wiebe@CARYA wrote:

@paul_cardinale wrote:

paul_cardinale_0-1664982241107.png 


That path takes me back 20 years 😁.


Hah! I didn't react to the A:! It didn't work because Paul forgot his floppy!

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
Message 4 of 10
(1,294 Views)

@Yamaeda wrote:

wiebe@CARYA wrote:

@paul_cardinale wrote:

paul_cardinale_0-1664982241107.png 


That path takes me back 20 years 😁.


Hah! I didn't react to the A:! It didn't work because Paul forgot his floppy!


MY first box of 10 floppy disks cost $90.  Each disk held 320,000 bytes.

"If you weren't supposed to push it, it wouldn't be a button."
Message 5 of 10
(1,276 Views)

8 inchers?

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 6 of 10
(1,230 Views)

@Yamaeda wrote:

8 inchers?


No, 5 1/4".  When I bought the computer, I was somewhat concerned about the fact that it had 5 1/4" instead of 8" because at the time, there was no standard for the 5 1/4" floppies; there were a variety of different formats.

"If you weren't supposed to push it, it wouldn't be a button."
Message 7 of 10
(1,205 Views)

Ouch.  That's very expensive discs.

What year was that?

I remember 3 1/2" disc only cost $1 in 1987.

 

George Zou
0 Kudos
Message 8 of 10
(1,200 Views)

@zou wrote:

Ouch.  That's very expensive discs.

What year was that?

I remember 3 1/2" disc only cost $1 in 1987.

 


1983

"If you weren't supposed to push it, it wouldn't be a button."
0 Kudos
Message 9 of 10
(1,194 Views)

@zou wrote:

Ouch.  That's very expensive discs.

What year was that?

I remember 3 1/2" disc only cost $1 in 1987.

 


As a side note, today, cost/bit of electronic memory is more than 100 million times less than in 1980.

So the amount of storage in a card/stick that costs $10 today would have cost more than one billion dollars in 1980 (and those are 1980 dollars).

"If you weren't supposed to push it, it wouldn't be a button."
Message 10 of 10
(1,133 Views)