niRFSGPlayback Read and Download Waveform From File (1 Wfm, 1 RFSG, TDMS) VI
- Updated2025-10-13
- 3 minute(s) read
Reads a waveform from a TDMS file, and downloads it to the NI RF vector signal generator.
This VI reads the following information from the TDMS file and writes it into the NI-RFSG waveform database:
- Sample Rate
- PAPR and Runtime Scaling, or Peak Power Adjustment
- RF Blanking Marker Locations
- RF Blanking Enabled
- Burst Start Locations
- Burst Stop Locations
- RF Blanking Marker Source
- Signal Bandwidth
- Waveform Size
If RF blanking marker locations are present in the file, but burst locations are not present, burst locations are calculated from RF blanking marker locations and stored in the NI-RFSG waveform database.
This VI internally sets niRFSG Power Level Type property value to Peak Power before writing the waveform to NI-RFSG device memory.
This VI returns an error, if the TDMS file has more than one waveform.

Inputs/Outputs
instrument handle in
—
instrument handle in identifies the instrument session. instrument handle in is obtained from either the niRFSG Initialize VI or the niRFSG Initialize With Options VI.
waveform name
—
waveform name specifies the name of the waveform used to store the waveform in NI-RFSG device memory and waveform properties in the NI-RFSG waveform database.
file path
—
file path specifies the absolute path to the TDMS file from which the playback library reads the waveforms.
error in
—
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
instrument handle out
—
instrument handle out passes a reference from the instrument session to the next VI.
error out
—
error out contains error information. This output provides standard error out functionality. |
instrument handle in
—
waveform name
—
file path
—
error in
—
instrument handle out
—
error out
—