get_spyget_spyGetSpyGetSpy (Operator)

Name

get_spyget_spyGetSpyGetSpy — Current configuration of the HALCON debugging-tool.

Signature

get_spy( : : Class : Value)

Herror get_spy(const char* Class, char* Value)

Herror T_get_spy(const Htuple Class, Htuple* Value)

void GetSpy(const HTuple& Class, HTuple* Value)

static HTuple HSystem::GetSpy(const HString& Class)

static HTuple HSystem::GetSpy(const char* Class)

static HTuple HSystem::GetSpy(const wchar_t* Class)   (Windows only)

static void HOperatorSet.GetSpy(HTuple classVal, out HTuple value)

static HTuple HSystem.GetSpy(string classVal)

Description

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

Execution Information

Parameters

ClassClassClassClassclassVal (input_control)  string HTupleHTupleHtuple (string) (string) (HString) (char*)

Control mode

Default value: 'mode' "mode" "mode" "mode" "mode"

List of values: 'button_click'"button_click""button_click""button_click""button_click", 'button_notify'"button_notify""button_notify""button_notify""button_notify", 'button_window'"button_window""button_window""button_window""button_window", 'button_window'"button_window""button_window""button_window""button_window", 'db'"db""db""db""db", 'error'"error""error""error""error", 'halt'"halt""halt""halt""halt", 'input_control'"input_control""input_control""input_control""input_control", 'input_gray_window'"input_gray_window""input_gray_window""input_gray_window""input_gray_window", 'input_region_window'"input_region_window""input_region_window""input_region_window""input_region_window", 'input_region_window'"input_region_window""input_region_window""input_region_window""input_region_window", 'internal'"internal""internal""internal""internal", 'log_file'"log_file""log_file""log_file""log_file", 'mode'"mode""mode""mode""mode", 'output_control'"output_control""output_control""output_control""output_control", 'parameter_values'"parameter_values""parameter_values""parameter_values""parameter_values", 'procedure'"procedure""procedure""procedure""procedure", 'timeout'"timeout""timeout""timeout""timeout"

ValueValueValueValuevalue (output_control)  string HTupleHTupleHtuple (string / integer / real) (string / int / long / double) (HString / Hlong / double) (char* / Hlong / double)

State of the control mode.

Result

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

Possible Predecessors

reset_obj_dbreset_obj_dbResetObjDbResetObjDbResetObjDb

See also

set_spyset_spySetSpySetSpySetSpy, query_spyquery_spyQuerySpyQuerySpyQuerySpy

Module

Foundation