03-18-2019 06:18 AM
I would like to intercept and handle the memory full error coming from the run-time, e.g. from an array allocation. The RT watchdog will take care of rebooting my application, but I would like to have the chance to intercept it. Eventually in another thread/CPU core.
Thanks,
-E
03-19-2019 05:52 AM
Hi,
as a starting point, you could find the following document useful: Why Do I Get a Memory Full Error When Deploying Code to My Real-Time Controller? (and links therein).
Regards,
Alessia
03-19-2019 06:36 AM
Thanks. We do not have Memory Full errors, and we are able to monitory our memory usage under NI-RT, but, in case of a possible Memory Full error we do not like to have the Dialog Box shown.
@alamanna ha scritto:
Hi,
as a starting point, you could find the following document useful: Why Do I Get a Memory Full Error When Deploying Code to My Real-Time Controller? (and links therein).
Regards,
Alessia
03-19-2019 07:53 AM - edited 03-19-2019 07:54 AM
Hi,
if you don't want the error dialog box to be shown, you should disable automatic error handling by removing the checkmark from the Enable automatic error handling checkbox (VI Properties, Execution Page).
Manual error handling shouldn't be used neither: don't connect the error wire to the Simple Error Handler VI.
Regards,
Alessia