Jump to content

Get a reference to a LVClass in memory


Recommended Posts

Hi,

I'd need to get a reference to a LabVIEW Class that is currently in memory. All I have is the class name in a format "MyClass.lvclass". The problem is that I don't know the path of the class but only that the class is currently in the application memory. If there is a way to get a reference using the class name, that would be superb. If this is not possible, is there a way to get the path of the class if you just know the name and that it's currently in memory.

jimi

If I get a reference to all VIs in memory, that is fine as well.

Link to comment

It worked... Each class always has a typedef, the name of which is of the form MyClass.lvclass:MyClass.ctl. One can open VI reference to this typedef using Open VI reference and a technique described by Ton. Having retrieved this reference one can then find out the library into which the typedef belongs to. I however noticed that I really needed the reference to the typedef itself and not the class.

jimi

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
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.