01-08-2018 01:18 AM - edited 01-08-2018 01:34 AM
Above is the code, trial code on FPGA programming Where I have written some known data on the FIFO and
tried to retrieve it back. The split and join number are giving proper data as when done without FIFO and you can see the corresponding output in appended array.
With the same code executed with FIFO, executes but the result obtained is appended array 2.
Why is this change between these two methods?!!
Am not able to get this concept, where should the changes be done in order to get proper data.
This is the property of the particular FIFO node,
Thanks in advance..!!
Solved! Go to Solution.
01-08-2018 01:49 AM - edited 01-08-2018 01:51 AM
Hi Priyardarsini,
your code does EXACTLY what you have programmed it to do!
See this small test VI:
(both indicators set to hex display mode!)
I use an U16 constant of 1 (similar to your count input), do the very same operations like you do and get the very same result - like you do.
So I think: LabVIEW does all the calculations correctly! 😄
What's the point of calculating an U64 value when you want to transfer just I16 values with your FIFO???
01-08-2018 01:50 AM - edited 01-08-2018 01:51 AM
You're squashing a U64 into an I16, so you're losing the top three U16 values before it's put into the FIFO. Change the FIFO datatype to a U64 and you should be good.
01-08-2018 02:06 AM
Hi Gerd,
Thank you !!
Am just checking the data transfer with the code, from target to host.
As an example to be tried out, i just split and joined the numbers so that, I can identify how exactly the CLIPS show data after connecting them through Data lanes. Hence, the need..