ExportEvents
function ExportEvents(
ctx: SelectableRequired<TcHmi.Context<void>, 'success' | 'error'>,
filter?: Filter | null,
filename?: string,
): voidExports one, several or all events of a server. This must be triggered by a user interaction (not when loading or changing a symbol).
Parameter
Name | Type | Description |
|---|---|---|
ctx | SelectableRequired<TcHmi.Context<void>, 'success' | 'error'> | An object that contains functions for Success and Error. |
filter | The filter to be used for the export. If this is an empty array, all events are exported. | |
filename | The file name for the exported file. If this value is zero/not set, a default name is used. |
Return value
Type | Description |
|---|---|
- | - |
![]() | Available from version 1.12 |
