WWW.NNC.IR
Basic Knowledge For Macro Customize
Functions
251
5
Optimizing Scenes (Measurement Flows) (Macro Customize
Functions)
Vision System FH/FZ5 Series
User’s Manual (Z340)
An "Illegal function call" error
sometimes occurs when search
process unit measurement is
executed with the MeasureProc
function
It is possible that no objects
were found in the search
process.
An "Illegal function call" error occurs if there are 0
detections in the measurement process of the search
process unit executed with the MeasureProc function.
Use the Try - Catch - End Try function to create a
process that handles the occurrence of 0 detections in
the program.
Reference: XTry - Catch - End Try function (p.773)
Problem Cause Action