Herror ::get_spy (
    const HTuple &Class,
    char *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 -> HTuple.char *
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 -> char * / long * / double *
State of the control mode.


Result

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


Possible Predecessors

::reset_obj_db


See also

::set_spy, ::query_spy


Module

System



Copyright © 1996-2002 MVTec Software GmbH