Using the buttons on InspectorP devices.
A connected InpspectorP device is necessary to run this sample. This script using the button events 'OnPressed' and 'OnReleased' from two buttons of the InspectorP. Each event will call the according function. Starting this sample is possible either by running the App (F5) or debugging (F7+F10). When it is running, the results can be seen when pressing the buttons on the device. More information can be found in the Tutorial "Audio-Visual Feedback InspectorP
Device, InspectorP, Hardware, Sample, SICK-AppSpace