
10
Introduction
1
Introduction
This manual describes the application programming interface for OHV300 handhelds. It is
assumed the user will have programming knowledge and familiarity with the JavaScript
language.
Handhelds read code and can be programmed to transmit code data over a selected
communications link or to store data in reader memory (batch mode).
The programming environment provides interfaces to:
Read and manipulate data in reader memory.
Display information on the OHV300 screen.
Retrieve data from reader hardware or OHV300 key pad.
Access data sent by host.
Transmit data to a host computer via communications link.
Select type of communications link.
Set, change, and retrieve reader configuration settings.
1.1
Document Organization
This document is organized as follows:
Section 1, Introduction: gives a product description and describes how to use this
document.
Section 2, Programming Environment: identifies tools used to create and load
application software into reader.
Section 3, Programming Concepts: discusses how to accomplish various operations
on the reader using the application programming interface.
Section 4, Class Reference: presents classes, objects, methods, properties, and
constructors that support application programs.
Section 5 – 9: Appendix
1.2
Document and Coding Conventions
The JavaScript library uses the following naming conventions:
identifiers: mixed-case with a capital letter where words join (soCalledCamelCase);
acronyms and other initialisms are capitalized like words, e.g., nasaSpaceShuttle,
httpServer
variables and properties: initial lower case
classes (i.e., constructors): initial capital
functions: initial lower case
unit of measure: suffix to name, separated from name by underscore, using correct
case when it’s significant, e.g., offset_pixels, width_mm, power_MW, powerRatio_dB
1.3
Related Documents
OHV manuals
Interface Configuration Document
Содержание OHV300
Страница 1: ...FACTORY AUTOMATION MANUAL JAVASCRIPT PROGRAMMING GUIDE...
Страница 88: ...88 Supported JavaScript Core delete function in instanceof new this typeof void...
Страница 93: ...93 Symbology ID Modifier Information...
Страница 94: ...TDOCT 4981_ENG 11 2015...