Charles Chickering Posted February 3, 2011 Report Share Posted February 3, 2011 I have inherited an architecture that uses LabVIEW classes to call our instrument drivers. My users write tests that call these vi's and the architecture provides a framework that calls the user's VI dynamically with settings loaded in from an Excel spreadsheet. I am not allowed to change the overall architecture of the project due to the time it would take for everyone to rewrite their code. My task is to get our architecture built into an executable which was never a requirement when the original coder wrote this architecture. Additionally, the built executable must dynamically call the user's vi so that the application does not have to be rebuilt every time a user writes a new test. The problem that I am having is that I always get error 7 when I try to call a dynamic dispatch VI. I have read a lot of forum posts about this error and they tell you to include the class files in the build and check the enable debugging but this won't help me. My application doesn't know anything about the LabVIEW classes, I am simply calling the user's vi which is calling the class vi. In the development environment, this error is fixed by having a project open with the class inside it, but in the executable I can't seem to make it work. Also, I am limited to LabVIEW 8.5.1 (with a very minor chance of switching to 8.6.1 if it fixes this issue). I appreciate any help ya'll can give and I can send code via email if needed. Thanks, Charles Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.