get_system_infoget_system_infoGetSystemInfoGetSystemInfoget_system_info (Operator)

Name

get_system_infoget_system_infoGetSystemInfoGetSystemInfoget_system_info — Get current value of system information without requiring a license.

Signature

get_system_info( : : Query : Information)

Herror get_system_info(const char* Query, Hlong* Information)

Herror T_get_system_info(const Htuple Query, Htuple* Information)

void GetSystemInfo(const HTuple& Query, HTuple* Information)

static HTuple HSystem::GetSystemInfo(const HTuple& Query)

static HTuple HSystem::GetSystemInfo(const HString& Query)

static HTuple HSystem::GetSystemInfo(const char* Query)

static HTuple HSystem::GetSystemInfo(const wchar_t* Query)   ( Windows only)

static void HOperatorSet.GetSystemInfo(HTuple query, out HTuple information)

static HTuple HSystem.GetSystemInfo(HTuple query)

static HTuple HSystem.GetSystemInfo(string query)

def get_system_info(query: MaybeSequence[str]) -> Sequence[Union[int, float, str]]

def get_system_info_s(query: MaybeSequence[str]) -> Union[int, float, str]

Description

The operator 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.

Execution Information

Parameters

QueryQueryQueryQueryqueryquery (input_control)  attribute.name(-array) HTupleMaybeSequence[str]HTupleHtuple (string) (string) (HString) (char*)

Desired system parameter.

Default: 'available_parameters' "available_parameters" "available_parameters" "available_parameters" "available_parameters" "available_parameters"

List of values: '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 (output_control)  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.

Result

The operator get_system_infoget_system_infoGetSystemInfoGetSystemInfoGetSystemInfoget_system_info returns the value 2 ( H_MSG_TRUE) if the parameters are correct. Otherwise an exception is raised.

See also

get_systemget_systemGetSystemGetSystemGetSystemget_system

Module

none