get_system_infoget_system_infoGetSystemInfoGetSystemInfoget_system_info (算子)
名称
get_system_infoget_system_infoGetSystemInfoGetSystemInfoget_system_info — 无需许可证即可获取系统信息的当前值。
签名
def get_system_info(query: MaybeSequence[str]) -> Sequence[Union[int, float, str]]
def get_system_info_s(query: MaybeSequence[str]) -> Union[int, float, str]
描述
算子 get_system_infoget_system_infoGetSystemInfoGetSystemInfoGetSystemInfoget_system_info returns information concerning the
currently activated HALCON system parameters. Unlike the very similar
get_systemget_systemGetSystemGetSystemGetSystemget_system, get_system_infoget_system_infoGetSystemInfoGetSystemInfoGetSystemInfoget_system_info can be called without a valid
license.
get_system_infoget_system_infoGetSystemInfoGetSystemInfoGetSystemInfoget_system_info supports a subset of the parameters supported by
get_systemget_systemGetSystemGetSystemGetSystemget_system。The list of available parameters can be obtained by
calling get_system_infoget_system_infoGetSystemInfoGetSystemInfoGetSystemInfoget_system_info with the parameter
'available_parameters'"available_parameters""available_parameters""available_parameters""available_parameters""available_parameters". For more information about the parameters,
please refer to the reference documentation of get_systemget_systemGetSystemGetSystemGetSystemget_system and
set_systemset_systemSetSystemSetSystemSetSystemset_system。
执行信息
- 多线程类型:可重入(与非独占算子并行运行)。
- 多线程作用域:全局(可从任何线程调用)。
- 未采用并行化处理。
参数
QueryQueryQueryQueryqueryquery (输入控制) attribute.name(-array) → HTupleMaybeSequence[str]HTupleHtuple (string) (string) (HString) (char*)
Desired system parameter.
默认值:
'available_parameters'
"available_parameters"
"available_parameters"
"available_parameters"
"available_parameters"
"available_parameters"
值列表:
'3d_model_dir'"3d_model_dir""3d_model_dir""3d_model_dir""3d_model_dir""3d_model_dir", 'available_license_files'"available_license_files""available_license_files""available_license_files""available_license_files""available_license_files", 'available_parameters'"available_parameters""available_parameters""available_parameters""available_parameters""available_parameters", 'bundle_version'"bundle_version""bundle_version""bundle_version""bundle_version""bundle_version", 'byte_order'"byte_order""byte_order""byte_order""byte_order""byte_order", 'current_license_info'"current_license_info""current_license_info""current_license_info""current_license_info""current_license_info", 'disabled_operators'"disabled_operators""disabled_operators""disabled_operators""disabled_operators""disabled_operators", 'edition'"edition""edition""edition""edition""edition", 'example_dir'"example_dir""example_dir""example_dir""example_dir""example_dir", 'expiration_date'"expiration_date""expiration_date""expiration_date""expiration_date""expiration_date", 'failed_license_rechecks'"failed_license_rechecks""failed_license_rechecks""failed_license_rechecks""failed_license_rechecks""failed_license_rechecks", 'file_version'"file_version""file_version""file_version""file_version""file_version", 'halcon_64'"halcon_64""halcon_64""halcon_64""halcon_64""halcon_64", 'halcon_arch'"halcon_arch""halcon_arch""halcon_arch""halcon_arch""halcon_arch", 'halcon_dir'"halcon_dir""halcon_dir""halcon_dir""halcon_dir""halcon_dir", 'halcon_xl'"halcon_xl""halcon_xl""halcon_xl""halcon_xl""halcon_xl", 'help_dir'"help_dir""help_dir""help_dir""help_dir""help_dir", 'hostids'"hostids""hostids""hostids""hostids""hostids", 'hostname'"hostname""hostname""hostname""hostname""hostname", 'image_dir'"image_dir""image_dir""image_dir""image_dir""image_dir", 'is_license_valid'"is_license_valid""is_license_valid""is_license_valid""is_license_valid""is_license_valid", 'language'"language""language""language""language""language", 'last_update'"last_update""last_update""last_update""last_update""last_update", 'library_fullname'"library_fullname""library_fullname""library_fullname""library_fullname""library_fullname", 'licensed_hostid'"licensed_hostid""licensed_hostid""licensed_hostid""licensed_hostid""licensed_hostid", 'licensed_modules'"licensed_modules""licensed_modules""licensed_modules""licensed_modules""licensed_modules", 'licensed_version'"licensed_version""licensed_version""licensed_version""licensed_version""licensed_version", 'operating_system'"operating_system""operating_system""operating_system""operating_system""operating_system", 'operating_system_version'"operating_system_version""operating_system_version""operating_system_version""operating_system_version""operating_system_version", 'parallel_halcon'"parallel_halcon""parallel_halcon""parallel_halcon""parallel_halcon""parallel_halcon", 'product_edition'"product_edition""product_edition""product_edition""product_edition""product_edition", 'revision'"revision""revision""revision""revision""revision", 'unlicensed_operators'"unlicensed_operators""unlicensed_operators""unlicensed_operators""unlicensed_operators""unlicensed_operators", 'version'"version""version""version""version""version"
InformationInformationInformationInformationinformationinformation (输出控制) attribute.value(-array) → HTupleSequence[Union[int, float, str]]HTupleHtuple (integer / real / string) (int / long / double / string) (Hlong / double / HString) (Hlong / double / char*)
Current value of the system parameter.
结果
算子 get_system_infoget_system_infoGetSystemInfoGetSystemInfoGetSystemInfoget_system_info 在参数正确时返回值 2 ( H_MSG_TRUE )。否则将抛出异常。
另见
get_systemget_systemGetSystemGetSystemGetSystemget_system
模块
无