Attach XY Data Method

AttachXYData attaches X-axis and Y-axis data, such as a logarithmic frequency sweep, 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 (AttachableMeasurement log = run.CreateAttachableMeasurement(singleMeasurementDetails))
{
    log.AttachXYData(XYDataDetails);
    ...
}
Table 35. .NET Attach XY Data Method Parameters
Parameter Required? Data Type Description
XYDataDetails Yes Custom X-axis and Y-axis data details to attach to the TDMS file. This parameter includes the root name for the TDMS file. (XYDataDetails)
rootAttributes No Dictionary <String, String> A dictionary of attributes to attach to the TDMS file.