EasyManua.ls Logo

Cognex DataMan - Page 67

Cognex DataMan
76 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
case '0':
case '1':
id = "[P0";
break;
case '2':
case '3':
id = "[L0";
break;
case '5':
case '6':
case '7':
case '8':
case '9':
case 'A':
id = "[O0";
break;
}
break;
}
return id;
}
function onResult (decodeResults, readerProperties, output)
{
var my_decode_results = new Array();
for(var i = 0; i < decodeResults.length; i++)
{
if(!decodeResults[i].decoded)
continue;
switch (decodeResults[i].symbology.name)
{
case 'Interleaved 2 of 5':
// b=throw away 6 digit I2of5 ending in 9
if ((mode == 'b' && decodeResults
[i].content.length == 6 && decodeResults
[i].content.charAt(5) == '9'))
continue;
case 'Data Matrix':
if (decodeResults[i].content.length >
lengthLimit)
continue;
case 'PDF417':
if (decodeResults[i].content.length >
lengthLimit)
continue;
default:
my_decode_results.push(decodeResults[i]);
}
}
67
DataMan Application Development

Table of Contents

Other manuals for Cognex DataMan

Related product manuals