RfsgArb.WriteWaveform(String, ComplexWaveform<ComplexSingle>) Method
- Updated2025-05-22
- 1 minute(s) read
Rfsg
Writes an arbitrary waveform to the NI-RFSG device starting at the position of the last data written in onboard memory.
Namespace: NationalInstruments.ModularInstruments.NIRfsg
Assembly: NationalInstruments.ModularInstruments.NIRfsg.Fx45 (in NationalInstruments.ModularInstruments.NIRfsg.Fx45.dll) Version: 2025
Syntax
public void WriteWaveform( string name, ComplexWaveform<ComplexSingle> data )
Public Sub WriteWaveform ( name As String, data As ComplexWaveform(Of ComplexSingle) )
Parameters
- name String
- Specifies the name used to identify the waveform. This string is case-insensitive, alphanumeric, and does not use reserved words.
- data ComplexWaveformComplexSingle
- Specifies the complex waveform to load onto the waveform. The complex waveform passed to this method should be of type NationalInstruments.ComplexSingle.
Exceptions
Exception | Condition |
---|---|
ObjectDisposedException | The WriteWaveform(String, Double, Double) method was accessed after the associated NIRfsg object was disposed. |
Remarks
This method accepts the complex baseband data in the form of complex singles. To write data in blocks on these devices, you must allocate the waveform before writing it.
If the waveform to write is already allocated using AllocateWaveform(String, Int32), the moreDataPending parameter is ignored. On the PXIe-5644/5645/5646, PXIe-5672/5673/5673E, and PXIe-5820/5830/5831/5832/5840, the moreDataPending parameter is always ignored.
The PXI-5670/5671 must be in the Configuration state before you call this method.
When streaming is enabled, you can call this method when the PXIe-5672/5673/5673E or PXIe-5820/5830/5831/5832/5840 is in the Generation state.
Supported Devices: PXIe-5644/5645/5646, PXI-5670/5671, PXIe-5672/5673/5673E, PXIe-5820/5830/5831/5832/5840