LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

fpga FIFO write documentation error?

In the documentation of the FIFO write in the fpga module the type of the element type is I16. When I wire a constant to the input it becomes a U32.  On the host side the FIFO read function reads the type U32.
What is really happening in the funktion when an I16 is wired to the function and what happends when an U32 is wired to the function?
Best regards Ollem Svensson


0 Kudos
Message 1 of 4
(4,883 Views)
Hi,

From here :

http://zone.ni.com/devzone/cda/tut/p/id/4534

 "Notice that the FPGA FIFO only supports U32 (unsigned 32-bit integer) datatypes and only certain depths are available."

Hope it Helps,

Regards,

Michael

0 Kudos
Message 2 of 4
(4,869 Views)
What confuses me is this

http://zone.ni.com/reference/en-XX/help/371599C-01/lvfpga/fifo_write/

The fifo write function has a I16 input.
Element inputs the data element you want to store in the FIFO.


0 Kudos
Message 3 of 4
(4,853 Views)

Hi Olle,

In labview 8.5 you choose which data type you'd like when you create the FIFO. In the documentation there is I16 since that's the default. However, this option is disabled if you select Host to Target—DMA or Target to Host—DMA from the Type pull-down menu because you can use DMA FIFOs only with unsigned 32-bit integers.

Pelle S
Account Manager
National Instruments Sweden
0 Kudos
Message 4 of 4
(4,133 Views)