06-03-2015 04:40 AM
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.
02-20-2025 09:55 PM
How to get ctrlName
02-21-2025 11:16 AM
@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.
02-24-2025 07:41 AM
@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.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
02-24-2025 09:37 AM
@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. 😄