
64
Class Reference
4.3.1.12
clearTimeout
The
clearTimeout
method removes the instance of
setTimeout
that has the handle
timeoutId
.
Format:
reader.clearTimeout(timeoutId);
Where:
timeoutId
– program provided timeout ID.
4.3.1.13
shiftJisToUnicode
The
shiftJisToUnicode
method converts a string from Shift-JIS encoding to Unicode
encoding.
Format:
unicodeString = reader.shiftJisToUnicode(text);
Where:
text
– String; text encoded as JIS.
unicodeString
– String; text encoded as Unicode.
Example:
myUnicodeString = reader.shiftJisToUnicode(myString);
Sets myUnicodeString to the Unicode encoded equivalent of myString.
4.3.1.14
writeSetting
The
writeSetting
method changes the operational value of a single handheld
configuration setting.
Format:
writeSetting(settingNumber, value);
Where:
settingNumber
– decimal integer; the setting to be changed.
value
– decimal integer; the value to be written to the configuration setting.
For the possible values of settingNumber and value, refer to the Interface Configuration
Document.
Note: This method does not return a value.
Note: Use 0x to denote hex values
Example:
reader.writeSetting(0x1b, 4);
Содержание 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...