RfsgArb.WriteWaveform Method (String, ComplexWaveform(ComplexDouble))
- Updated2024-05-08
- 1 minute(s) read
RfsgArbWriteWaveform Method (String, ComplexWaveformComplexDouble)
Writes an arbitrary waveform to the NI-RFSG, starting from the position of the last data written in the onboard memory.
Namespace: NationalInstruments.ModularInstruments.NIRfsg
Assembly: NationalInstruments.ModularInstruments.NIRfsg.Fx40 (in NationalInstruments.ModularInstruments.NIRfsg.Fx40.dll) Version: 2022
Syntax
public void WriteWaveform( string name, ComplexWaveform<ComplexDouble> data )
Public Sub WriteWaveform ( name As String, data As ComplexWaveform(Of ComplexDouble) )
Parameters
- name
- Type: SystemString
Specifies the name used to identify the waveform. This string is case-insensitive and alphanumeric, and it does not use reserved words. - data
- Type: NationalInstrumentsComplexWaveformComplexDouble
Specifies the complex waveform to load onto the waveform. The complex waveform passed to this method should be of type NationalInstruments.ComplexDouble.
Exceptions
Exception | Condition |
---|---|
ObjectDisposedException | The WriteWaveform(String, Double, Double) method was accessed after the associated NIRfsg object was disposed. |
Remarks
This method takes the complex waveform of a baseband signal as data input. If the waveform is large, use the
AllocateWaveform(String, Int32) method.
The NI-RFSG must be in the Configuration state before you call WriteWaveform(String, Double, Double).