11 Utilities Tools
User Manual
337/374
--dp_remove
Remove a TAF data pool.Only a data pool that has previously been created by command --dp_create can be
removed. The TAF data pool to be removed is identified by the name of the KEFEX project specified by config
option -p.
This command requires a running TAF ydatad daemon on the system
Mandatory config options: -p. Optional config options: none.
--dp_fill FILE
Read KEFEX variable values from a ECU and write it to the corresponding variable in a TAF data pool. The
TAF data pool shall have been created previously by command --dp_create. The content of FILE specifies a set
of variables from the KEFEX project that shall be read and its read cycle time. Additionally the command
checks the TAF datapool for updated values and writes this values to the ECU if access is granted by the
KEFEX project configuration and the settings in FILE. See command --dp_defcfg.
Mandatory config options: -i, -p. Optional config options: none.
--dp_defcfg FILE
Create a template configuration file to be used for command --dp_fill. It contains the list and variable name of all
variables / variable list ListName / single variable ListName.VarName and a default cycle time of -1 for each
variable. Additionally, the access right for each variable is added to the file. This setting is evaluated when a
variable shall be written from TAF datapool to the ECU and allows to prohibit write access to variables even if
the KEFEX project settings would allow this.
Format of FILE: One line per variable: <list name>.<variable name>;<cycle time>;<access right>.
Values for <cycle time>: -1: don't read variable; 0: read variable once; >0: read variable cyclically, cycle time in
milliseconds.
Values for <access right>: RW: Read/Write, RO: Read-only, WO: Write-only, NV: Not visible.
Mandatory config options: -p. Optional config options: --eeprom.
--make_xml FILE
Create a XML file containing the configuration of all variables / variable list ListName / single variable
ListName.VarName. The file is in the eiCab format.
Mandatory config options: -p. Optional config options: --eeprom.
--make_xdd FILE
Create a openPowerlink XDD file containing all variables / variable list ListName / single variable
ListName.VarName. The file is in the openPowerlink XDD format.
Mandatory config options: -p. Optional config options: --eeprom.
Exit Status
In case of an error the exit status is set to 1 and an error messages is printed to stderr.
In case of success the exit status is set to 0.
Examples
All following examples assume a KEFEX project sample.ksp and a ECU connected to CAN interface can0. The
CAN interface is assumed to be up and set to the correct bitrate.
Print list name, variable name and type of all variables in KEFEX project to stdout:
# kefex_client -p sample.ksp --show_type
Read command
Read RAM variable values of list System from ECU and print to stdout:
# kefex_client -p sample.ksp -i can0 -r System
Read RAM variable value of variable System.Id from ECU and print to stdout:
# kefex_client -p sample.ksp -i can0 -r System.Id
Read EEPROM variable values of list System from ECU and print to stdout:
# kefex_client -p sample.ksp -i can0 --eeprom -r System
Содержание TC1
Страница 1: ...TC1 User Manual Version of this document V1 00r0 ...
Страница 25: ...5 Hardware User Manual 25 374 5 2 2 Block Diagram Variant TC1 WIFI ...
Страница 34: ...5 Hardware User Manual 34 374 5 6 Housing Connector Top view and side view Bottom View ...
Страница 125: ...7 Teleservice Application Framework User Manual 125 374 TAF overview ...
Страница 174: ...7 Teleservice Application Framework User Manual 174 374 ADDRESS 6 SIZE 4 TYPE UINT32 UNIT COMMENT EnginePower ...
Страница 190: ...7 Teleservice Application Framework User Manual 190 374 How the logger mechanism works ...
Страница 223: ...7 Teleservice Application Framework User Manual 223 374 Association between logic hysteresis and threshold ...
Страница 293: ...8 Development Tools User Manual 293 374 3 Adapt the Build Options in order to build the binary with debug symbols ...
Страница 302: ...8 Development Tools User Manual 302 374 2 Adapt the Build Options in order to build the binary with debug symbols ...