AdsClient.CreateVariableHandle Method
Determines the Symbol handle by its instance path synchronously.
Namespace: TwinCAT.Ads
Assembly: TwinCAT.Ads (in TwinCAT.Ads.dll)
Version: 6.0.328+39e3229
Syntax
C#
public uint CreateVariableHandle(
string symbolPath
)
Parameters
symbolPath |
Type: System.String |
Return Value
Type: UInt32
The symbols/variable handle
Remarks
It is a good practice to release all variable handles after use to regain internal resources in the TwinCAT subsystem. The composite method to this CreateVariableHandle(String) is the DeleteVariableHandle(UInt32)