Jump to content
crelf

Built packages loose connection to controls

Recommended Posts

I have a typedef in a package (it's actually a member of the private data of a class). After the built package is installed, when I drop a VI that uses the class, LabVIEW goes off searching for the typedef control. The path it looks for the control in is:

 

  • .\user.lib\package.llb\API\ControlName.ctl

 

but it's actually here:

 

  • .\user.lin\package.llb\NameSpacedControlName.ctl

 

As you can see, both the path and name aren't as LabVIEW expects them. My guess is that classes that contain typedefls aren't updated when the typedef in namespaced.

Share this post


Link to post
Share on other sites

crelf,

 

I could not recreate the problem. See the attached test project I created.

 

After building the project, I was able to drop the VI and it connected to the appropriate typedef.

 

FYI, I am using Windows 7, LabVIEW 2011 and VIPM 2012 environment.

Typedef in Package Test.zip

Share this post


Link to post
Share on other sites

Hm - maybe it's something else. I just installed another package I'd created and got the same issue:

 

VIPM Linking Issue.png

 

and then I get a bunch of errors with my VIs, all related to the class abandoning its member VIs:

 

VIPM Linking Issue 2.png

 

I can send the package to you directly, but I can't attach it to a public forum.

Share this post


Link to post
Share on other sites

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.

Loading...

×
×
  • Create New...

Important Information

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