Intermec IV7 Basic Reader Interface Programmer's Reference Manual (BRI version - Page 49

Example 2, Understanding [READ FIELD] and, WRITE FIELD] Parameters

Page 49 highlights

Chapter 4 - BRI Commands Example 2: This example specifies that the reader should attempt a read operation on each [READ FIELD] up to three times: ATTRIBUTE RDTRIES=3 For details about the [READ FIELD], see "Understanding [READ FIELD] and [WRITE FIELD] Parameters" on page 85. Example 3: This example specifies that timeouts will not be used when trying to read or write tags. Instead, IDTRIES and ANTTRIES will be used to specify a maximum number of attempts: ATTRIBUTE TIMEOUTMODE=OFF Example 4: This example specifies that timeouts IDTIMEOUT and ANTTIMEOUT will be used when trying to read or write tags: ATTRIBUTE TIMEOUTMODE=ON Example 5: This example specifies that the reader should use three identify cycles attempting to identify tags: ATTRIBUTE IDTRIES=3 Example 6: This example specifies that the reader should execute the identify operation for three seconds: ATTRIBUTE IDTIMEOUT=3000 Example 7: This example sets the reader attribute INITTRIES to a value of two: ATTRIBUTE INITTRIES=2 Here is an example response when this ATTRIBUTE command is successful: OK> Here is an example response when this ATTRIBUTE command fails: ERR Example 8: This example sets the parameters WRTRIES to three, IDTRIES to two, and RDTRIES to three: ATTRIBUTE WRTRIES=3, IDTRIES=2, RDTRIES=3 If there is an error on the command line or the parameter specified is not defined, the BRI returns ERR. Basic Reader Interface Programmer Reference Manual 37

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146

Chapter 4 — BRI Commands
Basic Reader Interface Programmer Reference Manual
37
Example 2:
This example specifies that the reader should attempt a read operation on each
[READ FIELD] up to three times:
ATTRIBUTE RDTRIES=3
For details about the [READ FIELD], see
“Understanding [READ FIELD] and
[WRITE FIELD] Parameters” on page 85
.
Example 3:
This example specifies that timeouts will not be used when trying to read or write
tags. Instead, IDTRIES and ANTTRIES will be used to specify a maximum number
of attempts:
ATTRIBUTE TIMEOUTMODE=OFF
Example 4:
This example specifies that timeouts IDTIMEOUT and ANTTIMEOUT will be used
when trying to read or write tags:
ATTRIBUTE TIMEOUTMODE=ON
Example 5:
This example specifies that the reader should use three identify cycles attempting to
identify tags:
ATTRIBUTE IDTRIES=3
Example 6:
This example specifies that the reader should execute the identify operation for
three seconds:
ATTRIBUTE IDTIMEOUT=3000
Example 7:
This example sets the reader attribute INITTRIES to a value of two:
ATTRIBUTE INITTRIES=2
Here is an example response when this ATTRIBUTE command is successful:
OK><CRLF>
Here is an example response when this ATTRIBUTE command fails:
ERR<CRLF>
Example 8:
This example sets the parameters WRTRIES to three, IDTRIES to two, and
RDTRIES to three:
ATTRIBUTE WRTRIES=3, IDTRIES=2, RDTRIES=3
If there is an error on the command line or the parameter specified is not defined,
the BRI returns ERR<CRLF>.