Showing results for 
Search instead for 
Did you mean: 

How to save data in a state machine.

Need to save 2 data points in a state.  Or how to add both data points from state to the array that is saved in write to file vi.  Please use the vi for reference.


Thank you for your help.



0 Kudos
Message 1 of 3

I'm not entirely sure what it is that you are trying to do here, why are you trying to record the states?


What do you mean by both data points?


There are about a million different ways to do this many of which seem more logical then your current system, If you can explain a little we would probably be able to help a great deal more.
If you are asking about passing out the two numbers from the User state 1 I would suggest building all of the numbers into arrays and passing them out through a concatenating exit to the while loop.

0 Kudos
Message 2 of 3

I just add a save data to your type def.. see attached file.

Thank you & Best regards

“You must continue to gain expertise, but avoid thinking like an expert." -Denis Waitley
0 Kudos
Message 3 of 3