freeMeasurementLists
Remove all measurement lists from XCP channel
Description
Examples
Free DAQ Lists
Create two data acquisition lists and remove them.
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.
connect(xcpch)
Set up a data acquisition measurement list with the '10 ms'
event and 'PMW'
measurement.
createMeasurementList(xcpch, 'DAQ', '10 ms', {'BitSlice0','PWMFiltered','Triangle'})
Create another measurement list with the '100ms'
event
and 'PWMFiltered'
, and 'Triangle'
measurements.
createMeasurementList(xcpch, 'DAQ', '100ms', {'PWMFiltered','Triangle'})
View details of the measurement lists.
viewMeasurementLists(xcpch)
DAQ List #1 using the "10 ms" event @ 0.010000 seconds and the following measurements: PWM DAQ List #2 using the "100ms" event @ 0.100000 seconds and the following measurements: PWMFiltered Triangle
Free the measurement lists.
freeMeasurementLists(xcpch)
Input Arguments
xcpch
— XCP channel
XCP channel object
XCP channel, specified as an XCP channel object created using xcpChannel
. The XCP channel object can then communicate with the
specified server module defined by the A2L file.
Version History
Introduced in R2013a
See Also
xcpA2L
| xcpChannel
| createMeasurementList
| viewMeasurementLists
MATLAB Command
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)
Asia Pacific
- Australia (English)
- India (English)
- New Zealand (English)
- 中国
- 日本Japanese (日本語)
- 한국Korean (한국어)