get_spyget_spyGetSpyGetSpy (Operator)

Name

get_spyget_spyGetSpyGetSpy — Aktuelle Konfiguration des HALCON Debugging-Tool.

Signatur

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)   (Nur Windows)

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

static HTuple HSystem.GetSpy(string classVal)

Beschreibung

get_spyget_spyGetSpyGetSpyGetSpy liefert die aktuelle Konfiguration von spy, dem HALCON Debugging Tool. Die vorhandenen Überwachungsmodi (Wahlmöglichkeiten für ClassClassClassClassclassVal) sowie die zugehörigen Einstellmöglichkeiten (mögliche Werte für ValueValueValueValuevalue) können mittels query_spyquery_spyQuerySpyQuerySpyQuerySpy abgefragt werden. Eine detaillierte Beschreibung findet sich bei set_spyset_spySetSpySetSpySetSpy.

Ausführungsinformationen

Parameter

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

Überwachungsmodus

Defaultwert: 'mode' "mode" "mode" "mode" "mode"

Werteliste: 'db'"db""db""db""db", 'error'"error""error""error""error", 'input_control'"input_control""input_control""input_control""input_control", 'internal'"internal""internal""internal""internal", 'log_file'"log_file""log_file""log_file""log_file", 'mode'"mode""mode""mode""mode", 'operator'"operator""operator""operator""operator", 'output_control'"output_control""output_control""output_control""output_control", 'parameter_values'"parameter_values""parameter_values""parameter_values""parameter_values", 'time'"time""time""time""time"

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

Status des Überwachungsmodus.

Ergebnis

get_spyget_spyGetSpyGetSpyGetSpy liefert den Wert 2 (H_MSG_TRUE), falls der Parameter ClassClassClassClassclassVal korrekt ist. Ansonsten wird eine Fehlerbehandlung durchgeführt.

Vorgänger

reset_obj_dbreset_obj_dbResetObjDbResetObjDbResetObjDb

Siehe auch

set_spyset_spySetSpySetSpySetSpy, query_spyquery_spyQuerySpyQuerySpyQuerySpy

Modul

Foundation