manufacturer of I/O-rich SBCs, operator interfaces, handheld instruments, and development tools for embedded control low cost single board computers, embedded controllers, and operator interfaces for scientific instruments & industrial control development tools for embedded control order our low cost I/O-rich embedded control products embedded controller manufacturer profile single board computers & embedded controllers development tools & starter kits for your embedded design operator interfaces with touchscreens and graphical user interface plug-in expansion modules for digital & analog I/O C language & Forth language integrated development tools, IDE single board and embedded computer accessories embedded controller enclosures, bezels, environmental gaskets

The C Programmer’s Guide to the Mosaic Handheld

Table of Contents

PART 1 GETTING STARTED

Introduction. How to Use This Manual

Chapter 1: Getting to Know Your Handheld Instrument

Chapter 2: Powering Your Handheld

PART 2 PROGRAMMING THE MOSAIC HANDHELD

Chapter 3: Your First Program

Chapter 4: The IDE: Writing, Compiling, Downloading and Debugging Programs

Chapter 5: Making Effective Use of Memory

Chapter 6: Real Time Programming

Chapter 7: Failure and Run-Time Error Recovery

Chapter 8: Programming the Graphical User Interface

PART 3 COMMUNICATIONS, MEASUREMENT, AND CONTROL

Chapter 9: Digital and Timer-Controlled I/O

Chapter 10: Data Acquisition

Chapter 11: Serial Communications

Chapter 12: The Battery-Backed Real Time Clock

Chapter 13: Customizing the Handheld's I/O

PART 4: REFERENCE DATA

Appendix A: GUI Function Reference

Appendix B: Handheld Schematics

<< Previous | Next >>

Appendix A: GUI Function Reference

Alphabetized List of Functions


A     B     C     DF    G     H     I     K     LM    N     P     R     S    T    UVWXY   

Categorized List of All Objects, Properties, & Methods

Object Types (constants used by New_Object)

ACTION_KEY

DATA_ENTRY_KEY

FONT

GRAPHIC

PLOT

SCREEN

SHIFT_KEY

TEXTBOX

Errors (constants returned by Read_Error)

BUFFER_SIZE_OUT_OF_RANGE

DATA_OUT_OF_RANGE

DISPLAY_INITIALIZATION_FAILURE

GUI_EXISTS

HEAP_FULL

HEIGHT_OUT_OF_RANGE

INVALID_FONT

INVALID_IMAGE

INVALID_KEY

INVALID_OBJECT

INVALID_PLOT

INVALID_PROPERTY

INVALID_SCREEN

INVALID_SHIFT_VALUE

INVALID_TEXTBOX

KEY_POS_OUT_OF_RANGE

LINE_OUT_OF_RANGE

NO_ERROR

WIDTH_OUT_OF_RANGE

X_OUT_OF_RANGE

Y_OUT_OF_RANGE

 

Properties Of Objects
(constants used by Set_Property & Get_Property)

GUI_TOOLKIT

ABORT_ON_ERROR

AVAILABLE_HEAP_SPACE

CURRENT_SCREEN

HORIZONTAL_SNAP_TO_GRID

SERVICE_EVENTS

STANDARD_FONT

VERTICAL_SNAP_TO_GRID

 

 

GUI_DISPLAY

BACKLIGHT_ON

BRIGHT_BACKLIGHT

CONTRAST

HEIGHT_IN_PIXELS

WIDTH_IN_PIXELS

 

GUI Screens

HEIGHT_IN_PIXELS

IN_DISPLAY

NUM_OBJECTS

SCREEN_ADDRESS

VISIBLE

WIDTH_IN_PIXELS

GUI Keypads

DATA_ENTRY_EVENT_PROCEDURE

DATA_ENTRY_TEXTBOX

INT_DATA_ENTRY_EVENT_PROCEDURE

KEYPAD_BEEP

KEYPAD_BEEP_DURATION

KEY_CODE

KEY_EVENT

KEY_TYPE

PRESS_NUMBER

