LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Memory Read (FPGA) from the cRIO?

Can I use the Memory Read (FPGA) function to read the memory from the RT controller?
I have a project and have added a small memory (10 values) as opposed to a FIFO.
 
In the RT (cRIO) controller, I can't find the Memory Read function but if I go to the project, drag the Memory into the RT code, I get no errors. Is this valid? Do I have to use a FIFO or front panel to send data from FPGA to RT or can I use a small Memory icon?
 
Jeff
0 Kudos
Message 1 of 5
(4,133 Views)
Hi Jeff,
 
Thank you for contacting National Instruments. The method to access the Memory (or FIFO) created for the FPGA in the Real Time Code is by using the "Invoke Method" after an "Open FPGA VI reference" and wiring it in. Though you can drag and drop the Memory/FIFO into the RT code, it does not work as expected. We recommend using the Memory option when the data is bigger than 300 bytes or so, as using the Memory is more efficient than a FIFO.
 
Thank you,
 
 
Message 2 of 5
(4,072 Views)
Hi Jeff_scharpf

Did you every set up a invoke method (i.e. invoke node) and did you get it to work?  If you have could you send me a working example because I have the same issue of trying to read FPGA memory from my RT vi and I am not sure how to set up the invoke node.

Regards
0 Kudos
Message 3 of 5
(3,252 Views)
PW,
Yes I resolved it but I think it was a bug in my LV8.21 installation. At that time I upgraded to 8.5 and my problem was resolved. I will try to find my original code.
0 Kudos
Message 4 of 5
(3,230 Views)
Thanks

I look forward to seeing your code.  Hope you find itSmiley Wink

Regards
0 Kudos
Message 5 of 5
(3,207 Views)