06-24-2014 12:49 PM
You also need to attach your State_EventList VI so we can see how you have that set up.
06-24-2014 12:56 PM
see file
06-24-2014 01:42 PM
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.
06-24-2014 01:57 PM
Thanks a lot crossruiz i would never come up with this solution!!
Best
Martin