ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

FPGA code using too much memory? getting error 52000

Hi all,

   I'm having trouble getting some FPGA code to run. What I am trying to do with the program is acquire data using DAQmx from two fgen's, and then use an FPGA based lock-in amplifier to find the frequency of these signals and their phase difference (It's actually only a slight modification of a lock-in amplifier available on the NI site). I keep getting error 52000 when I start up the program, indicating I'm using up too much memory somewhere. I don't know why this is, as even the lowest sampling rates I give to the DAQ do not keep this problem from happening. Could someone look at my code to see whats going on?

 

Thanks,

      Grant

0 Kudos
Message 1 of 5
(3,997 Views)
0 Kudos
Message 2 of 5
(3,985 Views)

I think you need to post your vi's, and not only your project file.

 

Also there are some information missing, what are the hardware you are using ?

0 Kudos
Message 3 of 5
(3,980 Views)

I am using a PXI-7852R card in a PXI-1033 chassis, all connected to my comp through a PCI bridge. I'm also using a PXI-6115 data acquisition card, which is feeding data to the FPGA.

 

Sorry for not attaching the VI's, I thought they were contained within the llb. Here they are.

 

Thanks,

 

     Grant

Download All
0 Kudos
Message 4 of 5
(3,959 Views)

Hello,

 

I'm using a cRIO-9014 real time controller with cRIO-9104 chassis, containing a Virtex II FPGA. I also received this error 52000 from my DMA FIFO while trying to transfer data from the FPGA to the real time controller. I could solve it by decreasing the "Depth" of that FIFO. I saw in your LIA_VPGA.vi file that you have two of them with each 4194304 items. Perhaps you could also try to decrease that number.

 

Hope this will help you.

 

0 Kudos
Message 5 of 5
(3,875 Views)