FFT VI
- Updated2023-02-21
- 12 minute(s) read
FFT VI
Owning Palette: LVCUFFT
Requires: GPU Analysis Toolkit
Computes the fast Fourier transform of signals and returns the spectrums. Wire data to the signals in input to determine the polymorphic instance or you can manually select which instance to use.
Real FFT (SGL (Inplace))

![]() |
CUFFT Handle in specifies the initialized CUFFT library to use for the FFT calculation. For example, you can wire the CUFFT Handle output from the Initialize Library VI to specify the CUFFT handle to the CUFFT library you already initialized. This input also determines the device that executes the function. |
![]() |
signals in specifies the input signals. For example, you can wire the dst out output from the Download Data VI to this input to specify the elements on the device that you want to compute. |
![]() |
error in describes error conditions that occur before this node runs. This input provides standard error in functionality. |
![]() |
CUFFT Handle out returns the handle to the initialized CUFFT library. |
![]() |
spectrums out returns the output spectrums from the FFT operation. |
![]() |
error out contains error information. This output provides standard error out functionality. |
Real FFT (DBL (Inplace))

![]() |
CUFFT Handle in specifies the initialized CUFFT library to use for the FFT calculation. For example, you can wire the CUFFT Handle output from the Initialize Library VI to specify the CUFFT handle to the CUFFT library you already initialized. This input also determines the device that executes the function. |
![]() |
signals in specifies the input signals. For example, you can wire the dst out output from the Download Data VI to this input to specify the elements on the device that you want to compute. |
![]() |
error in describes error conditions that occur before this node runs. This input provides standard error in functionality. |
![]() |
CUFFT Handle out returns the handle to the initialized CUFFT library. |
![]() |
spectrums out returns the output spectrums from the FFT operation. |
![]() |
error out contains error information. This output provides standard error out functionality. |
Real FFT (SGL->CSG)
When you leave spectrums in unwired, this VI performs the operation inplace.

![]() |
CUFFT Handle in specifies the initialized CUFFT library to use for the FFT calculation. For example, you can wire the CUFFT Handle output from the Initialize Library VI to specify the CUFFT handle to the CUFFT library you already initialized. This input also determines the device that executes the function. |
![]() |
spectrums in specifies the memory, in the form of a buffer, on the device to store the results of the FFT calculation. |
![]() |
signals in specifies the input signals. For example, you can wire the dst out output from the Download Data VI to this input to specify the elements on the device that you want to compute. |
![]() |
error in describes error conditions that occur before this node runs. This input provides standard error in functionality. |
![]() |
CUFFT Handle out returns the handle to the initialized CUFFT library. |
![]() |
spectrums out returns the output spectrums from the FFT operation. |
![]() |
signals out returns the unchanged elements you wire to signals in. |
![]() |
error out contains error information. This output provides standard error out functionality. |
Real FFT (DBL->CDB)
When you leave spectrums in unwired, this VI performs the operation inplace.

![]() |
CUFFT Handle in specifies the initialized CUFFT library to use for the FFT calculation. For example, you can wire the CUFFT Handle output from the Initialize Library VI to specify the CUFFT handle to the CUFFT library you already initialized. This input also determines the device that executes the function. |
![]() |
spectrums in specifies the memory, in the form of a buffer, on the device to store the results of the FFT calculation. |
![]() |
signals in specifies the input signals. For example, you can wire the dst out output from the Download Data VI to this input to specify the elements on the device that you want to compute. |
![]() |
error in describes error conditions that occur before this node runs. This input provides standard error in functionality. |
![]() |
CUFFT Handle out returns the handle to the initialized CUFFT library. |
![]() |
spectrums out returns the output spectrums from the FFT operation. |
![]() |
signals out returns the unchanged elements you wire to signals in. |
![]() |
error out contains error information. This output provides standard error out functionality. |
Real FFT (CSG (Inplace))

![]() |
CUFFT Handle in specifies the initialized CUFFT library to use for the FFT calculation. For example, you can wire the CUFFT Handle output from the Initialize Library VI to specify the CUFFT handle to the CUFFT library you already initialized. This input also determines the device that executes the function. |
![]() |
signals in specifies the input signals. For example, you can wire the dst out output from the Download Data VI to this input to specify the elements on the device that you want to compute. |
![]() |
error in describes error conditions that occur before this node runs. This input provides standard error in functionality. |
![]() |
CUFFT Handle out returns the handle to the initialized CUFFT library. |
![]() |
spectrums out returns the output spectrums from the FFT operation. |
![]() |
error out contains error information. This output provides standard error out functionality. |
Real FFT (CDB (Inplace))

