ni-rfsg-dotnet-api-ref_doc

Content Type
Programming Language
Current manual
Table of Contents
Product Documentationni-rfsg-dotnet-api-ref_docRfsgArb.WriteWaveform(T) Method (String, T[])Current page
Table of Contents

RfsgArb.WriteWaveform(T) Method (String, T[])

RfsgArb.WriteWaveform(T) Method (String, T[])

RfsgArbWriteWaveformT Method (String, T)

Writes an arbitrary waveform to the NI-RFSG, starting from the position of the last data written in onboard memory.

Namespace:  NationalInstruments.ModularInstruments.NIRfsg
Assembly:  NationalInstruments.ModularInstruments.NIRfsg.Fx40 (in NationalInstruments.ModularInstruments.NIRfsg.Fx40.dll) Version: 2022

Syntax

public void WriteWaveform<T>(
	string name,
	T[] data
)
Public Sub WriteWaveform(Of T) ( 
	name As String,
	data As T()
)

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: T
Specifies the array of data to load into the waveform.

Type Parameters

T
The data array passed to this method should be of type NationalInstruments.ComplexInt16 or NationalInstruments.ComplexDouble.

Exceptions

ExceptionCondition
ObjectDisposedException The WriteWaveformT(String, ComplexWaveformT) method was accessed after the associated NIRfsg object was disposed.

Remarks

This method takes the data array of a complex baseband signals data as input. If the waveform is large, use the AllocateWaveform(String, Int32) method.

The NI-RFSG must be in the Configuration state before you call WriteWaveformT(String, ComplexWaveformT).

See Also

Was this information helpful?