Jump to content

Useful VIs posted to DevZone for detecting controls of LVClass types


Recommended Posts

You mean these?

Download File:post-2-1192736521.zip

Qualified Name Array To Single String.vi takes a VI's qualified name, given as an array of strings, and converts it to a single colon-delimited string. This VI may be useful for working with VIs owned by any library type, and it is used as a subVI of the other two VIs in this .zip file.

Is This Control Of This LabVIEW Class.vi takes a control refnum and a LabVIEW class refnum and tells whether the control is an instance of the given LabVIEW class. It returns true for regular class controls/indicators and for XControls of the class.

Is This Control Of LabVIEW Object Class.vi is the same as the previous, except it does not take a class refnum for input. LabVIEW Object is the built-in class that is the ancestor of all other LabVIEW classes, and this VI specifically checks to see if the given control is an instance of this class.

Link to comment
  • 3 weeks later...

QUOTE(Michael_Aivaliotis @ Oct 18 2007, 01:42 PM)

You mean these?

You know, if I wanted to maintain two copies of the VIs online, I probably would've said something like, "Please cross-post these VIs to a site other than ni.com, such as LAVA, so that if I make modifications I can have the joy of updating two forums instead of just one." For the record, I didn't say that.

Oh, by the way, there's a new version of the .zip file posted on ni.com (follow same link as my original post). I'll leave the cross-posting as an exercise for the reader.

Link to comment
  • 1 month later...

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.