LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Filling in an array from multiple threads

Solved!
Go to solution
Solution
Accepted by topic author MimiKLM

LordNobady wrote:

@Queues seems like an option to I only don't have experience with them.


Then give this a try


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 11 of 13
(432 Views)

If the functional global variable is storing the array, then when you concatenate new data to the array, do that operation within the functional global variable itself, thus giving some actual meaning to the term "functional".  That might mean a third action on the FGV.  Besides "Get" and "Set", you'd add "Append".

Message 12 of 13
(421 Views)
 
,

I think the most natural solution for the problem is using the queues. It really looks like they are designed to do things like this.

 

RavensFan,

Thank you for valid point about FGV.

 

LordNobady,

Thanks for obvous siplification

0 Kudos
Message 13 of 13
(415 Views)