Create Source Waveform From File (TDMS)
- Updated2023-02-17
- 2 minute(s) read
Create Source Waveform From File (TDMS)
Creates a source waveform with configuration information from a TDMS file generated by the Digital Pattern Editor. It also optionally writes waveform data from the file.
Inputs/Outputs

waveform name
The waveform name you want to use from the file.
You must specify waveform name if the file contains multiple waveforms. Use the waveform name with the source_start opcode in your pattern.

session in
Instrument session obtained from the niDigital Initialize with Optionsnode.

waveform file
Absolute file path to the load source waveform file (.tdms).

write waveform data
A Boolean that writes waveform data to source memory if True and the waveform data is in the file.
Default value: True

error in
Error conditions that occur before this node runs.
The node responds to this input according to standard error behavior.
Default value: No error

session out
Handle that identifies the session in all subsequent NI-Digital node calls.

error out
Error information.
The node produces this output according to standard error behavior.