メインコンテンツ

このページは機械翻訳を使用して翻訳されました。最新版の英語を参照するには、ここをクリックします。

freeMeasurementLists

XCPチャネルからすべての測定リストを削除します

説明

freeMeasurementLists(xcpch) は、指定された XCP チャネルから構成されたすべての測定リストを削除します。

すべて折りたたむ

2 つのデータ取得リストを作成し、それらを削除します。

A2L ファイルを解析し、それを XCP チャネルに接続するオブジェクトを作成します。

a2lfile = xcpA2L('XCPSIM.a2l')
xcpch = xcpChannel(a2lfile,'CAN','Vector','Virtual 1', 1);

チャネルをサーバー モジュールに接続します。

connect(xcpch)

'10 ms' イベントと 'PMW' 測定を含むデータ取得測定リストを設定します。

createMeasurementList(xcpch, 'DAQ', '10 ms', {'BitSlice0','PWMFiltered','Triangle'})

'100ms' イベントと 'PWMFiltered'、および 'Triangle' の測定値を含む別の測定リストを作成します。

createMeasurementList(xcpch, 'DAQ', '100ms', {'PWMFiltered','Triangle'})

測定リストの詳細を表示します。

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

測定リストを解放します。

freeMeasurementLists(xcpch)

入力引数

すべて折りたたむ

XCP チャネル。xcpChannel を使用して作成された XCP チャネル オブジェクトとして指定されます。XCP チャネル オブジェクトは、A2L ファイルで定義された指定されたサーバー モジュールと通信できるようになります。

バージョン履歴

R2013a で導入