LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Statemachine Eventlist

Solved!
Go to solution

You also need to attach your State_EventList VI so we can see how you have that set up.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 21 of 24
(456 Views)
0 Kudos
Message 22 of 24
(451 Views)
Solution
Accepted by topic author Martin88

Ok, you seem to have missed the point of the Action Engine.  The Action Engine itself is supposed to hold any information that it is in charge of.  In this case, it is the file path and the previous state.  I cleaned up your VIs quite a bit and redid some of your state saving logic.  I made it so that you only log the state if the state gets changed.  Repeated states will not cause the file to be written to.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 23 of 24
(439 Views)

Thanks a lot crossruiz i would never come up with this solution!!

Best 

Martin

0 Kudos
Message 24 of 24
(430 Views)