You still have nodes with two output paths... Review your diagram and correct ALL the errors!Corrected
View attachment 215397
What do you think about below state diagram?You still have nodes with two output paths... Review your diagram and correct ALL the errors!
You still have nodes with two output paths... Review your diagram and correct ALL the errors!
No, I was talking about the second image. This one... And the mistake is still there.Are you talking about the first image, yes it is my fault that I have connected the arrow in the wrong direction. If you look at the second image, you will not see this mistake.
View attachment 215411
How many outbound arrows emanate from the node/state on the right?I am sorry but I don't see any logical error.
I am checking current and next condition at every node
Do you mean it should be look like below?
View attachment 215413
Thank you JohnInTX, I see a few similarities in your last diagram and my diagram in post#1. There is no doubt, Your diagram far better than my diagram. your diagram is very neat and clean. I appreciate you and all the members for help
Try deriving a problem statement from my notes and the MOTOR CONTROL diagram above.Could you help me in making a problem statement which will help me later in understanding the state process diagram?
I have below idea in my headTry deriving a problem statement from my notes and the MOTOR CONTROL diagram above.
It seems to me that to understand a process state diagram, I have to understand pre-emptive multitasking. I have read a few pages that have great information but the problem is that it only explained about multi tasking but there is no reference example given in linksTry deriving a problem statement from my notes and the MOTOR CONTROL diagram above.
No, you don't.It seems to me that to understand a process state diagram, I have to understand pre-emptive multitasking.
It’s been 40 years and I may have forgotten more than I remember. Please ignore my last comment.I don't understand exactly what's your point. do you want to reduce the number of arrows?
View attachment 215462
OK, I've gone through some pre Preemptive multitasking pages as mentioned in previous post.No, you don't.
A state machine is simply one way to express and implement a set of logical processes. State machines are frequently used to implement multitasking but they are two separate things entirely. State machines can be implemented in hardware and non-multitasking software solutions too.
No. You need to demonstrate that you can understand and express a process using a state diagram and/or flow chart before going off on yet another tangent. You haven't done that. In #35, I identified problems with your logic and showed one solution. In #38, you amplified your original system to include fault priorities. Great! But you haven't shown that you can put it all together and now you want to change the topic to something that is wholly unrelated.OK, I've gone through some pre Preemptive multitasking pages as mentioned in previous post.
Suppose I have to complete all four tasks through Preemptive multitasking, then How to decide time out for each task. How much time should be allow for each task to run
I have already created a one state diagramTake the information in #35 and your logic description adding extra inputs in #38 and draw the state diagram. Until you can do that, you are wasting your time. Sorry to be blunt but that's pretty much the reality.
Good luck!
by Jeff Child
by Jake Hertz
by Jake Hertz