LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Find and replace variables

Solved!
Go to solution

That's sort of what I'm doing: I'm updating the queue reference control by writing into it and reading from it from multiple places in the code.

 

Note that I said local variables can be used to update controls/indicators - by that I meant controls/indicators on the front panel - user interface elements. You are using the local variables as a data variable which, as alluded to from the links, isn't really what they should be used for.

 

And I surely take care about race conditions: I start both cycles only after I've made sure that the queue has been successfully created. And I don't delete the queue until they have finished the execution. I see no other race conditions that could arise when using queue references.

 

Without seeing your code to see what you're doing I can't be sure but can you not just create the queue outside of both loops and just wire the reference into both loops? Take a look at producer/consumer architecture with queues to see what I mean:

 

Anyway, glad you found the solution to your problem. Apologies if I antagonised you in any way but I found your response to Mike's (volunteered offer of help) quite rude and while I normally try to stay out of any 'internet drama' I felt compelled to say something in this instance.


LabVIEW Champion, CLA, CLED, CTD
(blog)
0 Kudos
Message 21 of 25
(963 Views)

How to get ctrlName

0 Kudos
Message 22 of 25
(225 Views)

@1008_Dinesh wrote:

How to get ctrlName


You added to a 10 year old thread with four ambiguous words (not even a real sentence). I would recommend to start a new thread and explain with a few paragraphs exactly what problem you are trying to solve.

0 Kudos
Message 23 of 25
(201 Views)

@altenbach wrote:

@1008_Dinesh wrote:

How to get ctrlName


You added to a 10 year old thread with four ambiguous words (not even a real sentence). I would recommend to start a new thread and explain with a few paragraphs exactly what problem you are trying to solve.


Altenbach, I agree the last reply was ambiguous. But they likely were asking about this post where there is a property node of CtrlName.  

0 Kudos
Message 24 of 25
(172 Views)

@Hooovahh wrote:

@altenbach wrote:

@1008_Dinesh wrote:

How to get ctrlName


You added to a 10 year old thread with four ambiguous words (not even a real sentence). I would recommend to start a new thread and explain with a few paragraphs exactly what problem you are trying to solve.


Altenbach, I agree the last reply was ambiguous. But they likely were asking about this post where there is a property node of CtrlName.  


Ah, OK. Well, I did a text search for that term and nothing came up. I guess the browser does not have enough AI implemented to find text in pictures. 😄

0 Kudos
Message 25 of 25
(161 Views)