05.05.2014 Views

csmstr - Omega Engineering

csmstr - Omega Engineering

csmstr - Omega Engineering

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

PRIMITIVE DESCRIPTIONS<br />

CRIMSON USER MANUAL - MODULAR CONTROLLER<br />

• The Show Item property is a true-or-false value used to hide or show the<br />

primitive. A value of zero will hide the primitive.<br />

• The Fill Format properties are used to define the background of the primitive.<br />

• The Line Format properties are used to specify the format of the optional border<br />

around the primitive.<br />

The second tab of the primitive’s properties is used to define optional actions that can be<br />

triggered when the operator touches the image. You are referred to the earlier section on<br />

assigning actions to the primitives for more details of how to configure this functionality.<br />

CONVERTING IMAGES FOR THE COMPACTFLASH<br />

In order to prepare images for the CF Image primitive, the “makepic” utility is used. This<br />

utility can be found under Crimson 2.0 installation folder and is a command line based utility.<br />

Makepic can only convert BMP images and it is strongly recommended to resize the image to<br />

its final appearance on the panel before the conversion.<br />

The syntax for makepic is as follow:<br />

makepic {switches} <br />

… where is the path and file name of the image you whish to convert and<br />

the number assigned to the converted picture, number that will be used<br />

by the primitive in the Image Selection property to identify the image.<br />

The switches field may contain one or more of the following options…<br />

• -nocomp can be used so the Bitmap result is not compressed.<br />

• -wide can be used to use 16 bit colors instead of 256.<br />

As an example, the following command line…<br />

makepic C:\MyImages\picture.bmp 1<br />

… will convert the image picture.bmp and create a file pic001.g3p under the makepic<br />

installation folder. This file can then be copied over to the CompactFlash card under the<br />

\PICS folder. This image will be available for the CF Image primitive when image selection is<br />

equal to 1.<br />

THE DIAL GAUGE PRIMITIVES<br />

The Full Dial Gauge primitive displays an integer value as a pointer with a 270º<br />

swing within a full circle. The primitive can optionally display the data value, and<br />

the associated data label. The number of scale divisions can also be defined.<br />

The Half Dial Gauge primitive functions as does the full dial gauge, but displays<br />

a pointer with a 180º swing within a half-circle. All the other formatting and<br />

display options remain the same.<br />

PAGE 214<br />

http://www.redlion.net/controller

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!