photovalve Posted February 1, 2014 Report Posted February 1, 2014 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 Quote
Aristos Queue Posted February 3, 2014 Report Posted February 3, 2014 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. Quote
photovalve Posted February 3, 2014 Author Report Posted February 3, 2014 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. Quote
Neville D Posted February 3, 2014 Report Posted February 3, 2014 (edited) 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 February 3, 2014 by Neville D Quote
photovalve Posted February 21, 2014 Author Report Posted February 21, 2014 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. Quote
GregFreeman Posted February 28, 2014 Report Posted February 28, 2014 (edited) 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 February 28, 2014 by GregFreeman Quote
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.