PXI

cancel
Showing results for 
Search instead for 
Did you mean: 

PXI RT - development system fine, but built runtime app fails!

Greetings All,
 
I seem to be experiencing a problem with the LabVIEW RT application builder (LV development system version 8.2)
 
First, I should mention that my RT vision application has been working just fine with LV RT 8.0 -- the built application functions as expected.
 
However, I recently upgraded my development system from LV 8.0 to LV 8.2, to take advantage of some of the newest features on the PC (client) side. Now, the upgraded version works fine from within the LV 8.2 development environment, but the 'built' RT executable doesn't work. The built application appears to start normally (as indicated by the appearance of my custom "splash screen" on the RT monitor), but it doesn't progress past the initialization phase.
 
Let me stress once again that it works fine when running under the development system, and fails only when running under the RT runtime engine. Let me also clarify that the problem only pertains to the RT (host) component of the application. The PC (client) component works just fine under both, the development system, and as a built app.
 
It may be useful to note that my application makes extensive use of the new shared variables, and previous attempts to build the application under LV 8.0.1 also caused difficulties. (At the time, NI support engineers suggested that I revert to LV 8.0 or promote all of the shared variables to the top-level VI diagram. Rather than redesigning my application with one, HUGE top-level diagram, I chose to revert to 8.0.) 
 
Has anyone else experienced problems building RT start-up applications from inside the LV 8.2 Project? Also, can anyone (-- perhaps someone from inside NI..?) verify whether or not the outstanding shared variable/app builder problems from 8.0.1 have been resolved in 8.2?
 
It would be difficult now to revert our application to 8.0 as the HMI portion (PC-side of the app, which appears to build without problems) now takes advantages of a couple of the new 8.2 technologies. However, one of our installations (at a customer site!!) has been down for over a week now, and we really need a solution to this -- and fast!   
 
Thanks in advance for any hints or tips.
 
Cheers,
 
D.
 
 
Message 1 of 5
(4,537 Views)
Hey DAQ Dude,
    Did you check the build specification settings?  I know at least a couple of the default values changed between 8.0 and 8.2, perhaps those settings are causing issues with your real-time application build.
Brian B
Account Manager
National Instruments
0 Kudos
Message 2 of 5
(4,516 Views)

HI DAQ Dude,

 

I'm curious to know if you solved your problem, as I'm having the same type of issue where the code runs fine in the development environment, but start and then freezes as a RT start up?

 

Any help would be great.

 

Thanks,


Greg

0 Kudos
Message 3 of 5
(3,934 Views)

Hi GregY,

 

Welcome to the forums! Do you have the same specs as DAQ Dude? Also, can you give more details about the problem? Can you discuss what debugging steps you have conducted?

Joshua B.
National Instruments
0 Kudos
Message 4 of 5
(3,922 Views)

Hello GregY,

 

I struggled with this problem under 8.2, but after upgrading to LV RT 8.5.1 it seemed much better. The PXI still locks up occassionally after running for several days,but I doubt this is related. (My feeling is that the remaining problems may have something to do with memory fragmentation, or perhaps a small memory leak that eventually starves out my application -- although this is purely speculation on my part.)

 

While I have recently installed LV 8.6 on my test PC, I still haven't made the jump to 8.6 for the PXI, so I can't comment on whether this is better still than 8.5.1. As it stands, version 8.5.1 runs reasonably well and we have a field installation based on 8.5.1, so I guess we are waiting for a compelling reason to migrate up to 8.6. (We have been burned in the upgrade process before, so if you have something that works adequately well, you learn to live with the minor quirks.)

 

To summarize, I guess my advice to you would be this: If you are still running LV RT 8.2, try upgrading to 8.5.1 or perhaps 8.6 and see if that solves your problems. If you are unable to upgrade at this time, I apologize that I have nothing more useful to offer.

 

D.

0 Kudos
Message 5 of 5
(3,915 Views)