niDigital_WriteSourceWaveformDataFromFileTDMS
- Updated2023-11-24
- 1 minute(s) read
niDigital_WriteSourceWaveformDataFromFileTDMS
Source Memory Group
Writes a source waveform based on the waveform data and configuration information the file contains.
C Function Prototype: ViStatus niDigital_WriteSourceWaveformDataFromFileTDMS (ViSession vi, ViConstString waveformName, ViConstString waveformFilePath)
| Parameter | Description |
|---|---|
| vi | The specified instrument session the niDigital_init or niDigital_InitWithOptions function returns. |
| waveformName | The name to assign to the waveform. Use the waveformName with source_start opcode in your pattern. |
| waveformFilePath | Absolute file path to the load source waveform file (.tdms). |
Return value: Reports the status of the operation.
Parent topic: NI-Digital Pattern Driver C Function Reference