|
|||||||||||||
Inspired by this post, and my own experience trying to debug a problem that only appeared when I compiled an RT executable, LabVIEW should warn the user when compiling a real-time application that contains property nodes that require access to the front panel, since those property nodes will not execute properly in an RT application and it can be very difficult to find the source of the problem if you don't know this.
Hi nathand,
Thanks for posting this suggestion. I'm in the process of developing a RT application checker that will look for common problems in Real-Time applications. Suggestions like these help me cover the most common problems.
I'm working on this as a side project, so I can't provide an exact timeline for when to expect the tool. When it's completed it will be posted on the DeveloperZone.
Regards,
Tanya V
LabVIEW Real-Time
Another forum question resulting from the use of property nodes on RT (this one didn't require the front panel, but should generate a compiler warning):
I wanted to write similar proposal beforeI found this one. I just spent few hours of debugging because of this. My application is rather complex so it took me a while to figure out what was happening. Some kind of warning would be great!
Thanks in advance!
Franjo
And yet another example of property nodes causing difficult-to-debug problems in an RT executable: http://forums.ni.com/t5/LabVIEW/cRIO-Troubleshooti
Ryan in AE is looking into the root cause of this, but I ran into an issue where I used a VI written for the PC that used the "Application Directory" primitive, which is not supported in RT (in at least one of the OS's, the primitive reports C:\ni-rt\startup\startup.rt.exe\ as the directory). Symptom: the cRIO would start running the startup.rtexe and then spontaneoulsy reboot. Would be nice if the "RT Application Checker" that Tanya is working on would also check for "Application Directory" useage. Note: Application Directory alone did not cause the crash... could be related to feeding the mangled path into Set Permissions.
You must be a registered user to add a comment here. If you've already registered, please log in. If you haven't registered yet, please register and log in.
My Profile | Privacy |
Legal |
Contact NI
© 2011 National Instruments Corporation. All rights reserved. | E-Mail this Page
|
||

E-Mail this Page