Monitoring Trigger Sample [trigger]

This is a program that waits for trigger input, if trigger is inputted, the result is displayed on screen.
In this program, 100ms is used as the trigger monitoring cycle.
Parameters are device name and number of trigger bits. If parameters is not set, device name is "DIO000", number of trigger bits is the total input bits of device.
In the state of command-input-wait, input 'q' to exit the program.