Jump to content

Create type def and then use it


Recommended Posts

If you want to use the New VI Object VI to insert a custom control you need to feed it a valid path and set the Class input to GObject or a class it inherits from. I would be interested to know if there is a way around this but I think you will also need to save the .ctl (at least temporarily) so you have a valid path to reference.

 

To explain the error you were getting, you were telling LabVIEW to put whatever was at the path "Control 1" into your new VI.  That isn't a valid path so LabVIEW just gave an error saying that it couldn't create that object.

 

-Matt J

post-53756-0-41173000-1451530939.png

Link to comment
  • 3 weeks 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.