7.2.2.6 ActivateConfiguration
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] ConfigurationIdDataType internalId[out] Int32 error);| 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. |
| Attribute | Value | ||||
| BrowseName | ActivateConfiguration | ||||
| References | NodeClass | BrowseName | DataType | TypeDefinition | ModellingRule |
|---|---|---|---|---|---|
| HasProperty | Variable | InputArguments | Argument[] | PropertyType | Mandatory |
| HasProperty | Variable | OutputArguments | Argument[] | PropertyType | Mandatory |