LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I dequeue a fixed number of elements i.e. 100k?

I have a receiving chain from USRP-RIO input to queue. 
How do i dequeue to every 100k samples from a queue?

Thank you.

0 Kudos
Message 1 of 4
(175 Views)

Hi Rach,

 


@Rach.Seoral wrote:

I have a receiving chain from USRP-RIO input to queue. 
How do i dequeue to every 100k samples from a queue?


You just read 100k samples from your queue...

 

What is your problem exactly?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 4
(144 Views)

What problem are you actually trying to solve?

 

Do you know the data rate? Do you want to constantly check the queue to see if the size is >100k, then read 100k? Why not just dequeue all and build the dataset locally?

 

What is your hardware? We actually have two dedicated USRP forums (here and here), so maybe there is a better place for your question, Are you using plain LabVIEW or the communication suite?

0 Kudos
Message 3 of 4
(113 Views)

Thank you for your reply.

I am working on the ni-usrp 2974 and have both labview and communications suite.

I am trying to do real time processing, queue store all the samples from the receiving chain of the usrp. Once 100 k samples i would do some processing.

Pls advice. Thank you. 

0 Kudos
Message 4 of 4
(59 Views)