![]() |
CUFFT Handle in specifies the initialized CUFFT library to use for the FFT calculation. For example, you can wire the CUFFT Handle output from the Initialize Library VI to specify the CUFFT handle to the CUFFT library you already initialized. This input also determines the device that executes the function. |
![]() |
signals in specifies the input signals. For example, you can wire the dst out output from the Download Data VI to this input to specify the elements on the device that you want to compute. |
![]() |
error in describes error conditions that occur before this node runs. This input provides standard error in functionality. |
![]() |
CUFFT Handle out returns the handle to the initialized CUFFT library. |
![]() |
spectrums out returns the output spectrums from the FFT operation. |
![]() |
error out contains error information. This output provides standard error out functionality. |
Complex FFT (CSG (Inplace))

![]() |
CUFFT Handle in specifies the initialized CUFFT library to use for the FFT calculation. For example, you can wire the CUFFT Handle output from the Initialize Library VI to specify the CUFFT handle to the CUFFT library you already initialized. This input also determines the device that executes the function. |
![]() |
signals in specifies the input signals. For example, you can wire the dst out output from the Download Data VI to this input to specify the elements on the device that you want to compute. |
![]() |
error in describes error conditions that occur before this node runs. This input provides standard error in functionality. |
![]() |
CUFFT Handle out returns the handle to the initialized CUFFT library. |
![]() |
spectrums out returns the output spectrums from the FFT operation. |
![]() |
error out contains error information. This output provides standard error out functionality. |
Complex FFT (CSG->CSG)
When you leave spectrums in unwired, this VI performs the operation inplace.

![]() |
CUFFT Handle in specifies the initialized CUFFT library to use for the FFT calculation. For example, you can wire the CUFFT Handle output from the Initialize Library VI to specify the CUFFT handle to the CUFFT library you already initialized. This input also determines the device that executes the function. |
![]() |
spectrums in specifies the memory, in the form of a buffer, on the device to store the results of the FFT calculation. |
![]() |
signals in specifies the input signals. For example, you can wire the dst out output from the Download Data VI to this input to specify the elements on the device that you want to compute. |
![]() |
error in describes error conditions that occur before this node runs. This input provides standard error in functionality. |
![]() |
CUFFT Handle out returns the handle to the initialized CUFFT library. |
![]() |
spectrums out returns the output spectrums from the FFT operation. |
![]() |
signals out returns the unchanged elements you wire to signals in. |
![]() |
error out contains error information. This output provides standard error out functionality. |
Complex FFT (CDB (Inplace))

![]() |
CUFFT Handle in specifies the initialized CUFFT library to use for the FFT calculation. For example, you can wire the CUFFT Handle output from the Initialize Library VI to specify the CUFFT handle to the CUFFT library you already initialized. This input also determines the device that executes the function. |
![]() |
signals in specifies the input signals. For example, you can wire the dst out output from the Download Data VI to this input to specify the elements on the device that you want to compute. |
![]() |
error in describes error conditions that occur before this node runs. This input provides standard error in functionality. |
![]() |
CUFFT Handle out returns the handle to the initialized CUFFT library. |
![]() |
spectrums out returns the output spectrums from the FFT operation. |
![]() |
error out contains error information. This output provides standard error out functionality. |
Complex FFT (CDB->CDB)
When you leave spectrums in unwired, this VI performs the operation inplace.

![]() |
CUFFT Handle in specifies the initialized CUFFT library to use for the FFT calculation. For example, you can wire the CUFFT Handle output from the Initialize Library VI to specify the CUFFT handle to the CUFFT library you already initialized. This input also determines the device that executes the function. |
![]() |
spectrums in specifies the memory, in the form of a buffer, on the device to store the results of the FFT calculation. |
![]() |
signals in specifies the input signals. For example, you can wire the dst out output from the Download Data VI to this input to specify the elements on the device that you want to compute. |
![]() |
error in describes error conditions that occur before this node runs. This input provides standard error in functionality. |
![]() |
CUFFT Handle out returns the handle to the initialized CUFFT library. |
![]() |
spectrums out returns the output spectrums from the FFT operation. |
![]() |
signals out returns the unchanged elements you wire to signals in. |
![]() |
error out contains error information. This output provides standard error out functionality. |
FFT Details
For more information about this VI, refer to the Designing the Block Diagram to Compute on a GPU Device topic.
For more information about the CUFFT library and FFT operations, refer to the NVIDIA GPU Computing Documentation website at nvidia.com and download the CUFFT Library User Guide.
Example
Refer to the Multi-channel FFT VI in the labview\examples\lvgpu\Multi-channel FFT directory for an example of using the FFT VI.





