Attach Single Waveform Method
- 更新时间2022-07-11
- 阅读时长1分钟
Attach Single Waveform Method
AttachSingleWaveform attaches a single waveform object as a TDMS file to the measurement.
Note The Logging Library does not support
the following special characters in TDMS file root names: [,
], and ,
using (AttachableMeasurements multipleMeasurements = run.CreateAttachableMeasurements())
{
multipleMeasurements.AttachSingleWaveform("SingleWaveform", waveformDetails);
...
}
| Parameter | Required? | Data Type | Description |
|---|---|---|---|
| rootName | Yes | String | Root name of the TDMS file. |
| waveformDetails | Yes | Custom | Waveform object to be recorded as a TDMS file and attached to the measurement. (WaveformDetails) |
| rootAttributes | No | Dictionary <String, String> | A dictionary of attributes to apply as file-level properties to the TDMS file. |