get_spyget_spyGetSpyGetSpyget_spy (算子)

名称

get_spyget_spyGetSpyGetSpyget_spy — HALCON 调试工具的当前配置。

签名

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)

def get_spy(class_val: str) -> Union[str, int, float]

描述

算子 get_spyget_spyGetSpyGetSpyGetSpyget_spy returns the current configuration of spy, the HALCON debugging tool. The available control modes (possible choices for ClassClassClassClassclassValclass) as well as the corresponding tuning possibilities (possible values for ValueValueValueValuevaluevalue) can be called up by using the operator query_spyquery_spyQuerySpyQuerySpyQuerySpyquery_spy。You will find a more detailed description under set_spyset_spySetSpySetSpySetSpyset_spy

执行信息

参数

ClassClassClassClassclassValclass (输入控制)  string HTuplestrHTupleHtuple (string) (string) (HString) (char*)

Control mode

默认值: 'mode' "mode" "mode" "mode" "mode" "mode"

值列表: 'db'"db""db""db""db""db", 'error'"error""error""error""error""error", 'input_control'"input_control""input_control""input_control""input_control""input_control", 'internal'"internal""internal""internal""internal""internal", 'log_file'"log_file""log_file""log_file""log_file""log_file", 'mode'"mode""mode""mode""mode""mode", 'operator'"operator""operator""operator""operator""operator", 'output_control'"output_control""output_control""output_control""output_control""output_control", 'parameter_values'"parameter_values""parameter_values""parameter_values""parameter_values""parameter_values", 'time'"time""time""time""time""time"

ValueValueValueValuevaluevalue (输出控制)  string HTupleUnion[str, int, float]HTupleHtuple (string / integer / real) (string / int / long / double) (HString / Hlong / double) (char* / Hlong / double)

State of the control mode.

结果

算子 get_spyget_spyGetSpyGetSpyGetSpyget_spy 返回值 2 ( H_MSG_TRUE) if the parameter ClassClassClassClassclassValclass is correct.否则将抛出异常。

可能的前趋

reset_obj_dbreset_obj_dbResetObjDbResetObjDbResetObjDbreset_obj_db

另见

set_spyset_spySetSpySetSpySetSpyset_spy, query_spyquery_spyQuerySpyQuerySpyQuerySpyquery_spy

模块

基础