VisuUserMgmt.GetTextIdFromGroupID (METH) ¶ METHOD GetTextIdFromGroupID : DWORD InOut: Scope Name Type Return GetTextIdFromGroupID DWORD Input dwGroupID DWORD
GetVersionProperty (FUN) ¶ FUNCTION GetVersionProperty : VERSION This function has been automatically generated from the project information. InOut: Scope Name Type Return GetVersionProperty VERSION Input stKey WSTRING
Globals ¶ AlarmGlobals (GVL) AlarmParams (ParamList) AlarmTestConstants (GVL) ReturnValues (GVL)
AlarmGlobals (GVL) ¶ This GVL must be initialized before GVL “GloballyForAlarmStorage”, because this GVL causes the initialization of the variable g_stApplicationName. We only need the date and time format pattern for the converted code, therefore we can (and must!) omit the rest from conversion We must not use an attribute to hide this GVL, because there are some variables, that a developer might use. Additionally it is necessary, that this GVL in considered in the data server, but not visible for the user, because some variables of this GVL are added to the data source selection implicitely and for this purpose it is necessary, that this GVL is a part of the available items tree. InOut: Name Type Initial Comment g_AlarmHandler IAlarmHandler6 g_AlarmHandler_Inst CHECKED_OMIT g_AlarmHandlerBase IAlarmHandlerBase g_AlarmHandler_Inst CHECKED_OMIT g_AlarmHandlerRemoteMonitor IAlarmHandlerRemoteMonitor g_AlarmHandler_Inst CHECKED_OMIT g_diAlarmStateTransitionCounter DINT A global counter, that counts all the alarm state transitions, that occur. Needed by the alarm table for optimized painting. If this counter doesn’t change during subsequent paint calls, the same alarms have been active and in the same state. Conditional show attribute must not be present for this variable, because some architectural problems it can lead in a not correct regitration CHECKED_OMIT g_diAlarmStorageCounter DINT A similar counter, that will be incremented each time an alarm is written into the alarm storage. This allows the alarm table to detect, whether some kind of processing has to be done, because there exists a new alarm. Conditional show attribute must not be present for this variable, because some architectural problems it can lead in a not correct regitration CHECKED_OMIT g_ErrorHandler DatabaseAccessErrorHandler The only instance of DatabaseAccessErrorHandler, that does the error handling CHECKED_OMIT g_sDateFormat STRING ‘dd.MM.yyyy’ The date format used to format the date part of a timestamp g_sTimeFormat STRING ‘HH:mm:ss’ The time format used to format the date part of a timestamp g_iProxyQueueSizeHistoricalAlarm INT 300 The size of the queue used by proxies where to read the information of remote historical alarms during the communication via datasource. This number determines the bandwith of the communication. CHECKED_OMIT g_iProxyQueueSizeActiveHistoricalAlarm INT 100 The size of the queue used by proxies where to read the information of remote historical alarms still active during the communication via datasource. This number determines the bandwith of the communication. CHECKED_OMIT g_xPlaceholderReplacementForMessageSorting BOOL FALSE This flag indicates, whether the placeholders have to be replaced when sorting historic alarm by the alarm message g_iAlarmStorageClear INT Counts the times when the alarm table has been deleted. CHECKED_OMIT g_AlarmLocalStorageLimit AlarmStorageLimit This instance manages the limit of alarms that can be kept in memory, e.g. for sorting purposes. g_StorageTaskInfo StorageTaskInfo Info object for the alarm storage task. Contains information about task state and cycle times. g_AlarmAlloc Allocator fb for the allocator, to allocate memory
SwapLword (FUN) ¶ FUNCTION SwapLword InOut: Scope Name Type Inout lw LWORD
SwapWord (FUN) ¶ FUNCTION SwapWord InOut: Scope Name Type Inout wd WORD
Timestamp_to_DT (FUN) ¶ FUNCTION Timestamp_to_DT : DATE_AND_TIME This function converts “Timestamp” to “DT” (UTC value). InOut: Scope Name Type Comment Return Timestamp_to_DT DT Input tsValue Timestamp Value to convert
deprecated ¶ FormatTimestamp (Function)
FormatTimestamp (FUN) ¶ FUNCTION FormatTimestamp Takes a SYSTIME value and formats it. If the SYSTIME value is 0, an empty string is used as result. InOut: Scope Name Type Comment Input liTimestamp Timestamp The timestamp to format cbsResult REFERENCE TO CharBufferString The string, where the result will be stored
GetBooleanProperty (FUN) ¶ FUNCTION GetBooleanProperty : BOOL This function has been automatically generated from the project information. InOut: Scope Name Type Return GetBooleanProperty BOOL Input stKey WSTRING