LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
Timmar

Advanced Array Handling in Queues

Status: Declined

Any idea that has received less than 2 kudos within 2 years after posting will be automatically declined. 

I work a lot with serial data and use a producer consumer architecture. I would like some special que functions that allow packet data to be acquired and manipulated

 

Queue.png

On the Left Hand Side, Data arrives in irregular chunks, Enqueue data to polymorph to accept array.

Converse, unpack(et) data chunks of determined size. Allows code to wait for packet instead of reacting to each character.

 

On the right hand side:

Chunks are queued, provide a concatinated flush for array data type.

iTm - Senior Systems Engineer
uses: LABVIEW 2012 SP1 x86 on Windows 7 x64. cFP, cRIO, PXI-RT
3 Comments
tst
Knight of NI Knight of NI
Knight of NI

The enqueue, at least, as been suggested - http://forums.ni.com/t5/LabVIEW-Idea-Exchange/Enqueue-array-of-elements/idi-p/970556

I would suggest you also read the comments there, as they would also partially apply to the dequeue case in your idea.

 

As for the flush case, this could be made easier if this idea was implemented - http://forums.ni.com/t5/LabVIEW-Idea-Exchange/Add-a-quot-Concatenate-Indexing-quot-option-for-arrays...

I'm not saying it or isn't needed (although I hardly ever flush queues), just that this would be an alternative solution.


___________________
Try to take over the world!
AristosQueue (NI)
NI Employee (retired)

Tst's alternative solution for the concatenate indexing would be higher performance since at no point would LabVIEW actually have to allocate and concatenate those multiple arrays. I think that would be a better idea.

Darren
Proven Zealot
Status changed to: Declined

Any idea that has received less than 2 kudos within 2 years after posting will be automatically declined.