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);
    ...
}
Table 37. .NET Attach Single Waveform Method Parameters
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.