Attach Multiple Waveforms Function
- Updated2022-07-11
- 1 minute(s) read
Attach Multiple Waveforms Function
attach_multiple_waveforms attaches multiple waveform objects as channels within a TDMS file to the measurement.
Note The Logging Library does not support
the following special characters in TDMS root file names: [,
], and ,
waveform1 = capture_waveform_1()
waveform2 = capture_waveform_2()
root_attr = {
"EquipmentName": "PXIe-5122",
"EquipmentType": "Digitizer"
}
meas.attach_multiple_waveforms(
root_name="BuckRegulator5",
waveforms=[waveform1, waveform2],
root_attributes=root_attr
)
| Parameter | Required? | Data Type | Description |
|---|---|---|---|
| root_name | Yes | String | Root name of the TDMS file. |
| waveforms | Yes | Custom | A list of waveform objects to be recorded as channels within a TDMS file and attached to the measurement. (List[Waveform]) |
| root_attributes | No | Dictionary [String, String] | A dictionary of attributes to apply as file-level properties of the TDMS file. |