PRIOR_KEY_CODE

PRIOR_KEY_EVENT

PRIOR_KEY_TYPE

SHIFT_EVENT_PROCEDURE

SHIFT_STATE

SHIFT_STATE_TEXTBOX

GUI_PEN

LAST_COORDS

PEN_TYPE

SHAPE

TARGET_SCREEN

 

 

GUI_BUZZER

BEEP_TIME

BUZZER_ON

 

GUI_BATTERY

BATTERY_CURRENT

BATTERY_STATE

BATTERY_VOLTAGE

CHARGER_STATE

 

 

Graphic

HEIGHT_IN_PIXELS

IMAGE

WIDTH_IN_PIXELS

Font

HEIGHT_IN_PIXELS

IMAGE

IMAGE_WIDTH_DATA

WIDTH_IN_PIXELS

 

 

Textbox

BORDER

FIRST_VISIBLE_LINE

HEIGHT_IN_PIXELS

INVERT

RENDER

STRING_LENGTH

STRING_LINES

TEXTBOX_FONT

TEXTBOX_ROWS

WIDTH_IN_PIXELS

 

 

Action Key

BLOCK_ON_HOLD

BLOCK_ON_PRESS

BLOCK_ON_RELEASE

HOLD_EVENT_PROCEDURE

PRESS_EVENT_PROCEDURE

RELEASE_EVENT_PROCEDURE

Data Entry Key

NUM_SHIFT_DOWN_VALUES

NUM_SHIFT_UP_VALUES

SHIFT_DOWN_VALUE0

SHIFT_DOWN_VALUE1

SHIFT_DOWN_VALUE2

SHIFT_DOWN_VALUE3

SHIFT_DOWN_VALUE4

SHIFT_NEUTRAL_VALUE

SHIFT_UP_VALUE0

SHIFT_UP_VALUE1

SHIFT_UP_VALUE2

SHIFT_UP_VALUE3

SHIFT_UP_VALUE4

 

 

Shift Key

SHIFT_TOGGLE

SHIFT_TYPE

 

Plot

BORDER

BUFFER_SIZE

HEIGHT_IN_PIXELS

WIDTH_IN_PIXELS

 

 

Pre-Instantiated Object Reference Constants

GUI_BATTERY

GUI_BUZZER

GUI_DISPLAY

GUI_FONT

GUI_KEYPAD0

 

GUI_KEYPAD1

GUI_KEYPAD2

GUI_KEYPAD3

GUI_PEN

GUI_SCREEN0

GUI_SCREEN1

GUI_SCREEN2

GUI_SCREEN3

GUI_TOOLKIT

Battery Constants

FULL_BATTERY

MEDIUM_BATTERY

LOW_BATTERY

NO_BATTERY

Keypad Event Constants
(contained in the KEY_EVENT and PRIOR_KEY_EVENT property)

HOLD_EVENT

NO_EVENT

PRESS_EVENT

RELEASE_EVENT

Keypad Type Constants
(contained in the KEY_TYPE and PRIOR_KEY_TYPE property)

ACTION_KEY

DATA_ENTRY_KEY

NO_KEY

SHIFT_KEY

Keypad Shift State Constants
(contained in the SHIFT_STATE property)

SHIFT_DOWN 

SHIFT_NEUTRAL

SHIFT_UP  

GUI Methods

Add_Character

Add_Data

Buzz

Calibrate

Clear

Clear_Error

Copy_Screen

Delete_Character

Draw

Get_Property

Initialize_GUI

Initialize_Battery

Insert_Key

Load

New_Object

Read_Battery

Read_Error

Redraw

Refresh

Remove_Event

Schedule_Event

Service_GUI_Events

Set_Property

STRING_TO_TEXTBOX

Textbox_To_String

Un_Load

 

<< Previous | Next >>


Home|Site Map|Products|Manuals|Resources|Order|About Us
Copyright (c) 2006 Mosaic Industries, Inc.
Your source for single board computers, embedded controllers, and operator interfaces for instruments and automation