Jump to content

How to use GetProperty and SetProperty of generic Classes?

Recommended Posts


I whould like to read out generic Propertys like Name or Label.Text. I found out that the Property Editor from LabVIEw uses this Functions "GetProperty" and "SetProperty".

But this functions does'nt take the Name of the Property but want a Index :wacko: anyone know where I can get a table about all indexes for the propertys? I allready found the table, the propertyeditor uses, but it only contains property indexes i'm not very interessted in.

(See LabVIEW 7.1\resource\PropertyPages\ControlPropertyPages.llb\subPPBuildTable.vi)

Thankfull for any Help :worship:

Link to comment
I whould like to read out generic Propertys like Name or Label.Text.

To get properties of a control or indicator. right click on the terminal and create property node or

create a reference and wire a property node to it.


To set the properties right click on the node and select "Change All to Write"


Link to comment
  • 2 months later...
  • 4 months later...

Using the method described in this thread gives a lot of good info!! (thanks metin :thumbup: ) It seems, however, to just be limited to properties that the Property Pages update.

Has there been any luck in finding the property indices of properties not updated by any Property Pages? Properties like position and size....


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.

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.