7 Teleservice Application Framework
User Manual 199/374
It's possible to select one of the following log mechanisms:
TIME_TRIGGERED:
Every ou32_LoggingInterval which can be set via ylogd_set_trigger_time (see "ylogd_set_trigger_time" on
page 200) function, a dataset will be written to the datalogger log file. In TIME_TRIGGERED mode the
ou32_SampleTime, which can be set via the function ylogd_create_log_job (see "ylogd_create_log_job" on
page 191), shall be set to ou32_LoggingInterval time.
TIME_AND_EVENT_TRIGGERED:
A dataset will be written to the datalogger log file, when the selected trigger time ou32_LoggingInterval is
reached and the chosen event condition(s) is(are) true. The trigger time can be set via the function
ylogd_set_trigger_time (see "ylogd_set_trigger_time" on page 200) and a condition can be added via the
function ylogd_set_event_condition (see "ylogd_set_save_condition" on page 207).
TIME_OR_EVENT_TRIGGERED:
A dataset will be written to the datalogger log file, when the selected trigger time ou32_LoggingInterval is
reached or the chosen event condition(s) is(are) true. If the event condition(s) is(are) true, the trigger time value
will be set to ou32_SampleTime until the event condition(s) is(are) false. The trigger time can be set via the
function ylogd_set_trigger_time (see "ylogd_set_trigger_time" on page 200), a condition can be added via the
function ylogd_set_event_condition (see "ylogd_set_save_condition" on page 207) and the sample time can be
set via the function ylogd_create_log_job (see "ylogd_create_log_job" on page 191).
EVENT_TRIGGERED:
In EVENT_TRIGGERED mode, a dataset will be written, when the condition(s) is(are) true. In
EVENT_TRIGGERED mode, the trigger time will be automatically set to ou32_SampleTime. A condition can be
added via the function ylogd_set_event_condition (see "ylogd_set_save_condition" on page 207) and the
sample time can be set via the function ylogd_create_log_job (see "ylogd_create_log_job" on page 191).
Information Flow
Input Information
holds all D-Bus information
maximum MAX_DL_NAME_LENGTH
pointer to the data log job name
-TIME_TRIGGERED (1)
-TIME_AND_EVENT_TRIGGERED(2)
-TIME_OR_EVENT_TRIGGERED (3)
-EVENT_TRIGGERED (4)
Value for the chosen logging mechanism.
Default value is "TIME_TRIGGERED"
If no log mechanism is set, the default behavior is "TIME_TRIGGERED".