Jump to content

Recommended Posts

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

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