State Diagram “Scanner Statechart”This diagram describes the behavior of the scanning device.
(Yes, I know it is out of context, we'll just buy one that works.
However, I want to show my boss that we can do state diagrams.)
Diagram Node Summary |
|
Start |
|
State: Barcode scanner active state. |
|
Start |
|
State: Send an acknowledgement. |
|
State: Waiting for the device to acknowledge communication. |
|
State: Scan was received and verified. |
|
State: Scan is not yet good. |
|
End |
Diagram Node Detail
Start "StartState1"
All Outgoing Links |
|
to State Active |
State "Active"Barcode scanner active state.
Nested Nodes
Start "StartState2"Nested in node:
State "Ack"Nested in node:
Send an acknowledgement.
State "Waiting for Ack"Nested in node:
Waiting for the device to acknowledge communication.
Nested Nodes
State "GoodScan"Nested in node:
Scan was received and verified.
All Outgoing Links |
|
to State Ack
|
State "NoScan"Nested in node:
Scan is not yet good.
End "EndState1"