Intermec CV30 Intermec Terminal Emulator (ITE) Programmer's Reference Manual - Page 74
Parameters, Lock Parameter, Example
View all Intermec CV30 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 74 highlights
Chapter 2 - About VT/ANSI Programming • DCS indicates the beginning of a device control string. DCS is an 8-bit C1 character (90 hexadecimal). You can use ESC P (1B and 50 hexadecimals) for a 7bit environment. • Pc is the clear parameter that selects how to clear key definitions. Parameters Pc 0 (default) or none 1 Meaning Clear all keys before loading new values. Clear one key at a time, before loading a new value. When Pc is 1, the computer only clears the keys you are loading. By using a Pc value of 1, you can redefine some keys without redefining them all. Note: There are 256 bytes of memory for all UDKs. A key definition can only use the number of bytes available when that key is loaded. Example: If Pc is 1, a key load may fail because no memory space is available. The reason for this is, with Pc set to 1, keys are cleared and loaded sequentially. If the new definition for a key is larger than the old one you may exceed the 256-byte limit. Suppose F6 contains 120 bytes, F7 contains 110 bytes, and F8 contains 20 bytes. You try to load F8 with 40 bytes, F6 with 1 byte, and F7 with 1 byte, in that order. This works if all keys are cleared first (Pc is 0), but not if keys are cleared one at a time (Pc is 1). When you try to load F8 with 40 bytes, the load fails because only 26 bytes are free at that time. (256 maximum - 120 in F6 - 110 in F7 = 26.) Pl is the lock parameter. Pl determines whether the key definitions are locked or unlocked after you load them. Lock Parameter Pl 0 1 (default) or none Meaning Lock the keys. If you want to load new values into the keys, you must unlock the keys through the computer's firmware menus. Do not lock the keys. Keys are unlocked and can be redefined with another DECUDK string. Note: If Pl is 1 and the keys are already locked, nothing happens. The computer ignores UDK DSR exchanges. The computer uses a special lock to allow or prevent the programming of UDKs. You can turn on this lock through the computer firmware menus or from the host (with a DECUDK device control string). The lock affects all programmable keys. When using the lock follow these guidelines: • Unlock the keys to define them. The keys must be unlocked before you can define them. You can only unlock the keys through the computer firmware 62 Intermec Terminal Emulator (ITE) Programmer's Reference Manual