Write single sample to specified measurement
Create an XCP channel and write a single value
Triangle measurement directly to memory.
Link an A2L file to your session.
a2l = xcpA2L('XCPSIM.a2l')
Create an XCP channel and connect it to the slave module
xcpch = xcpChannel(a2lfile, 'CAN', 'Vector', 'Virtual 1', 1); connect(xcpch)
Write the value 10 to the
writeSingleValue(xcpch, 'Triangle', 10)
measurementName— Name of single XCP measurement
Name of a single XCP measurement specified as a character vector or
string. Make sure
measurementName matches the
corresponding measurement name defined in your A2L file.