This example file creates a single column with a label ``Radial Controller'', followed by a separator and five slider bars used to update the proportional, derivative, and integral gains, as well as the derivative limit action and integrator anti-windup gains.
# Example project.
# This one is one of the easiest examples... It displays
# one column with six parameters to update
# first the required information
inputs 4 # four A/D inputs
outputs 4 # four D/A outputs
data_size 3 # three data points to return
# now let's define the window
start_col n # This is the beginning of a column
label 'Sample Widgets' # This is our label
h_separator # places a horizontal line
slider -100, 100, 10, 0 # Slider Widget
slider_with_label 'My\nLabel',-200,200,20,1
# Slider Widget with Label
spin -300,300,30,2 # Spin Button Widget
spin_with_label 'Another\nLabel', 0, 20, 3, 3
# Spin Button with label
toggle Toggle, 1, 4 # creates a toggle button with
# label "Toggle"
trigger Trigger, 5 # creates a one shot button with
# label "Trigger"
end_col # this is the end of the column
|