Defined Macro Buttons/Menus
Home ] Up ] Basic Concepts ] Serial Connection ] Plotting Basics ] Logging, Saving and Printing ] Interactive Control ] Macro Basics ] Macros - Default & Events ] Macro Math Discussion ] [ Defined Macro Buttons/Menus ] Drawing Basics ] Media and Paths ] Drawing Coordinate Modes ] Plot Objects ] Macro Editor ] Using Templates ] External Applications ] Historical/Logged Data ] Internet ] Binary and Special Data ]

Macro Buttons/Menu
Macro Buttons and Menus allows the naming and coding of the Defined menu, pop-up menu, and the configuration buttons.

bulletManually Configuring
bulletThe captions and functions of the menus and buttons may be assigned using the Configuration Window.
bulletBy clicking a button you execute the macro code assigned to it.
bulletBy right-clicking a buttons, you may change the caption of a button and the macro code assigned.
bulletThe configuration may be saved as a *.btn file and reloaded. Further more, a button-group configuration may be assigned to the Start-Up Macro so when StampPlot reloads, they are available.
bulletThe installed configuration opens other button files to dynamically change the button configurations.
bulletThe buttons are also available as menu items under the Macro menu, or as a popup-menu by right clicking on the plot.
bulletThis allows great flexibility in using the pre-made configurations, or making special configurations of your own.
bulletComplex macros may be called using the MACR instruction, or other button configurations may be loaded using the !BUTL instruction.

Using and configuring Menu Buttons

Right-Click plot for pop-up

Use from the Defined menu

bulletCoding Menu/Buttons
Commands associated with buttons: 
bulletTo change a value of a button:
!BUTC button number 0-12,button caption, Instructions
!BUTC 9,Connect and Plot, !PLOT ON(CR)!RSET(CR)!CONN ON
bulletTo load a button configuration: (buttons files by default are in the Macro directory)
!BUTL (path)filename.btn
!BUTL buttons\config.btn