select
Create reader for selected subset of ADTF DAT file data
Syntax
描述
Use theselect
object function to create a reader for a selected subset of stream data to read from the ADTF DAT file. You can select streams using either the stream indices or stream name. Additionally, you can specify an index range or time range of data, to select from each of the specified streams. Theselect
function returns anadtfStreamReader
目的,which you can use to read data from the selected streams in the ADTF DAT file.
creates anstreamReader
= select(adtfReader
)adtfStreamReader
目的,streamReader
,可以从汽车数据和时间触发的框架(ADTF)DAT文件中读取所有流中的数据adtfFileReader
objectadtfReader
.
使用流索引从ADTF DAT文件指定流的子集streamReader
= select(adtfReader
,streamIndices
)streamIndices
.
使用流名称从ADTF DAT文件指定数据流streamReader
= select(adtfReader
,streamName
)streamName
.
specifies an additional option using onestreamReader
= select(___,Name=Value)Name=Value
除了先前语法的输入参数的任何组合外,对参数。您必须仅使用一个名称值参数,指定从所选流中读取的索引范围或时间范围。例如,IndexRange=[1 30]
selects the first thirty frames of data from each selected stream.