Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

General Error Handler CORE

Hello,
 
with RT 8.0 we have some strange behaviour of the General Error Handler CORE.
 
The General Error Handler CORE regularily shows up with "unsaved changes" when building/... a project, obviously depending on whether it thinks it was used for a host or RT build last time. And, even worse, its sub-vi Not Found Dialog.vi ends up ih a build error when building an RT target, although it should not be called in an RT target without user interface!
 
The only work around that I currently know of is closing the project and re-open it again. This typically (but not necessarily) helps ...
 
What am I doing wrong, or is this a bug?
 
Regards,
 
schi
  
0 Kudos
Message 1 of 9
(6,502 Views)
The short answer is yes, the need to resave General Error Handler CORE.vi is an issue we know about in 8.0.  However, getting a build error is unexpected.
 
Your hunch is right -- the VI must be recompiled for an RT target vs. the host.  The reason is that there is a Conditional Disable structure in that VI causing it to be recompiled (and therefore need saving).  It's related to your second comment -- removing the unsupported UI elements from the VI when run under RT, including Not Found Dialog.vi. 
 
Could your provide more specific information on what error are you getting (and when)?  Downloading a VI containing the General Error Handler or Building the Real-Time application that uses it should have asked you to save the General Error Handler CORE.vi, allowing everything to work properly. 
Message 2 of 9
(6,491 Views)

Hello Jack,

 

Thanks for the fast response.

 

Enclosed is the error that I get. It is a build error when building the RT program of the project. Requests for saving the General Error Handler CORE come up frequently, even if I cannot remember any change of the target.

 

Hope it helps - the errors are really annoying.

 

Regards,

 

schi

0 Kudos
Message 3 of 9
(6,486 Views)
I am getting the exact same results when I build my Real-Time application using RT 8.0.1:

An error occurred while building the following file:

C:\Program Files\National Instruments\LabVIEW 8.0\vi.lib\Utility\error.llb\Not Found Dialog.vi


The only solution I have found is to keep trying to build it until the error doesn't appear.

Has anyone found a fix for this? Thanks.
0 Kudos
Message 4 of 9
(6,325 Views)

Hi Shaun and schi,

I would like to try and reproduce this here at NI, can you make a zip file in your projects that will reproduce the problem? If not, can you send over your General Error Handler CORE.vi so I can try it out?

Shaun, any idea under what condition you can build without the error?

Thanks,

Richard

Product Support Engineer, LabVIEW Real-Time

Richard

Field Sales Engineer, New Jersey
National Instruments
0 Kudos
Message 5 of 9
(6,300 Views)

You can put the code on ftp.ni.com/incoming, and let me know the filenames.

Richard

Richard

Field Sales Engineer, New Jersey
National Instruments
0 Kudos
Message 6 of 9
(6,294 Views)
I have uploaded a project that reproduces the problem on my system. The filename is: RT-BuildError-Example.zip

Out of 5 build attempts in project explorer, 3 failed with the same message. I have included a screen shot.

My target is a networked cFieldPoint (2120) running a Real-Time embedded application. Labview 8 and RT 8.0.1.

Thanks for the help, and let me know if you need any more information.

-Shaun
0 Kudos
Message 7 of 9
(6,292 Views)
Thanks for uploading the project and files. We have begun working on this issue for the next version of LabVIEW. Also we have worked on the dialog boxes asking to save the General Error Handler. In the future, please default to saving them every time.
 
Continue to use your workaround and please post here or contact support if the problem exacerbates.
 
Richard
 
Richard

Field Sales Engineer, New Jersey
National Instruments
0 Kudos
Message 8 of 9
(6,252 Views)

Hello All:

   The following link that was just updaed might be useful for handling the save changes warning.

 http://digital.ni.com/public.nsf/websearch/0458B73E4A7CFC0A8625727300749A77?OpenDocument

Thanks
Avi

0 Kudos
Message 9 of 9
(5,528 Views)