Intermec IF2 Basic Reader Interface Programmer's Reference Manual (BRI version - Page 78

TRIGGERQUEUE, Example 3, Responses, Purpose, Command Shortcut, Syntax, Parameters

Page 78 highlights

Chapter 4 - BRI Commands Example 3: The TRIGGER DELETEALL command removes from memory all programmed triggers. This command does not delete queued trigger events from the reader. TRIGGER DELETEALL OK> TRIGGER OK> Example 4: The TRIGGER RESET command completely resets the entire triggering system. This command deletes all triggers from memory and removes all trigger events from the event queue. This command returns the triggering system to a known state. TRIGGER RESET OK> TRIGGERREADY Command Responses: For details about EVENT messages, see "Understanding EVENT Messages" on page 110. TRIGGERQUEUE Purpose: Command Shortcut: Syntax: Parameters: Examples: This command lets an application determine if queued events are available. This command returns an integer value stating the number of currently queued trigger events available in the reader. TRIGGERQ TRIGGERQUEUE [FLUSH] [FLUSH] = This reserved keyword deletes all trigger events from the queue. These examples demonstrate how to use the TRIGGERQUEUE command. Example 1: This example shows that three trigger events are available in the queue, which means that three subsequent invocations of TRIGGERREADY can be sent without any blocking occurring: TRIGGERQUEUE 3 OK> 66 Basic Reader Interface Programmer Reference Manual

  • 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
66
Basic Reader Interface Programmer Reference Manual
Example 3:
The TRIGGER DELETEALL command removes from memory all programmed
triggers. This command does not delete queued trigger events from the reader.
TRIGGER DELETEALL<CRLF>
OK><CRLF>
TRIGGER<CRLF>
OK><CRLF>
Example 4:
The TRIGGER RESET command completely resets the entire triggering system.
This command deletes all triggers from memory and removes all trigger events from
the event queue. This command returns the triggering system to a known state.
TRIGGER RESET<CRLF>
OK><CRLF>
TRIGGERREADY Command
Responses:
For details about EVENT messages, see
“Understanding EVENT Messages” on
page 110
.
TRIGGERQUEUE
Purpose:
This command lets an application determine if queued events are available. This
command returns an integer value stating the number of currently queued trigger
events available in the reader.
Command Shortcut:
TRIGGERQ
Syntax:
TRIGGERQUEUE [FLUSH]<CRLF>
Parameters:
[FLUSH] = This reserved keyword deletes all trigger events from the queue.
Examples:
These examples demonstrate how to use the TRIGGERQUEUE command.
Example 1:
This example shows that three trigger events are available in the queue, which means
that three subsequent invocations of TRIGGERREADY can be sent without any
blocking occurring:
TRIGGERQUEUE<CRLF>
3<CRLF>
OK><CRLF>