removeEx2
[ Function ]
public static removeEx2(
symbolName: string,
options: TcHmi.Server.Historize.ISetting | null
requestOptions: TcHmi.Server.IRequestOptions | null,
callback?: null | ((this: void, data: TcHmi.IResultObject) => void)
): TcHmi.IErrorDetails;
Removes a symbol from the server's Historize configuration.
Parameter
Name | Type | Description |
---|---|---|
SymbolName | The name of the symbol. | |
options | Options | |
requestOptions | Server request options | |
callback [ optional ] | null | (data: TcHmi.IResultObject) => void | Asynchronous callback function that is triggered once the action is completed. |
Return value
Type | Description |
---|---|
Returns confirmation as to whether the operation was successfully sent. |
Available from version 1.10.670.0 |
Sample - JavaScript
TcHmi.Server.Historize.removeEx2('PLC1.MAIN.nInt2', {domain: 'TcHmiSqliteHistorize'}, {timeout: 2000}, function (data) {
if (data.error === TcHmi.Errors.NONE) {
// Success
} else {
// Error
}
});