resolveAttribute
[ Function ]
public resolveAttribute(
name: string,
callback?: (
(
this: void,
data: TcHmi.Symbol.IAttributesResultObject
) => void
)
): void;Returns a specific attribute from the schema of the corresponding symbol.
This function can be used to obtain a specific attribute of a PLC symbol.
Parameter
Name | Type | Description |
|---|---|---|
name | Name of the attribute. | |
callback [ optional ] | ((this: void, data: TcHmi.Symbol.IAttributeResultObject) => void) | This is triggered when the result is available. |
Return value
Type | Description |
|---|---|
void | No return value |
![]() | Available from version 1.12 |
