Omnitron Systems Technology RS-232 user manual Search for a Data String, Add a Data Field

Page 44

Search for a Data String

This command allows you to create a data field by searching the scanned data for a data string that matches a data string specified in the formula. If a match is found, the scanned data will be divided into three fields: the data from the search start point to the character before the searched data string, the data string itself, and the data remaining.

SELECTION CODE: JG

Characters that Constitute the Data String to be Searched for

EXAMPLE:

In scanned data, to search for the data string ABCDE, enter:

... JG<ENTER>A<ENTER>B<ENTER>C<ENTER> D<ENTER>E<ENTER> ...

This means that scanned data “1234567ABCDEFG” will be divided into three fields: 1234567 and ABCDE and FG.

Add a Data Field

This command allows you to add a character string to scanned data before transmitting it to the host computer. The character string you add will be transmitted as a separate data field. (This command is optional.)

SELECTION CODE: JJ

Characters that Constitute the Data String to be Added

EXAMPLE:

In scanned data, to add one data field “abcd” to the scanned data 1234, enter:

... JJ<ENTER>a<ENTER>b<ENTER>c<ENTER>d<ENTER> ...

This means that additional field “abcd” can be added to output data string abcd and 1234.

Note: The added string can be comprised of any characters from the full ASCII table. However, the communication program used may not be able to accept the non- printable characters.

Note: For CR, use CTRL-N (ASCII code 14h).

38

Image 44
Contents Omnitm Page Limited Warranty Agency ApprovedPage Table of Contents Page Description SectionIntroduction Installation Host ConnectionsConfiguration Configuration Setup ProcedureBar Code Input Magnetic Stripe InputExample Default Settings Serial Interface Parameters Group EBaud Rate ParityGeneral Selections Group B Stop BitScan Verification Beep VolumeCode/Track ID Code ID Definition Group Enter one character for the new IDBar Code Message Formatting Selections Group C Bar Code Terminator CharacterBar Code Preamble Bar Code PostambleMagnetic Stripe Formatting Selections Group D Magnetic Stripe Terminator CharacterMagnetic Stripe Preamble Magnetic Stripe PostambleMinimum and Maximum Length Options Bar Code SelectionsIndustrial Bar Codes Group F Full Ascii Code 39 SettingsEnable/Disable Code Interleaved 2 of 5 Settings Enable/Disable Interleaved 2Check Digit Send Start/Stop CharactersFebraban Conversion Fixed LengthIndustrial 2 of 5 Settings Enable/Disable Industrial 2Code 128 Setting Codabar Settings Enable/Disable CodabarMSI/Plessey Settings Telepen SettingEnable/Disable MSI/Plessey Enable/Disable TelepenRetail Bar Codes Group G UPC SettingsEnable/Disable UPC-A Enable/Disable UPC-E Send Number System DigitSend Check Digit UPC-E ExpansionRead Two-Digit Addendum Read Five-Digit AddendumAddendum Required Add Separator SpaceEAN Settings Enable/Disable EAN-13Enable/Disable EAN-8 Send Induced Country Code CharacterRead Five-Digit Addendum Do Not Read Five-Digit Addendum Send Start/Stop Sentinel Magnetic Stripe Selections Group HTrack Selection Reviewing Configuration Settings Track Two Send Accout Number OnlyTrack Separator H4ENTERSELECTED CharacterenterMSI Data Editing Data Fields Data Editing Formulas Formula Sequence Code IdlengthmatchdivideaddsendUsing the Data Editing Functions Track 1 %CABREADOE$JANE$R$310 S Jefferson ST?Unmatched Input Send/Do Not Send Data Editing CommandsData Editing On/Off JDENTER0ENTER6ENTER1ENTER2ENTER Select Code IDsSet Length Match String Create a Data FieldJEENTER0ENTER8ENTERAENTERBENTER Centerdentereenter JFENTER0ENTER7ENTERJgenteraenterbentercenter Dentereenter Search for a Data StringAdd a Data Field Time Delay Set the Sequence in which Data Fields are SentDelete One Formula JkenteraentercenterbenterReset Data Editing Group Review ConfigurationsExit Data Editing Mode Omni Data FlowSymbology Code ExamplesSend BD DLY 09 AD DLY JDENTER0ENTER7ENTER0Enter 7ENTER JEENTER0ENTER7ENTERMSR Track 1 data Operating Procedure OperationTroubleshooting General ProceduresSerial Interface Problems Scanning Configurations Crlf Default SettingsAppendix a Industrial Bar Codes UPC-A UPC-E EAN-8 Retail BarcodesUPC-A, -E Appendix B Magnetic Stripe FormatAppendix C Magnetic Stripe Standard Data FormatsCalifornia Driver’s License Format Track LRE ID Aamva Driver’s License Format Track Appendix D Full Ascii TableAscii RS-232 Port, Standard DB-9P Connector PIN-OUTSAppendix E USB/RS-232 Interface Installing the DriversAppendix F Page UE Anyway Troubleshooting Checking the Installation and Modifying the COM Port NumberTelling Whether the Installed Device is Type a or Type B Updating the Driver Date DriverRemoving the Driver Versal Serial BUS ControllersID Tech