Marc Blumentritt Posted June 30, 2009 Report Share Posted June 30, 2009 Hi, I tried to create a package consisting of custom probes. But since the VIs are placed inside a llb, which starts with an underscore, LabVIEW does not add these VIs as custom probes to my right-click menu. Therefore I would like to see the possibility to have more control over the final file names inside the package. Perhaps this could be an advanced setting inside the namespace options? And while we are at it, I would like to choose to install the VIs inside a folder instead of a llb. Regards, Marc Link to comment Share on other sites More sharing options...
Jim Kring Posted July 1, 2009 Report Share Posted July 1, 2009 Hi Marc, You're right that VI Package builder doesn't support the custom probes use case -- it was designed specifically for packaging up reusable VIs. However, I think that we might be able to help you. I think that you could create a post-build hook VI (download template here) that removes the underscore from the LLB file name. Take a look at the docs and let me know if you have any questions. I'd be happy to try to help you out, as I've got some experience with creating build hooks. Thanks, -Jim Link to comment Share on other sites More sharing options...
Marc Blumentritt Posted July 8, 2009 Author Report Share Posted July 8, 2009 I think that you could create a post-build hook VI (download template here) that removes the underscore from the LLB file name. Take a look at the docs and let me know if you have any questions. I'd be happy to try to help you out, as I've got some experience with creating build hooks. Using a hook VI was my first idea, too (s. attachment). It did not work for me. Any idea? Marc Remove_Underscore.vi Link to comment Share on other sites More sharing options...
Jim Kring Posted July 8, 2009 Report Share Posted July 8, 2009 Using a hook VI was my first idea, too (s. attachment). It did not work for me.Any idea? Marc Hi Marc, Thanks for posting this. I'll take a look and get back to you, shortly. Thanks, -Jim Link to comment Share on other sites More sharing options...
Jim Kring Posted July 10, 2009 Report Share Posted July 10, 2009 Using a hook VI was my first idea, too (s. attachment). It did not work for me.Any idea? Marc Hi Marc, Here's a post-build hook VI that should work for your custom probe package. It will remove the underscore from the LLB file inside the package. This is a bit of a hack, but it should work for you. Thanks, -Jim Remove_Underscore_from_LLB_Name_in_VI_Package.vi Link to comment Share on other sites More sharing options...
Marc Blumentritt Posted July 15, 2009 Author Report Share Posted July 15, 2009 Here's a post-build hook VI that should work for your custom probe package. It will remove the underscore from the LLB file inside the package. This is a bit of a hack, but it should work for you. Thanks! I will try it out, but I'm sure it will work Marc Link to comment Share on other sites More sharing options...
Jim Kring Posted February 6, 2010 Report Share Posted February 6, 2010 Hi Marc, It's been a while and I'm curious to hear back from you about whether this post-build hook allowed you to correctly install your custom probes package. Thanks, -Jim Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.