06-02-2024 06:28 AM
I wrote a machine but I could not fix many bugs. Especially, when I start the machine, all the control in cluster will be disabled( I did not set it ). Moreover, when I run it, it will somehow happened like return to initial after the first selection(didn't set it). Here is my machine.
06-02-2024 09:46 AM
I can unzip your attachment, but all I see in there are two VIs written in LabVIEW 2024 (which I cannot open, as my most recent version is 2021), 4 controls (also unopenable), and a folder with "log.txt" that seems to show error conditions.
Bob Schor
06-02-2024 09:49 AM
06-02-2024 12:42 PM - edited 06-02-2024 01:14 PM
Hi SJPAN,
You will have to do several improvements here. First your block diagram scared me. It does not have to be this big: (had to zoom out quite a bit)
EDIT:
Missing Data Flow Understanding:
Additionally:
1) You have nested while loops.
2) Overly used local variables.
3) Missing ENUM (fixed).
4) Too many flat sequence structures.
Typically, you would want to use one main while loop and then a case structure in it to control the states. Step by step processes.
I personally think that you should re-start referencing car wash project posted here: https://forums.ni.com/t5/LabVIEW/CLD-Solution-Car-Wash-System/td-p/986134 https://forums.ni.com/t5/Example-Code/CLD-Car-wash-solution/ta-p/3491853 and understand what you did wrong, how you can improve your code.
I have converted your project for previous version (2019) if someone else wants to take a look.
06-02-2024 05:01 PM
After a 10 second look and an auto-cleanup, I will stay away. The only nice thing is the front panel (and that was probably provided). (remember, don't judge a VI by its front panel!)
I have moved your thread to the "certification forum" where many car wash examples are already posted and commented. Look for them!