Intermec IV7 Basic Reader Interface Programmer's Reference Manual (BRI version - Page 127
Executing a Command With a Parameter Macro, Listing All Macros Stored in Memory, Displaying
View all Intermec IV7 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 127 highlights
Chapter 4 - BRI Commands Executing a Command With a Parameter Macro You execute a command with a parameter macro by typing the command followed by a $ and the macro name. For example, you can execute the READ command using the parameters stored in MYREADPARAMS with this command: READ $MYREADPARAMS Listing All Macros Stored in Memory Macros are stored in the non-volatile memory of the reader. To display a list of all the macros currently stored in memory, use the SET command with no parameters: SET The BRI returns a list like this one: MYREADMACRO=READ TAGID WHERE INT(20,2)=2000 MYREADPARAMS=\"TAG ID:\",HEX(0,8), \"NAME:\",STRING(18,20) WHERE INT(18)=1 AND INT(22) != 100 AND STRING(30)=\"ADDRESS\" OK> Displaying the Contents of a Macro To display the contents of a macro, use the PRINT command as follows: PRINT $ where is the name of the macro. For example, use this command to view the contents of the MYREADMACRO macro: PRINT $MYREADMACRO The data is returned in a format that can be used in a subsequent BRI command. Deleting a Macro To delete a macro from memory, use the SET command with no data after the macro name as follows: SET = where is the name of the macro. For example, to delete MYREADMACRO, use this command: SET MYREADMACRO= Basic Reader Interface Programmer Reference Manual 115