beckhoff — 7.2.1.48 SetFilter

Event HMI 7.2.1.47 putFont ITcEventView [ } 68] Method to modify the list views font. HRESULT putFont(BSTR faceName, long size, unsigned short flags); Parameters faceName [in] Name of the font to use. size [in] Size of the font. flags [in] Or junction of one or more of the following values: BOLD 0x1 ITALIC 0x2 UNDERLINE 0x4 STRIKEOUT 0x8 Return Values S_OK Function was successfully called Remarks The putFont method does not confirm to the standard COM interfaces. From languages like Visual Basic it is not usable. 7.2.1.48 SetFilter ITcEventView [ } 68] This method is used to set up a display filter. Then, the TcEventViewer will display events of the requested type only - e.g.

only alarms or events of a specified source. HRESULT SetFilter([in]TCEVENTVIEW_FILTER Filter, [in]VARIANT Value); Parameters Filter [in] Kind of filter to select. This value is defined through the TCEVENTVIEW_FILTER enum Value [in] Value to filter for. The following table shows which vartype is required for which filter TcEventLogger 109 Version: 1.1 Filter Vartype TCEVENTVIEW FILTER NONE _ _ Ignored TCEVENTVIEW FILTER CLASS _ _ TCEVENTVIEW FILTER SOURCEID _ _ TCEVENTVIEW FILTER ID _ _ Value convertable to Long (VT I4) _