03-27-2020 04:53 PM
Also, all of your enums for the state machine have to be the same type def. I believe that you jus5 went through and selected them and selected make typedef. You have to save the typedef and use that typedef everywhere.
03-27-2020 09:59 PM
@Frozen wrote:
I should probably not jump into this....
There are still too many coding issues for you program to work.
Most notably, you are not using the shift register correctly.
You need to maintain the information between cases by wiring every case all the way across, like this for *every* case of your state machine.
For this behaviour in general (not specific to your VI or state machines) if you want to have a value be wired straight across by default you can use "Linked Input Tunnels".
Right click on one of the tunnels and choose that option (either create or perhaps better create and wire unwired cases) and it will add a little triangle to the tunnel and in the wire unwired cases case will automatically connect them.
03-28-2020 11:45 AM
Okey, I think now I have corrected those thingsyou have told me to change