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 "
" 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 "
" 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 "
" on page 200) and a condition can be added via the
function ylogd_set_event_condition (see "
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 "
" on page 200), a condition can be added via the
function ylogd_set_event_condition (see "
" on page 207) and the sample time can be
set via the function ylogd_create_log_job (see "
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 "
sample time can be set via the function ylogd_create_log_job (see "
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 the data log job name
ou8_LogMechanism
-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"
NOTE:
If no log mechanism is set, the default behavior is "TIME_TRIGGERED".
Summary of Contents for TC1
Page 1: ...TC1 User Manual Version of this document V1 00r0 ...
Page 25: ...5 Hardware User Manual 25 374 5 2 2 Block Diagram Variant TC1 WIFI ...
Page 34: ...5 Hardware User Manual 34 374 5 6 Housing Connector Top view and side view Bottom View ...
Page 125: ...7 Teleservice Application Framework User Manual 125 374 TAF overview ...
Page 190: ...7 Teleservice Application Framework User Manual 190 374 How the logger mechanism works ...