get_spy ( : : Class : Value )

Current configuration of the HALCON debugging-tool.

The operator get_spy returns the current configuration of spy, the HALCON debugging tool. The available control modes (possible choices for Class) as well as the corresponding tuning possibilities (possible values for Value) can be called up by using the operator query_spy. You will find a more detailed description under set_spy.


Parameters

Class (input_control)
string -> string
Control mode
Default value: 'mode'
List of values: 'mode', 'procedure', 'input_control', 'output_control', 'parameter_values', 'input_gray_window', 'output_gray_window', 'input_region_window', 'db', 'output_region_window', 'halt', 'timeout', 'button_window', 'button_window', 'button_click', 'button_notify', 'log_file', 'error', 'internal'

Value (output_control)
string -> string / integer / real
State of the control mode.


Result

The operator get_spy returns the value 2 (H_MSG_TRUE) if the parameter Class is correct. Otherwise an exception is raised.


Parallelization Information

get_spy is reentrant and processed without parallelization.


Possible Predecessors

reset_obj_db


See also

set_spy, query_spy


Module

System



Copyright © 1996-2005 MVTec Software GmbH