The Method SetDetectionMode enables or disables the defect detection sensor.
The signature of this Method is specified below. Table 61 specifies the Arguments representation.
Signature
SetDetectionMode (
[in] 0:Boolean Enable,
[out] MethodExecutionFeedbackType ExecutionFeedback);
Table 61 – SetDetectionMode Method Arguments
| 
 Argument  | 
        
 Description  | 
| 
 Enable  | 
        
 Specifies if the method enables, when True, or disables, when False, the sensor function.  | 
| 
 ExecutionFeedback  | 
        
 The extended feedback returning a detailed message in case of execution failure.  | 
The Method SetDetectionMode sets the DetectionMode of the sensor function and of its components, i.e. the defect reasons.