EasyManua.ls Logo

STW TC1 - Page 196

STW TC1
374 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
7 Teleservice Application Framework
User Manual 196/374
charn acn_myAddInfo[512]; // Additional value (for HELLO) signal (opt.)
sint32 s32_myTriginterval; // Time interval when the ysysd
// expects to be triggered
charn acn_myCMDOnWatchdog[2048]; // Bash cmd that must be executed
// by the ysysd in case no
// trigger signal occurred in time.
} T_DBUS_Util;
Output Information
Return Value
Description
C_NO_ERR
Function executed without error
variable successfully added to the logger file (.dlc)
C_COM
D-Bus communication error
C_UNKNOWN_ERR
NULL pointer error or wrong parameters
C_NOACT
Error occurs because logger job, data pool, variable list or variable name is invalid,
received values are corrupt, data logger configuration does not exist or is corrupt
or logger already initialized
C_RANGE
Parameters are out of range
Example
// Global module
T_DBUS_Util mt_DBUS_Util;
sint32 s32_Retval;
s32_Retval = ylogd_add_log_variable (&mt_DBUS_Util, "TC3_Logger", "MyDatapool", "GPSDates",
"Longitude", 5);
if (s32_Retval == C_NO_ERR)
{
// Go on
}

Table of Contents