Skip to content

get_spyGetSpyGetSpyget_spyget_spy🔗

Short description🔗

get_spyGetSpyGetSpyget_spyget_spy — Current configuration of the HALCON debugging-tool.

Signature🔗

get_spy( string Class, out string Value )void GetSpy( const HTuple& Class, HTuple* Value )static void HOperatorSet.GetSpy( HTuple classVal, out HTuple value )def get_spy( class_val: str ) -> Union[str, int, float]

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

Herror T_get_spy( 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 HTuple HSystem.GetSpy( string classVal )

Description🔗

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

Execution information🔗

Execution information
  • Multithreading type: reentrant (runs in parallel with non-exclusive operators).

  • Multithreading scope: global (may be called from any thread).

  • Processed without parallelization.

Parameters🔗

ClassclassValclass (input_control) string → (string)HTuple (HString)HTuple (string)strHtuple (char*)

Control mode

Default: 'mode'"mode"
List of values: 'db', 'input_control', 'internal', 'log_file', 'mode', 'operator', 'output_control', 'parameter_values', 'time'"db", "input_control", "internal", "log_file", "mode", "operator", "output_control", "parameter_values", "time"

Valuevaluevalue (output_control) string → (string / integer / real)HTuple (HString / Hlong / double)HTuple (string / int / long / double)Union[str, int, float]Htuple (char* / Hlong / double)

State of the control mode.

Result🔗

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

Combinations with other operators🔗

Combinations

Possible predecessors

reset_obj_dbResetObjDb

See also

set_spySetSpy, query_spyQuerySpy

Module🔗

Foundation