LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Urgent Help Required

Hello All,

I need urgent help , I am using USRP as a receiver to collect data and store it as .tdms file, but after some seconds an error pop-up witha a message i.e.

Error -1074118647 occurred at niUSRP Fetch Rx Data(CDB WDT).vi

Possible reasons: 

Overflow: an internal receive buffer has filled before the data could be returned.

 

I attached the error file snapshot. This error only appears when I start measurements with my Laptop, with home PC theer is no such error.

Kindly help me in this regard...

0 Kudos
Message 1 of 22
(4,318 Views)

Kindly find the attachment...

0 Kudos
Message 2 of 22
(4,317 Views)

Am not sure about how USRP works but from the error you provided it clearly shows that you have to clear the buffer at periodic interval. Check where you can configure the buffer size and how to manage the buffer.

-----

The best solution is the one you find it by yourself
0 Kudos
Message 3 of 22
(4,298 Views)

Thanks for responce but will you please tell me how to allocate size to buffer and clear & manage the buffer. I am a bit new in this field. Any type of help will be greatly appreciated...

Regards

0 Kudos
Message 4 of 22
(4,288 Views)

You mentioned that the program works on your home PC and not on the laptop, what is the RAM size of your home PC and your latop ?

0 Kudos
Message 5 of 22
(4,272 Views)

Dear javed,

Both has the RAM of 4 GB but still on Laptop it give me an error after a few seconds of measurements.

Regards

0 Kudos
Message 6 of 22
(4,250 Views)

This sounds like a simple case of you are not reading the data from the buffer quick enough.  Care to share some code?  Maybe we can find ways to speed it up some.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 7 of 22
(4,228 Views)

Hello, 

Kindly find the attachement  for my vi which is creating problem while running. 

The configurations that I provided to USRP2 in order to run are as;

IP address: 192.168.10.2

IQ rate: 558.659 k

Frequency: 1700 M

Gain: 0~30

Active Antenna: RF2

Number of Samples: 1000

 

I would like to say thanks to all of you for your kind efforts to help me.

0 Kudos
Message 8 of 22
(4,217 Views)

Yep, I saw exactly what I expected to see.

 

Look into using a Producer/Consumer framework.  The idea here is to separate the acquisition from the writing to disk.  You do this by using two loops: one for getting the data (producer), second one for writing to disk (consumer).  The producer loop send the data to the consumer loop using a queue.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 9 of 22
(4,211 Views)

Respected Crossrulz,

As per your instructions and suggestion I read the document and some other literature and modified my .vi file and attached it for your reference. The one thing that bothers me is the "element data type" terminal in "obtain queue" block. Did I connect it correctly according to my receiving compley waveform. Kindly correct me if there is any error in my modified vi. In last, many thanks for your precious time and kind suggestions. 

Best Regards

0 Kudos
Message 10 of 22
(4,180 Views)