From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Wire error stating FIFO Data type is 1D array

I have a Host to FPGA DMA FIFO with data type defined as U32. On the Host, when I try to wire a U32 constant to the Data field in the Invoke Method block for the FIFO write, I get a wiring error stating that the sink type is a U32 1D array. Why is this happening when a FIFO can't use arrays as a data type?  Attached a screenshot of this error.

0 Kudos
Message 1 of 2
(1,963 Views)

Because the FPGA is FAST.  Therefore the host will need to write multiple data points at a time.  The simple solution for you is to just add in a Build Array sized to 1 element to turn your single numeric into an array.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 2 of 2
(1,940 Views)