DeviceDiagnosisInfo ¶ Helper funtctions and text lists used by the code generated by the device diagnosis generator. BUS_STATE_TO_STRING (Function) BUS_TYPE_TO_STRING (Function) BYTE_TO_HEXSTRING (Function) DEVICE_STATE_TO_STRING (Function) DEVICE_TYPE_TO_STRING (Function) DeviceDiagnosisInfo (FunctionBlock) BusState (Property) BusType (Property) CheckForCommands (Method) DeviceState (Property) DeviceType (Property) Initialize (Method) OnAfterOnlineChange (Method) ResetDevice (Method) StartDevice (Method) StopDevice (Method) LOWBYTE_TO_HEXSTRING (Function) TL_BUSSTATE (TextList) TL_BUSTYPE (TextList) TL_DEVICESTATE (TextList) TL_DEVICETYPE (TextList)
BUS_TYPE_TO_STRING (FUN) ¶ FUNCTION BUS_TYPE_TO_STRING : STRING Converts a DED.BUS_TYPE enumeration into a speaking string InOut: Scope Name Type Comment Return BUS_TYPE_TO_STRING STRING Input sState DED.BUS_TYPE The bus type to convert into a speaking string
BYTE_TO_HEXSTRING (FUN) ¶ FUNCTION BYTE_TO_HEXSTRING : STRING Converts a byte into the corresponding hexadecimal string InOut: Scope Name Type Comment Return BYTE_TO_HEXSTRING STRING Input byInp BYTE The byte to convert into a hexadecimal string
DEVICE_STATE_TO_STRING (FUN) ¶ FUNCTION DEVICE_STATE_TO_STRING : STRING Returns a DED.DEVICE_STATE enumeration as a speaking string InOut: Scope Name Type Comment Return DEVICE_STATE_TO_STRING STRING Input sState DED.DEVICE_STATE The device state to return as a speaking string
IDataLogChannel (ITF) ¶ INTERFACE IDataLogChannel EXTENDS AC.IModule, CmpEventMgr.ICmpEventCallback Properties: Enable UseHashValues Methods: GetAllDataLogVariables GetIsActionOngoing LogAll SetIsActionOngoing Structure: Enable (Property) GetAllDataLogVariables (Method) GetIsActionOngoing (Method) LogAll (Method) SetIsActionOngoing (Method) UseHashValues (Property)
IDataLogChannel.Enable (PROP) ¶ PROPERTY Enable : BOOL Whether this channel is enabled
IDataLogChannel.GetAllDataLogVariables (METH) ¶ METHOD GetAllDataLogVariables Get all Variables logged by this Channel InOut: Scope Name Type Output pDataLogInstList POINTER TO DataLogInstanceList uiNumList UINT
IDataLogChannel.GetIsActionOngoing (METH) ¶ METHOD GetIsActionOngoing : BOOL This method tries to get if this channel is currently active writing. ..return: If it was possible to get the current state of activity. If this is FALSE xIsActionOngoing is not valid! InOut: Scope Name Type Return GetIsActionOngoing BOOL Output xIsActionOngoing BOOL
IDataLogChannel.LogAll (METH) ¶ METHOD LogAll : BOOL After calling this method all variables logged by this channel create an entry InOut: Scope Name Type Return LogAll BOOL
IDataLogChannel.SetIsActionOngoing (METH) ¶ METHOD SetIsActionOngoing : BOOL This method tries to set that this channel is currently active writing. ..return: If it was possible to set the current state of activity. If this is FALSE xIsActionOngoing has not been set! InOut: Scope Name Type Return SetIsActionOngoing BOOL Input xIsActionOngoing BOOL