Intermec IV7 Basic Reader Interface Programmer's Reference Manual (BRI version - Page 74
SET
View all Intermec IV7 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 74 highlights
Chapter 4 - BRI Commands SET After the RESET command is executed, an event is reported to all current BRI sessions: EVT:RESET For help, see "Understanding EVENT Messages" on page 110. Purpose: This command lets you create both command macros and parameter macros, which are defined in "Creating and Using BRI Macros" on page 113. You can also use SET to list all macros stored in the non-volatile memory of the reader and to delete macros. Syntax: Parameters: SET ="[BRI COMMAND],[READ FIELD]or[WRITE FIELD], [LITERAL],[(ATTRIBUTE NAME=VALUE)...]TAGID,ANTENNA, TIMESTAMP,WHERE " = This parameter can be any alphanumeric string. There is no limit on the length of the parameter, and it can be as short as one character. The first character must be a letter (A-Z or a-z). The first character cannot be a number (0-9). You cannot use BRI reserved keywords as macro names; for a complete list of reserved words, see "Reserved Keywords" on page 17. If you do not include anything after the parameter, the SET command displays all macros stored in the non-volatile memory of the reader. If you do not specify anything after the equals sign, the SET command deletes the macro specified in the parameter. "[BRI COMMAND],[READ FIELD]or[WRITE FIELD], [LITERAL],[(ATTRIBUTE NAME=VALUE)...]TAGID,ANTENNA, TIMESTAMP,WHERE " = Everything you specify after the equals sign must be enclosed in one set of double quotes. Everything inside the double quotes is saved as the contents of the macro. If the macro contains [LITERAL] parameters, which must also be enclosed in double quotes, you must use the \ character to escape the embedded double-quotes around each [LITERAL] parameter. To display all macros in memory, use the SET command with no parameters: Examples: SET OK> These examples demonstrate how to use the SET command. Example 1: The example below illustrates how to store a WHERE clause and TAGID parameter in a macro named MYREADMACRO. SET MYREADMACRO="WHERE TAGID=H1234567890ABCDEF" OK> To execute this macro definition with a READ command, use the command line below: READ $MYREADMACRO 62 Basic Reader Interface Programmer Reference Manual