‎11-22-2019 05:27 AM
Hi everyone,
I have some trouble with communication between asynchronous called VI’s in Labview NXG 4.0.
I try to use a Queue to signalize when a VI was closed. I find out that this has something to do with the option: simultaneously call of invariant VI’s in open VI reference. Here I got an error of invalid input parameters. If I deselect this option it runs as expected. I add an example of this behaviour.
‎12-02-2019 08:03 AM
In addition to my comment above, more generally, is there a way to communicate between parallel tasks in Labview NXG right now? I try to find a solution with queues, but I don’t find a solid workaround.
‎05-20-2020 05:13 PM
Hello Tofr4n,
Why you didn't use event structure to detect VI closing?
Keep in mind that in order to share queue data between VIs in the same project you should give it name.
Additionally I suggest you to try this method too.
Could you please describe the task more detailed?
‎05-20-2020 05:31 PM
@VA.KI wrote:
Hello Tofr4n,
Why you didn't use event structure to detect VI closing?
Keep in mind that in order to share queue data between VIs in the same project you should give it name.
Additionally I suggest you to try this method too.
Could you please describe the task more detailed?
I don't think you need to give the queue a name in order to do that. In fact, naming a queue can end up biting you if you have a typo, or (even worse) if you forget and name two queues the same. I usually stick all my queue refs into a global before my QMH even starts so I can distribute it as needed. I have also confirmed that queues - named, or otherwise - work just fine in NXG. I'll see if I can take a look at the code when I get home, where I have LV NXG 5.0 Community Edition installed.
‎05-21-2020 08:04 AM
I'm actually not quite certain what your code is supposed to do. To me, it appears to be doing what you programmed it to do, so I need to know what you wanted it to do. Thanks!