Notation conventions, Command descriptions, Cancel – MagTek 99875125 User Manual
Page 24
MagTek Device Drivers for Windows
Examples:
000000000011111111112222222222
012345678901234567890123456789
/read -00082
/get trk_enable 110
NOTATION CONVENTIONS
The following conventions are used in the tables that follow.
Fixed Size (Bold)
Used to represent literals (symbols, exactly as sent or received
from driver)
Italic
Used to represent placeholders (variable fields)
[]
Expression parts in brackets are optional. The brackets are never
a part of the syntax
ASCII control character. The only ASCII control characters used
are
(a|b)
Means that the expression can be either a or b, e.g., X(1|2) means
either X1 or X2. The parentheses and the | are never part of the
syntax.
COMMAND DESCRIPTIONS
The following list of commands includes function, syntax, errors, remarks, and examples as
applicable.
cancel
Function
Cancel a command.
Syntax
/cancel
[cmd]
The optional cmd can be any of the transaction commands such as:
/cancel rawrecv
/cancel rawxact
/cancel read
/cancel write
If cmd is omitted, any pending commands will be canceled.
Errors
If the specified command is not active, the command is ignored and there is no
response.
Remarks
The command being canceled will send a response immediately.
Example
If a
read
command has been issued but the operation is to be aborted:
Command
/cancel read
Response
/read
-00082
16