Acquire Measurement Data via Dynamic DAQ Lists
This example shows how to can create a dynamic data acquisition list and assign measurements to the list. You can acquire data for measurements in this list from the server.
Create an XCP channel linked to an A2L file and connect it to the server.
a2lfile = xcpA2L('C:\work\XCPSIM.a2l'); xcpch = xcpChannel(a2lfile,'CAN','Vector','Virtual 1',1); connect(xcpch)
Create a DAQ list for the
'10 ms' event with
Start measurement activity.
Read 10 samples of data from the configured measurement
list for the
18 18 18 18 18 18 18 18 18 18