Write Complex XCP Object

Gets access to variables and memory contents of ecu to write a complex type 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 need to be in range [min,max] and respect the type from the A2L

ecu_name (str): the ecu name was got from the A2L file eg: “/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

|${value}= Create List ${0x01} ${0x02} ${0x03} | ${write_Complex_xcp}= Write Complex XCP Object ${channel_name} ${a2l_object} ${value} ${ecu_name}