Read text-file
2 ビュー (過去 30 日間)
古いコメントを表示
How to code this?
All text and data can be placed in a struck-array. Data of course formated as num.
#Header
FileFormatVersion: 2
Timestamp: 2019-11-26T17:31:19Z
InstrumentType: AvaTrace M80
InstrumentId: 3225
TriggedMeasurementIndex: 1259
Channel1Active: on
Channel1MeasurementQuantity: Velocity
Channel1MeasurementUnit: mm/s
Channel1SampleCount: 116100
Channel1SampleRate: 6000
Channel1WaveformSource: raw
Channel1MaxDisplacement: 0.000
Channel1MaxVelocity: 0.000
Channel1MaxAcceleration: 0.000
Channel1DomZCFreq: 39.881
Channel2Active: on
Channel2MeasurementQuantity: Velocity
Channel2MeasurementUnit: mm/s
Channel2SampleCount: 116100
Channel2SampleRate: 6000
Channel2WaveformSource: raw
Channel2MaxDisplacement: 0.000
Channel2MaxVelocity: 0.000
Channel2MaxAcceleration: 0.000
Channel2DomZCFreq: 6.566
Channel3Active: on
Channel3MeasurementQuantity: Velocity
Channel3MeasurementUnit: mm/s
Channel3SampleCount: 116100
Channel3SampleRate: 6000
Channel3WaveformSource: raw
Channel3MaxDisplacement: 0.000
Channel3MaxVelocity: 0.000
Channel3MaxAcceleration: 0.000
Channel3DomZCFreq: 39.907
Channel4Active: off
Channel4MeasurementQuantity: Velocity
Channel4MeasurementUnit: mm/s
Channel4SampleCount: 0
Channel4SampleRate: 3000
Channel4WaveformSource: filtered
Channel4MaxDisplacement: 0.000
Channel4MaxVelocity: 0.000
Channel4MaxAcceleration: 0.000
Channel4DomZCFreq: 0.000
#Waveform Data Channel 1
Channel1WaveformData:
-0.0105
-0.0073
-0.0089
-0.0065
-0.0040
-0.0048
-0.0016
-0.0008
-0.0008
0.0024
0.0040
#Waveform Data Channel 4
Channel4WaveformData:
0 件のコメント
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Waveform Generation についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!