State Programming and State Transition Diagram - NI Learning Center