get_spyget_spyGetSpyGetSpyget_spy (算子名称)
名称
get_spyget_spyGetSpyGetSpyget_spy — HALCON调试工具的当前配置。
参数签名
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 该算子
query_spyquery_spyQuerySpyQuerySpyQuerySpyquery_spy.
You will find a more detailed description under set_spyset_spySetSpySetSpySetSpyset_spy.
运行信息
- 多线程类型:可重入(与非独占操作符并行运行)。
- 多线程作用域:全局(可以从任何线程调用)。
- 未经并行化处理。
参数表
ClassClassClassClassclassValclass (input_control) string → HTuplestrHTupleHtuple (string) (string) (HString) (char*)
Control mode
Default:
'mode'
"mode"
"mode"
"mode"
"mode"
"mode"
List of values:
'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 (output_control) 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.
Otherwise an exception is raised.
可能的前置算子
reset_obj_dbreset_obj_dbResetObjDbResetObjDbResetObjDbreset_obj_db
参考其它
set_spyset_spySetSpySetSpySetSpyset_spy,
query_spyquery_spyQuerySpyQuerySpyQuerySpyquery_spy
模块
Foundation