This method is used to activate a configuration from the configuration management of the vision system.
Since only a single configuration can be active at any time, this method shall deactivate any other configuration which may currently be active. From that point on until the next call to this method the vision system will conduct its operation according to the settings of the activated configuration.
Note that there is no way to deactivate a configuration except by activating another one to avoid having no active configuration on the system.
Signature
ActivateConfiguration ([in]ConfigurationIdDataTypeinternalId[out]Int32error);
Table 22 – ActivateConfiguration Method Arguments
Argument |
Description |
internalId |
Identification of the configuration used by the vision system. This argument must not be empty. |
error |
0 – OK Values > 0 are reserved for errors defined by this and future standards. Values < 0 shall be used for application-specific errors. |
Table 23 – ActivateConfiguration Method AddressSpace Definition
Attribute |
Value |
||||
BrowseName |
ActivateConfiguration |
||||
References |
NodeClass |
BrowseName |
DataType |
TypeDefinition |
ModellingRule |
HasProperty |
Variable |
InputArguments |
Argument[] |
PropertyType |
Mandatory |
HasProperty |
Variable |
OutputArguments |
Argument[] |
PropertyType |
Mandatory |