LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Dequeue element freezes (timeout = 0)

Random suggestion - have you tried putting a 'get queue status' in front of or in parallel to the dequeue? Very strange..

0 Kudos
Message 11 of 18
(1,767 Views)

Ty, I haven't but I'll try when as soon as get the chance.

 

I realize though that I haven't posted about one other attempt to understand the problem:

When the Dequeue was frozen, I ran a VI that obtained this queue by name and enqueued one element. That then released the frozen dequeue.

0 Kudos
Message 12 of 18
(1,744 Views)

Strange indeed. It behaves like you've wired -1 to timeout. Have we found a bug?

/Y

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 13 of 18
(1,734 Views)

What version of LabVIEW are you using? The behavior sounds a lot like CAR 677003 which was fixed in a 2017 SP1 patch.

 

http://www.ni.com/product-documentation/54421/en/

Matt J | National Instruments | CLA
Message 14 of 18
(1,716 Views)

I'm using LabVIEW 2017 32-bit (17.0.0) so that as well may be the issue. I'll do an experiment with SP1.

 

Thank you!

Message 15 of 18
(1,701 Views)

Interesting.  We've observed the opposite.

 

When reading from a DMA channel on RT systems, we wire in timeout -1, non-zero requested number of elements, the node has no data, returns immediately with no data, no error.  This is a combination of performance and parameters which should not co-exist.

0 Kudos
Message 16 of 18
(1,683 Views)

@Intaris wrote:

Interesting.  We've observed the opposite.

 

When reading from a DMA channel on RT systems, we wire in timeout -1, non-zero requested number of elements, the node has no data, returns immediately with no data, no error.  This is a combination of performance and parameters which should not co-exist.


Possibly related to CAR 611315? Sounds like similar symptoms but I'm not sure whether DMA FIFOs and Queues share implementation details so you would have to call in to support and have them ask R&D if it's important for your project.

 

http://www.ni.com/product-documentation/53294/en/

Matt J | National Instruments | CLA
0 Kudos
Message 17 of 18
(1,620 Views)

I don't think they're linked to that CAR.  We only have a single timeout ever wired to our DMA read.  IIRC, it was a bug in the RIO drivers which apparently got patched after we reported a way to reproduce the issue.

0 Kudos
Message 18 of 18
(1,599 Views)