Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Complex Data (Blackfin, Embedded Module)

The Embedded Module for Blackfin Processors supports the following complex data types:

  • Complex single-precision, floating-point numeric (complex_float)
  • Complex double-precision, floating-point numeric (complex_double)
  • Complex 16-bit fractional data (complex_fract16)

The representation of complex data in the Embedded Module for Blackfin Processors and LabVIEW for Windows is different, which means you cannot use a standard LabVIEW complex value in the Blackfin Analysis Library and Blackfin Numeric VIs. You also cannot use a complex value from the Blackfin Analysis Library and Blackfin Numeric VIs with the standard LabVIEW Mathematics VIs and Signal Processing VIs.

For example, a complex constant in LabVIEW takes the following form:

A complex constant in the Blackfin Analysis Library and Blackfin Numeric VIs takes the following form:

Each of the supported complex data types is a cluster of two elements. For the complex_float data type, the elements are two single-precision, floating-point numerics. For the complex_double data type, the elements are two double-precision, floating-point numbers. For the complex_fract16 data type, the elements are two fract16 fractional values. The first value represents the real component and the second value represents the imaginary component. You assign values to complex_fract16 constants in fractional notation. You do not have any special considerations when assigning values to the real and imaginary components of complex_float or complex_double data types because these two data types are based on standard single-precision and double-precision, floating-point values. The Blackfin Analysis Library VIs use the complex_fract16 data type for data operations in the frequency domain, such as FFTs.


Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit