10-16-2007 02:55 PM
10-16-2007 03:14 PM
Hey Jim,
I do the following when trying to pass fixed point data over DMA
How Can I Transfer My Fixed-Point Data to My Host Using a DMA FIFO?
Not sure if this is the final answer but it may be a place to start.
Bassett
10-16-2007 03:51 PM
10-16-2007 04:03 PM
Glad it helped. I sometimes use the following to split 64,32 into a U32 Array.
Bassett
10-16-2007 04:07 PM
10-16-2007 04:10 PM
10-17-2007 10:32 AM
@Bassett Hound wrote:
Hey Jim,
I do the following when trying to pass fixed point data over DMA
How Can I Transfer My Fixed-Point Data to My Host Using a DMA FIFO?
Not sure if this is the final answer but it may be a place to start.
Bassett
10-17-2007 11:38 AM
10-17-2007 11:44 AM - edited 10-17-2007 11:44 AM
To do this, you will need to pass the binary representation of the fixed-point number over the DMA FIFO and convert this set of bits on the host. The steps below detail the method to pass a fixed-point number to the host using a DMA FIFO.
FPGA Conversion
Host Conversion
Note: It is required to know the settings of the fixed-point data on the
FPGA in order to convert the number on the host.
Once the fixed point data is converted, you can use the numeric conversion VIs to convert the data to any representation that is needed on the host.
Note: It is necessary to use the Binary Array to Number and override the output type under the properties of the VI. Using just the Binary Array to Number and then the To FXP VIs will also truncate the fractional part of the data.
Message Edited by Coal Man on 10-17-2007 11:45 AM
10-17-2007 12:20 PM