D028868 CR1500 CR1100 CR2700 JavaScript Programming Guide User Manual Page 13 of 41
The Code Corporation
12393 South Gateway Park Place, Suite 600, Draper, UT 84020
+1 (801) 495-2200
FAX +1 (801) 495-0280
{
if(count)
comm.sendText(“Successful Decode”);
else
comm.sendText(“No Decode”);
}
reader.periodic(void)
The reader.periodic function property is called on a set periodic rate. This rate is
modifiable via the JSPM_IT parameter. The default value is 1 Hz.
Example:
reader.periodic = function()
{
comm.sendText(“Some Time Has Passed”);
return;
}
reader.tick1Hz(void)
The reader.tick1Hz function property is called once every second. This is a set rate and
is not modifiable.
Example:
reader.tick1Hz = function()
{
comm.sendText(“Some Time Has Passed”);
return;
}
Informational Properties
Informational properties are properties that provide information about the reader when called.
reader.charging
The reader.charging property is not yet implemented.
reader.green
The reader.green property is not yet implemented.
reader.amber
The reader.amber property is not yet implemented.
reader.red
The reader.red property is not yet implemented.