niFgen Write Waveform (poly) VI
- Updated2023-02-21
- 9 minute(s) read
niFgen Write Waveform (poly) VI
Installed With: NI-FGENWrites data to the waveform in onboard memory.
The Waveform Handle passed in must have been created by a call to the niFgen Allocate Waveform VI or the niFgen Create Waveform (poly) VI. By default, the subsequent call to the niFgen Write Waveform (poly) VI continues writing data from the position of the last sample written. You can change the write position and offset using the niFgen Set Waveform Next Write Position VI. If streaming is enabled, you can write more data than the allocated waveform size in onboard memory. Refer to the Streaming topic for more information about streaming data.
niFgen Write Waveform (DBL)
Writes data to a waveform in onboard memory. If streaming is enabled, you can write more data than the allocated waveform size in onboard memory. Refer to the Streaming topic for more information about streaming data.
![]() |
Instrument Handle identifies your instrument session. Instrument Handle is obtained from the niFgen Initialize VI, niFgen Initialize With Options VI, or the niFgen Initialize With Channels VI. |
![]() |
Channel Name specifies the channel that this VI uses. |
![]() |
Waveform Handle specifies the handle of the arbitrary waveform previously allocated with the niFgen Allocate Waveform VI. |
![]() |
Waveform Data specifies the array of data you want to load into the waveform. You must normalize the data points in the array to be between -1.00 and +1.00. |
![]() |
error in describes error conditions that occur before this node runs. This input provides standard error in functionality. Default value: no error |
![]() |
Instrument Handle Out passes a reference to your instrument session to the next VI. |
![]() |
Waveform Handle Out returns the handle that identifies the waveform. |
![]() |
error out contains error information. This output provides standard error out functionality. |
niFgen Write Binary 16 Waveform
Writes binary data to a waveform in onboard memory. If streaming is enabled, you can write more data than the allocated waveform size in onboard memory. Refer to the Streaming topic for more information about streaming data.
This instance can also write complex data to a waveform in onboard memory on devices with the OSP Enabled property set to TRUE and the Data Processing Mode property set to Complex. To write complex data, you must interleave the I/Q pairs or use the Complex DBL or Complex WDT instances of this VI.
![]() |
Instrument Handle identifies your instrument session. Instrument Handle is obtained from the niFgen Initialize VI, niFgen Initialize With Options VI, or the niFgen Initialize With Channels VI. |
![]() |
Channel Name specifies the channel that this VI uses. |
![]() |
Waveform Handle specifies the handle of the arbitrary waveform previously allocated with the niFgen Allocate Waveform VI. |
![]() |
Waveform Data specifies the array of data you want to load into the waveform. |
![]() |
error in describes error conditions that occur before this node runs. This input provides standard error in functionality. Default value: no error |
![]() |
Instrument Handle Out passes a reference to your instrument session to the next VI. |
![]() |
Waveform Handle Out returns the handle that identifies the waveform. |
![]() |
error out contains error information. This output provides standard error out functionality. |
niFgen Write WDT Waveform
Writes WDT data to the waveform in onboard memory. If streaming is enabled, you can write more data than the allocated waveform size in onboard memory. Refer to the Streaming topic for more information about streaming data.
![]() |
Instrument Handle identifies your instrument session. Instrument Handle is obtained from the niFgen Initialize VI, niFgen Initialize With Options VI, or the niFgen Initialize With Channels VI. |
![]() |
Channel Name specifies the channel that this VI uses. |
![]() |
Waveform Handle specifies the handle of the arbitrary waveform previously allocated with the niFgen Allocate Waveform VI. |
![]() |
Use Waveform dT for Sample Rate specifies whether the sample rate should be set to match the sampling information contained in the Waveform parameter. |
![]() |
Waveform specifies the data you want to use for the arbitrary waveform. |
![]() |
error in describes error conditions that occur before this node runs. This input provides standard error in functionality. Default value: no error |
![]() |
Instrument Handle Out passes a reference to your instrument session to the next VI. |
![]() |
Waveform Handle Out returns the handle that identifies the waveform. |
![]() |
error out contains error information. This output provides standard error out functionality. |
niFgen Write Waveform (Complex DBL)
Writes complex data to the waveform in onboard memory on devices with the OSP Enabled property set to TRUE and the Data Processing Mode property set to Complex. If streaming is enabled, you can write more data than the allocated waveform size in onboard memory. Refer to the Streaming topic for more information about streaming data.
![]() |
Instrument Handle identifies your instrument session. Instrument Handle is obtained from the niFgen Initialize VI, niFgen Initialize With Options VI, or the niFgen Initialize With Channels VI. |
![]() |
Channel Name specifies the channel that this VI uses. |
![]() |
Waveform Handle specifies the handle of the arbitrary waveform previously allocated with the niFgen Allocate Waveform VI. |
![]() |
Waveform Data specifies the array of data you want to load into the waveform. You must normalize the data points in the array to be between -1.00 and +1.00. |
![]() |
error in describes error conditions that occur before this node runs. This input provides standard error in functionality. Default value: no error |
![]() |
Instrument Handle Out passes a reference to your instrument session to the next VI. |
![]() |
Waveform Handle Out returns the handle that identifies the waveform. |
![]() |
error out contains error information. This output provides standard error out functionality. |
niFgen Write Waveform (Direct DMA I16)
Writes a specified amount of data from a Direct DMA-compatible device to the waveform in onboard memory. If streaming is enabled, you can write more data than the allocated waveform size in onboard memory. Refer to the Streaming topic for more information about streaming data.
![]() |
Instrument Handle identifies your instrument session. Instrument Handle is obtained from the niFgen Initialize VI, niFgen Initialize With Options VI, or the niFgen Initialize With Channels VI. |
![]() |
Channel Name specifies the channel that this VI uses. |
![]() |
Waveform Handle specifies the handle of the arbitrary waveform previously allocated with the niFgen Allocate Waveform VI. |
![]() |
Window Address specifies the windows address of the Direct DMA-compatible data source. |
![]() |
Samples to Write specifies the number of samples to write from the Direct DMA-compatible data source. |
![]() |
error in describes error conditions that occur before this node runs. This input provides standard error in functionality. Default value: no error |
![]() |
Instrument Handle Out passes a reference to your instrument session to the next VI. |
![]() |
Waveform Handle Out returns the handle that identifies the waveform. |
![]() |
error out contains error information. This output provides standard error out functionality. |
niFgen Write Waveform (Complex WDT)
Writes complex WDT data to a waveform in the device onboard memory. Use this instance when the OSP Enabled property is set to True and the Data Processing Mode property is set to Complex. If streaming is enabled, you can write more data than the allocated waveform size in onboard memory. Refer to the Streaming topic for more information about streaming data.
![]() |
Instrument Handle identifies your instrument session. Instrument Handle is obtained from the niFgen Initialize VI, niFgen Initialize With Options VI, or the niFgen Initialize With Channels VI. |
![]() |
Channel Name specifies the channel that this VI uses. |
![]() |
Waveform Handle specifies the handle of the arbitrary waveform previously allocated with the niFgen Allocate Waveform VI. |
![]() |
Use Waveform dT for IQ Rate specifies whether or not NI-FGEN retrieves the sample rate or I/Q rate from the specified HWS file and applies it to the NI-FGEN driver. |
![]() |
Waveform specifies the data you want to use for the arbitrary waveform. |
![]() |
error in describes error conditions that occur before this node runs. This input provides standard error in functionality. Default value: no error |
![]() |
Instrument Handle Out passes a reference to your instrument session to the next VI. |
![]() |
Waveform Handle Out returns the handle that identifies the waveform. |
![]() |
error out contains error information. This output provides standard error out functionality. |