Jump to content
photovalve

Deploying OOP to a PXI Chassis

Recommended Posts

Hello,

 

I am developing a PXI system and thought I would use OOP to do all the DAQmx calls for all the different cards in my chassis.  It all looks nice and neat and works a treat when running in LabVIEW 2013.  All my Network Shared Variables are updated on my host application and the host can happily control the PXI chassis.

 

However, as soon as I try and create an executable to run at startup the code stops working, it simply appears not to deploy.  There are no errors or warnings, the PXI executable simply no longer works.

 

I presume I am missing something simple, like a missed check box or an automated deploy command.

 

If anyone can see what I might be doing wrong then I'd be mighty grateful.

 

My class structure is fairly simple

 

LabVIEW Class >> DAQmx Class >> PXIe 6363 AI, PXIe 6363 DI, etc

 

Thanks

 

Malcolm

Share this post


Link to post
Share on other sites

There's not really enough info here to answer the question. Someone is likely going to have to replicate your system to figure out what's not set right. Contact your NI application engineer. 

Share this post


Link to post
Share on other sites

Thanks, I already have talked to NI UK but they haven't come back with a solution yet so I thought I'd try here.  Of course, it may be a complex problem but I was wondering if I'd simply missed something simple along the lines of "when you deploy classes to a PXI target always make sure you ...".

 

As it is I have removed the classes and gone back to classical LabVIEW which is a shame because I liked the code re-use it gave but it seems to be working now so I'll leave it for another day.

 

Thanks all.

Share this post


Link to post
Share on other sites

Are you using LabVIEW RT on the PXI chassis?

 

Do you have some sort of plugin architecture where the built exe does not have the required plugin in the right spot?

Edited by Neville D

Share this post


Link to post
Share on other sites

Neville, thanks for replying.  No I was not using any form of plugin architecture.  I've gone back to using normal LabVIEW so it works fine now.

 

Thanks.

Share this post


Link to post
Share on other sites

Have you tried making a debuggable executable and attempted to connect to it?

 

Also, have you right clicked and selected to deploy after you do the build? I assume so but it's worth asking.

Edited by GregFreeman

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.


×
×
  • Create New...

Important Information

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