Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

Data size of fpga read/write interface

Hi.
 
Im currently utilizing the FPGA read/write interface for sending data to my FPGA.  What size of data can be sendt trhoug the read/write function? I can not seem to get it over signed interger 16? i need signed interger 32 for my scalings.
 
I tried to send in a signed interger 32, but it saturates at 16 bit.
 
Im using LV 8.2.
 
Can anyone help me?
 
Best regards
 
Søren Stubkier
 
 
0 Kudos
Message 1 of 4
(3,568 Views)
Using an I32 on your FPGA front panel should be no problem.  Can you submit a screen shot or attach your vi you are having trouble with?
SteveA
CLD

-------------------------------------
FPGA/RT/PDA/TP/DSC
-------------------------------------
0 Kudos
Message 2 of 4
(3,557 Views)
Hi.
 
I have attaced a screenshot of both my FPGA and host code.  The problem is the arrays Gain T and Gains P...
 
 
BR
 
Søren
0 Kudos
Message 3 of 4
(3,546 Views)

It looks like you have the wrong data type on the FPGA.  For example, your "Gains T" parameters on the FPGA is a U32, you type the Double to a I32 on the RT side, but on the FPGA side it's an U32.  Basically you want to try and eleminate all the coersion dots (little red dots) on your read/write node in the RT.  coersion dots mean the data types don't match.  Also, you may want to connect up the error cluster on your read write nodes to make sure your not getting any errors.

SteveA
CLD

-------------------------------------
FPGA/RT/PDA/TP/DSC
-------------------------------------
0 Kudos
Message 4 of 4
(3,519 Views)