I have a single script that calls many other scripts for reporting processes on equipment and building reports. Sometimes the data coming off the process tools includes errors that JMP cannot handle. So I have wrapped the calls in a Try() function like this:
For(ii=1, ii < nitems(BulkScriptsToRun), ii++,
try(
Include( BulkScriptsToRun[ii] );
);
);
Sometimes the included script does not crash, but neither does it finish.
While this could probably be fixed by editing the script and how it processes the data - they are not my scripts to edit.
Is there a way to have the try function consider the try a failure if it takes more than 1 hour, for example?
Is there another way to achieve this? Is there a way to tell the Try() that is should give up?
Thanks