Write a Single Value
This example shows how to write a single value by name. The value is written directly to memory.
Create an XCP channel linked to an A2L file.
a2lfile = xcpA2L('C:\work\XCPSIM.a2l'); xcpch = xcpChannel(a2lfile,'CAN','Vector','Virtual 1',1);
Connect the server.
connect(xcpch)
Write a single value.
writeSingleValue(xcpch,'Triangle',50)