12-31-2020 02:23 PM
Hello, I am learning a state machine for data acquisition purposes so I developed a code that will be similar to my system. I have 4 states ( Initialization, Acquire, UserResponse, and Stop). I want to be able to build an array from the initialization and acquire states into the same row. At the moment, my array is plotting all my states (shown in the picture) I would like my Initialization and Acquire code to display in the same row... In the excel picture is the intended goal. Any recommendations?
Thank you so much!
Solved! Go to Solution.
12-31-2020 03:46 PM - edited 12-31-2020 03:47 PM
That should be it. Give it a try and see what you get.
12-31-2020 03:55 PM - edited 12-31-2020 03:55 PM
One other thing, get rid of that while loop inside one of the case structures. It's not needed.
12-31-2020 05:04 PM
Have you looked at the finite data acquisition project template? I think that would be a better starting point.
12-31-2020 05:31 PM
Hi, where could I find this? I have been looking for something similar to this and couldn't find it.