Creating a Session and Controlling States - NI Learning Center