EasyManua.ls Logo

STW TC1 - Page 212

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 212/374
Return Value
Description
can not read data logger configuration,
can not allocate space
can not start child process
can not get on the bus
C_RANGE
opcn_LogJobName is out of range
7.3.6.2.10 ylogd_set_log_file_cmd
Function Description
sint32 ylogd_set_log_file_cmd (const T_DBUS_Util * const opt_DBusInstance,
const charn * const opcn_LogJobName,
const charn * const opcn_Command)
The function the log file completion command.
When a log file is created due to log file management, the given command will be executed. If the command
contains the string defined by FORMATTER_FILENAME, then that portion of the command will be replaced by
the full path name of the created log file.
Information Flow
Input Information
Parameter
Range
Description
opt_DBusInstance
T_DBUS_Util
holds all D-Bus information
opcn_LogJobName
maximum
MAX_DL_NAME_LENGTH
pointer to log job name
opcn_Command
maximum
MAX_DL_COMMAND_LENGTH
pointer to the command to execute
Structure T_DBUS_Util
typedef struct
{
DBusConnection* pt_dbus_conn; // D-BUS connection instance
charn acn_myNameString[128]; // Name of the application, Don't use any
special
// characters, white spaces or new lines!
charn acn_myVersion[128]; // Additional value (for HELLO) signal (opt.)
charn acn_myStatus[128]; // Additional value (for HELLO) signal (opt.)
charn acn_myAddInfo[512]; // Additional value (for HELLO) signal (opt.)
sint32 s32_myTriginterval; // Time interval when the ysysd

Table of Contents