stopMeasurement
停止已配置的 DAQ 和 STIM 列表
说明
示例
停止 DAQ 测量
在虚拟通道上创建一个连接到 Vector CAN 设备的 XCP 通道。设置一个 DAQ 测量变量列表并启动和停止测量数据。
a2l = xcp2L('XCPSIM.a2l') xcpch = xcpChannel(a2lfile,'CAN','Vector','Virtual 1',1)
xcpch = Channel with properties: ServerName: 'CPP' A2LFileName: 'XCPSIM.a2l' TransportLayer: 'CAN' TransportLayerDevice: [1x1 struct] SeedKeyCallbackFcn: [] KeyValue: []
将通道连接到服务器模块。
connect(xcpch)
使用 '10 ms'
事件和 'Bitslice'
测量变量设置一个数据采集测量变量列表并开始测量。
createMeasurementList(xcpch,'DAQ','10 ms','BitSlice') startMeasurement(xcpch);
停止测量。
stopMeasurement(xcpch);
输入参数
xcpch
— XCP 通道
XCP 通道对象
XCP 通道,指定为使用 xcpChannel
创建的 XCP 通道对象。随后,该 XCP 通道对象可以与 A2L 文件定义的指定服务器模块通信。
版本历史记录
在 R2013a 中推出
另请参阅
MATLAB 命令
您点击的链接对应于以下 MATLAB 命令:
请在 MATLAB 命令行窗口中直接输入以执行命令。Web 浏览器不支持 MATLAB 命令。
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)