Controls make up the visual and interactive elements of the GUI. These can be easily placed from the Controls Palette (press F2) or created using instructions. Available controls include:
•Standard default GUI controls such as buttons, labels, textboxes, radio buttons and lists.
•Control and indicating controls such as sliders, spinners, progress bars, thermometer, canvas control.
•Serial Control for data reception and transmission to devices.
•Plotting controls for visualizing analog and digital data
•Timer Control for one-shot and recurring actions.
•Logging Control to store data to files.
•Image controls that can have images assigned to them for specialized appearance or use.
Controls on the background of an interface have a coordinate system of 0,0 at upper left to 100,100 at lower right. When created or moved, their positions and size are defined by name, X, Y, Width, Height and parameters. Controls can be placed while in edit mode (F9) from the Controls Palette or using code:
!makeTextBox txtVoltage,10,10,20,10,0.0
Controls have Properties, Update Values and Event code which can be edited through the Interface Editor (F3). While in edit mode, clicking a control will select that control for editing. Many controls have instructions to tell them to perform some operation.
.png)
|