LabWindows/CVI

Content Type
Programming Language
Current manual

Operating Controls

Operating Controls

A control is an object that resides on a panel to accept input from the user and to display information. The User Interface Library supports the following control types:

ActiveX

Binary Switch

Canvas

Color Numeric

Command Button

Digital Graph

Decoration

Graph

LED

List Box

Numeric

Numeric Slide

Picture

Picture Button

Picture Ring

Radio Button

Ring

Ring Slide

Splitter

String

Strip Chart

Tab

Table

Text Box

Text Button

Text Message

Timer

Toggle Button

Tree

To make a control ready to accept input, click the control or press <Tab> or <Shift-Tab> to move from one control to the next. Pressing <Alt> and the underlined letter in the label of the control makes that control ready to accept input, provided that no accessible menu bars contain a menu with the same underlined letter. On some controls, such as command buttons, pressing <Alt> and the underlined letter generates a commit event.

Data Types of Controls

Every control has a data type associated with it. The data type of the control determines the data type of variables used to set and obtain the value of the control. The following list shows LabWindows/CVI control data types, but keep in mind that not all data types are valid for each type of control.

unsigned char
char
char *
unsigned short int
short int
unsigned long int
long int
float
double
unsigned long long int
long long int
size_t
signed size_t
pointer difference
unsigned pointer-sized integer
pointer-sized integer

Related Topics

Programming Controls

In This Section
Was this information helpful?