RF Measurement Devices

cancel
Showing results for 
Search instead for 
Did you mean: 

URGENT !!! Error -50400

I am using Labview 8.2 and NI5640R. I want to send data continuously and receive continuously. But real time processing

is slow, if it configures the board everytime. So, inside the for loop, I put a "HOST TO FPGA WRITE" at the end (marked with red).

I am sending data in chuncks of 4000 samples. I found that it successully wrote 12000 samples but after that when Itried to write 4000 more,

it gave me the following error. Is the FPGA does not overwrite the data ? I am using the standard example template provided by NI which is named as

"ni5640R Analog Input and Output".

 

Error -50400 occurred at _nirio_device_fifoWrite.vi:3

Possible reason(s):

The transfer did not complete within the timeout period or within the specified number of retries.

0 Kudos
Message 1 of 5
(8,709 Views)
Did you try increasing the timeout value (the property node near the arrow you have on your attached image does not seem to have something wired to it.)
0 Kudos
Message 2 of 5
(8,702 Views)

I tried increasing the timeout from 5 seconds to 10 seconds and even 25 seconds but it is still not working.

Even with higher timeout (to write 4000 samples), the error came when I

had already written 16000 samples and the next 4000 samples came. Everytime this happens at this particular value.

 

Here is the FPGA code which transfers onto the DMA. I don't know what is causing this and how to correct it. 

It saidthe error is in "_nirio_device_fifoWrite.v". Apparently, when I searced the template for this, it asked for a password to

access the block diagram of this particular VI :smileysurprised:

 

-Rohit.

 

Download All
0 Kudos
Message 3 of 5
(8,689 Views)

Hello,

 

We are having a hard time seeing exactly what it is you are trying to do with the small snapshots you have provided. Would it be possible to provide us with your project and code? Also, can you explain more what you meant by "But real time processing is slow, if it configures the board everytime." ?

 

Best Regards,

Chris Behnke
Sr. RF Engineer
High Frequency Measurements
0 Kudos
Message 4 of 5
(8,668 Views)

The project code is attached !!! Please connect the ch 0 of AI and AO directly with a wire of NI PC- 5640R.

 

The main VI is "with recovery.vi". Please open this and set

AO. Symbol Rate  = 1.5625 MHz (same as AI.Span)

 AO.Symbols to send  = 20000

AI.Samples to acquire is your choice ( I am keeping 4000).

 

In the block diagram, go to "NI 5640R 8.2 (SubVI).vi".

In the front panel , there is an indicator called "Notice this". It shows the number of empty elements remaining in the FPGA .

There is a constant in the block diagram (4000) if the extreme left. What I am basically doing is I want to transmit and receive

20000 samples (which is specified earlier) in chunks of 4000 samples.

 

The indicator "Notice this" (empty elements remaining) gives value 4192 till the 3rd iteration (ie. I have sent 12000 samples) but after that it shows 292 

and in the next iteration, I receive an error when I try to write 4000 samples to the FPGA. I tried to include another FPGA-to-host read to read

(4192-empty elemente remaining) before I do the next transmission, but it also gives error.

 

I also tried changing the timeout value of host - to - fpga write to 20 seconds, 25 seconds and even -1 (where is just waits and waits).

 The problem is in writing to FPGA or FIFA (I don't know - I am less of an FPGA guy).

 

 -Rohit

0 Kudos
Message 5 of 5
(8,658 Views)