ITcPlcLibraryManager::SetEffectiveResolution

Sets the Effective Resolution, meaning the effective library, of a placeholder.

HRESULT SetEffectiveResolution(BSTR bstrPlaceholderName, BSTR strLibName,  BSTR bstrVersion, BSTR bstrDistributor);

In TwinCAT XAE, the Effective Resolution can be set via the Placeholder configuration window.

ITcPlcLibraryManager::SetEffectiveResolution 1:

Please note: The Default Resolution of a placeholder is set when the placeholder is added via ITcPlcLibraryManager::AddPlaceholder().

Parameters

bstrPlaceholderName

[in] Placeholder name for which the Effective Resolution should be set.

bstrLibName

[in] Library name for Effective Resolution.

bstrVersion

[in, optional, defaultvalue("")] Library version.

bstrDistributor

[in, optional, defaultvalue("")] Company which created the library.

Return Values

S_OK

Effective Resolution successfully set.