You can test your application using the CIMPDEMO project. Just execute the same steps for your application that you did for the sample program.
More information
External Alarm State Management getting started.