LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error messages

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.

0 Kudos
Message 141 of 143
(763 Views)

@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.

 

Frozen_0-1585343037735.png

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.

 

Frozen_1-1585343248175.png

 

 


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.


GCentral
0 Kudos
Message 142 of 143
(750 Views)

Okey, I think now I have corrected those thingsyou have told me to change

0 Kudos
Message 143 of 143
(729 Views)