Button Interface
The Button Interface module provides you with a set of programmable buttons that
can be made to create
and reset variables when clicked. This allows you to create a single interface to set variables which
can cause different actions elsewhere in the processing pipeline. This interface is very handy when you want
to create a centralized stop or pause button that will stop your robot when needed.
Although the interface is currently restricted to just buttons a good deal of configuration is
available by clicking on the config button.
Interface
Configuration Interface
Instructions
1. Buttons - Use the immediate interface to click on any of the buttons (maximum of 8 buttons) to set
variables according to the button press.
2. Config - Click on the Config button to configure more buttons or change the behavior of the current default buttons.
3. Tabs - The configuration interface shows one tab per button. Click on the tab whose button you wish to configure.
4. Name - the display name of the button shown in the interface.
5. Button Color - the color of the background of the button
6. Text Color - the color of the text the Name will be displayed in
7. Is Bold - indicates if the button name is to be displayed in bold
8. X,Y - the x and y coordinates (position) of the button
9. Width, Height - the dimensions of the button
10. Is Toggle - determines if the button is a toggle button, i.e. it remains pressed until clicked again.
When pressed the variable will retain its value, when released it will be removed.
11. Variable - the name of the variable to set when the button is pressed.
12. Value - the value to set the variable to when the button is pressed.
13. Clear on Release - indicates that the variable should be removed when the button is released
or if the value is to remain after the button has been released. You will be responsible for
removing the variable elsewhere within the pipeline in this case.
14. Popup on Load - causes the button interface to popup immediately once the program loads. This
releases you from having to hunt and edit this module to view the interface.
Example
Click here
to load a configuration where you can view the created variables when a particular button is pressed.
|