11-27-2025 05:51 AM
This is from my Previous project, and it worked without error
11-27-2025 07:20 AM
Hi shangchi,
@shangchi wrote:
This is from my Previous project, and it worked without error
Because there is much more "THINK DATAFLOW" to enforce execution order!
Until now you failed to provide any code, all we got are images of parts of codes.
Do you know we cannot edit/debug/run images with LabVIEW?
(Why do you make it so hard to help you?)
11-27-2025 08:13 AM
As GerdW mentioned you need to think data flow. In your example the upper while loop runs independet from the lower while loop and even can run without the queues initialized. Your shared old example only have queue requests in the lower while loop and because you wired all queue related elements you ahve some data flow there.
11-27-2025 10:32 PM
I'm really sorry, I'm sharing the code here. Thanks for your response
11-28-2025 12:25 AM - edited 11-28-2025 12:28 AM
I'm guessing you start from "Controller.vi", which creates the queues, but then it starts "2 Station UI.vi", which wipes the queues from the functional global variable because of an apparent mistake: In "2 Station UI.vi" there is nothing wired to the FUNCTION input of Q_Manager.vi, and since the default is Initialize, it wipes all your queues from your functional global variable (my guess is it was forgotten to wire a "Read Q" value to the FUNCTION input).
11-28-2025 12:50 AM
Thank You so much banksey225. That was the real problem. Now it's working well without any error. Thanks once again and thanks to all the others responded.
Have a nice day
Regards
Shangchi
11-28-2025 01:34 AM
Hi shangchi,
@shangchi wrote:
That was the real problem.
You should have learned: attach code, not just images of code!
With code you get substantial help much faster/better…
11-28-2025 02:20 AM
Hi GerdW,
I'm new here so from next time onward, I’ll make sure to upload the code along with my question.
Thank You
Best regards,
Shangchi
11-28-2025 12:38 PM
@shangchi wrote:
Hi GerdW,
I'm new here so from next time onward, I’ll make sure to upload the code along with my question.
Thank You
Best regards,
Shangchi
If it makes you feel any better, I've been around here for about forever and I still often think my problem is simple enough not to include code... until I find I need to include code.