Write XCP Object

Gets access to variables and memory contents of ecu to write a value of specific measurement/characteristic

at runtime

Arguments Description

channel_name (str): switch the A2L file parsed the channel name could be ETH-OBD

a2l_object (str): the name of measurement/characteristic parsed from the A2l File

value_to_write (Any): this value needs to be in range [min,max] and respects the type from the A2L

ecu_name (str): the ecu name was got from the A2L file e.g.: “/begin MODULE New “, the most used “New”

is_raw_value (bool): by default set to true to write the raw value,; otherwise, False. to write the physical

value

Returns

bool: return True in case of needed value was updated and written in the memory; otherwise, False.

Example

${write_xcp}= Write XCP Object ${channel_name} ${a2l_object} ${1} ${ecu_name}