Download OptoTerminal Programmer`s Reference Manual

Transcript
FOREWORD
The Qlarity-based terminals’ software is divided into four major components: User Application (created in Qlarity
Foundry™ or a compatible text editor using the Qlarity™ programming language), Application Binary (the user application
compiled as binary so it can be downloaded to the terminal), System Software and Operating System (written in C using µC/
OS) and the Hardware Abstraction (for the Windows® and the terminal’s hardware drivers).
Chapter 1
OptoTerminal Software Fundamentals. This chapter provides basic information on the Qlarity-based terminal software, including the Qlarity programming language and the message handling system.
Chapter 2
Qlarity Language Syntax. This chapter provides detailed information on the syntax for writing in Qlarity.
Chapter 3
Messages and Message Handler Prototypes. This chapter provides descriptions of all system messages.
Included is the format (number and types of parameters and return type) that must be used to declare a handler for each message.
Chapter 4
Qlarity API Function Reference. This chapter describes the available API (Application Programming Interface) functions, their parameters and return values, and the operations they perform.
Appendix A
Built-in Constants and Defined Types. This appendix contains tables showing all of the Qlarity built-in
constants and defined types.
Appendix B
Exception List. This appendix lists the names and associated descriptions of all possible exceptions.
Appendix C
Qlarity Command Line Compiler. This appendix provides information on the Qlarity command line compiler, which is used to compile the BASIC file if you created your user application in a text editor.
Appendix D
Qlarity API Functions Quick Reference List. This appendix provides an alphabetical listing of all Qlarity
API functions for quick reference.
MANUAL CONVENTIONS
The following conventions are used to identify selections in this manual.
Syntax, commands, and examples are shown in the Courier typeface: rem <comment>
Opto 22 Fax 800-832-OPTO (6786) Web www.opto22.com Phone 800-321-OPTO (6786)