Jump to content

How can I programmatically change Description property of lvlib,


Recommended Posts

Hi Folks,I am trying to programmatically change the Description property of LabView libraries (lvlib) and LabView classes (lvclass) at edit time (to include my copyright).I had no problem changing the property for VIs and controls using property nodes but how do I open a reference to an lvlib or lvclass?I guess I could open the xml as text and change the property there but there must be a more elegant solution.Cheers, HeikoWell, I decided to give it another go and found a solution.

  • Open an Application reference
  • Wire the app ref to an invoke node
  • Select LVClass.Open or Library.Open and wire the path to the invoke node
  • Wire the lvclass/library ref to a property node and select Description

Cheers, Heiko

Link to comment

Thanks, Mikael.

I had already figured out something similar but my reply to my own post must have gotten lost somewhere in the ether ;-)

You can also open an application reference and then use an invoke node to open a library based on its path.

Cheers,

Heiko

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.