Read single sample of specified measurement from memory
Acquire a Single Value for Triangle Measurement
Read a single value from a
Create an object to parse an A2L file and connect that to an XCP channel.
a2lfile = xcpA2L('XCPSIM.a2l') xcpch = xcpChannel(a2lfile,'CAN','Vector','Virtual 1',1);
Connect the channel to the server module.
Acquire data for the
value = readSingleValue(xcpch,'Triangle')
value = 14
measurementName — Name of single XCP measurement
character vector | string
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.
Introduced in R2013a