LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

producer consumer loop array building

Hello,

I am trying to build an array in the consumer loop of a queued vi. This is the first time I have tried to use a producer-consumer structure since class many months ago. Each element is queued and sent to the consumer loop, and in that loop I want to build an array of the elements before I save it to disk. For some unknown reason I am having trouble accomplishing this. Usually I throw this stuff into a for loop, but here it isn't working.

I am converting the random number to a string in the producer loop because when I build the real program I will be using strings.

What am I missing?

Tay
0 Kudos
Message 1 of 5
(3,029 Views)
Just built your array in a shift register.
 
 
 
(The error case is simply wired across.)


Message Edited by altenbach on 05-16-2008 08:03 PM
Message 2 of 5
(3,024 Views)
I'll have to try that; I didn't think of using the outer while loop; I wasn't thinking that it would stop and wait for the next queue; I'm still used to those things just running all the time!

Thanks!

By the way, I have a work computer that doesn't display the rate answers feature; how do I turn that on? I'm using Internet Exploder.

Tay
0 Kudos
Message 3 of 5
(3,020 Views)


slipstick wrote:
By the way, I have a work computer that doesn't display the rate answers feature; how do I turn that on? I'm using Internet Exploder.

It should show since you now have over 50 posts.... just wait a bit.
Message 4 of 5
(3,015 Views)
That worked a treat!

Thanks!

TaySmiley Very Happy
0 Kudos
Message 5 of 5
(3,014 Views)