05-08-2022 08:31 AM - edited 05-08-2022 08:32 AM
Here is your VI, saved in LabVIEW 2019.
The Good News is that you used an Enum to drive your State Machine (I do the same thing -- I prefer Enums for this purpose), and, even better, you created a TypeDef for your Enum (so you can reuse it). Did you put your VI and your Enum in a LabVIEW Project, perhaps contained in a File Folder? The Bad News is that you forgot to include the Enum definition in your submission!
When you have a LabVIEW Project, and it is contained in a Folder (to keep its files from getting mixed up with other LabVIEW files), you should Compress the Project Folder and attach the resulting .ZIP file.
But don't worry, I was able to re-create the Enum, and have included it here as a Front Panel control called "Enum".
I'll let Gert take it from here.
Bob Schor
05-08-2022 09:18 AM
I don't quite understand what do you mean, but thank anyway. I don't know if you are talking about LabView control file because LabView asked me to save it. Here it is.
05-08-2022 10:28 AM - edited 05-08-2022 10:30 AM
OK, there are plenty of glaring errors.
05-08-2022 01:08 PM
Can you show me how to fix the problems, you can use my VI.
05-08-2022 01:46 PM
@Altenbach -- the "Enum" is mine. I down-converted the OP's code, which was posted without the attached Control; I created it from "inspection".
Bob Schor
05-09-2022 02:48 AM
You can do something like for a your timer. Now you need to integrate it into your state machine.