09-23-2013 05:23 PM
Hi Experts,
I'm new in LabView programming so please don't get rude on me. I have attached a VI that continuously gathers the temperature reading but got stuck on how to implement its flow discussed below:
Is this possible? Your feedback is very much appreciated.
Thanks,
Johnny
09-23-2013 05:56 PM
It sounds like your application is fairly simple, and if you're new to LabVIEW too, I suggest that you don't need a producer-consumer architecture here. Consider a single loop instead. Then you can use a shift register containing an array (which you have already). When it reaches 10 elements, which you can check using the Array Size function, do the comparison and prompt the user if necessary. When you restart, wire an empty array to the shift register, which will clear the array.
You need to be clearer about what you want to happen. Your code enqueues floating point numbers, but your text says "all the 10 elements in the appended array holds true" - which sounds like a boolean. Also, you are enqueuing an array, but it sounds like you meant to enqueue single elements.