Data Type Changing When Transferring Through DMA FIFO on My CompactRIO

Updated Oct 25, 2019

Reported In

Hardware

  • CompactRIO Chassis

Software

  • LabVIEW Real-Time Module

Issue Details

I am transferring data through a DMA FIFO on my CompactRIO project from the VI FPGA to the VI RT.
The data type is not the same on the FPGA side compared to the RT side.
As an exemple, my measured values have a decimal part on the VI FPGA but are rounded to integers when transferred to the VI RT.
Why is this happening?

Solution

You have to specify the type of the data you are transferring in the DMA FIFO.
Verify that the type set in the Configure FIFO Name Control Type Dialog Box is correct.

Additional Information

In case you are using Fixed Points, check the Configuration and verify that it corresponds to the data you are injecting in the DMA FIFO.