LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Probe provides incorrect information about Queue Status

Solved!
Go to solution

 


@Aristos Queue wrote:

The Queue Status "elements" output appears to return an empty array going back to LV 8.5 -- that's in probes or anywhere else. 


The status primitive has an elusive "return elements?" boolean which defaults to F, presumably to allow you to get the queue status without having to allocate the buffer. It's easy to miss and it would be nicer if the primitive detected that we don't use the output wire and did this on its own. Should I add an idea for that?

 


___________________
Try to take over the world!
0 Kudos
Message 11 of 13
(672 Views)

The terminal exists for use cases where people sometimes want the data and sometimes not, and they need to be able to tune for performance. If we just decided it by whether the terminal was wired or not, that use case would require a case structure and a queue status prim in each case, one wired and one not. It's in the original design specs as intended behavior for that use case.

0 Kudos
Message 12 of 13
(670 Views)

Ok... the bug appears to be in the To Probe String primitive. I'll update the CAR to reflect that. That prim's code is used in the generic probe when we display as text for the probe watch window.

0 Kudos
Message 13 of 13
(667 Views)