3 bargraph widgets, 4 label widgets, 5 numeric widgets – Rice Lake 920i USB Installation Manual V5.05 User Manual

Page 114: Bargraph widgets, Label widgets, Numeric widgets

Advertising
background image

108

920i Installation Manual

10.2.3

Bargraph Widgets

Barg raph widgets allow display of vertical or
horizontal graphs, either a normal bargraph style or a
needle gauge, with or without graduations. The graph
can be used to represent scale weight or progress
toward a setpoint target value.

WDGT#n=3, left, top, width, height, border_style,

bargraph_widget_style, graduations, orientation,
name/alias, data_source, data_field, data_subfield,
visible, screen_number

where:

n=widget number
3= bargraph widget type
left = left edge location, in pixels
top = top edge location, in pixels
width = width, in pixels
height = height, in pixels
border_style = 1 (none) or 2 (fixed single)
bargraph_widget_style = 1 (basic), 2 (meter)
graduations = 1 (on), 2 (off)
orientation = 1 (horizontal), 2 (vertical)
name/alias = text name or alias
data_source = 1 (scale), 2 (program), 3 (setpoint)
data_field

If data_source = 1, data_field is the scale channel

number

If data_source = 3, data_field is the setpoint number,

1–100, or 0 (current setpoint)

data_subfield

If data_source = 1, data_subfield is 1 (gross), 2 (net), 3

(displayed value)

If data_source = 3 and bargraph_widget_style is 2,

data_subfield is the current value of the setpoint.

visible = 1 (on) or 2 (off)
screen_number = 1–10

Example:

WDGT#2=3,30,30,30,100,2,1,1,2,,Graph1,1,1,1,1,2<CR>

creates a visible, 30 x 100 pixel bargraph widget for
screen 2, named Graph1, with a single border, with the
upper left-hand corner of the bargraph at pixel location
30,30 (near upper left corner of display). The bargraph
is of the basic style (1), with graduations turned on (1)
and is oriented vertically (2). Bargraph source is the
gross weight from scale channel 1.

10.2.4

Label Widgets

Label widgets are used to insert a text label in the
display.

WDGT#n=4, left, top, width, caption, border_style,

justification, font_size, name/alias, data_source,
data_field, data_subfield, visible, screen_number

where:

n=widget number
4= label widget type
left = left edge location, in pixels
top = top edge location, in pixels
width = width, in pixels
caption = text caption

border_style = 1 (none) or 2 (fixed single)
justification = 1 (left), 2 (right), 3 (center)
font_size = 1 (9 pt), 2 (12 pt), 3 (18 pt)
name/alias = text name or alias
data_source = 1 (scale), 2 (program), 3 (setpoint), 4

(caption text)

data_field

If data_source = 1, data_field is the scale channel

number

If data_source = 3, data_field is the setpoint number,

1–100, or 0 (current setpoint)

data_subfield

If data_source = 1, data_subfield is the scale alias (text
If data_source = 3, data_subfield is the setpoint name

visible = 1 (on) or 2 (off)
screen_number = 1–10

Example:

WDGT#2=4,60,60,120,Caption,

2,1,1,Label1,4,0,0,1,2<CR>

creates a visible, 30 x 100 pixel label widget for screen
2, named Label1, with a single border, with the upper
left-hand corner of the label at pixel location 60,60.
The label is left-justified (1), with text in a 9-pt font
(1). Label source is the text specified for the caption
(4)—the word “Caption”.

10.2.5

Numeric Widgets

Numeric widgets are used to pr ov ide numeric
information in the display.

WDGT#n=5, left, top, width, border_style, justification,

font_size, name/alias, data_source, data_field,
data_subfield, visible, screen_number

where:

n=widget number
5= numeric widget type
left = left edge location, in pixels
top = top edge location, in pixels
width = width, in pixels
border_style = 1 (none) or 2 (fixed single)
justification = 1 (left), 2 (right), 3 (center)
font_size = 1 (9 pt), 2 (12 pt), 3 (18 pt)
name/alias = text name or alias
data_source = 1 (scale), 2 (program), 3 (setpoint)
data_field

If data_source = 1, data_field is the scale channel

number

If data_source = 3, data_field is the setpoint number,

1–100, or 0 (current setpoint)

Advertising