Commands
7
XP2i Programming Instruction Manual
—
acknoWLedGment oF a command
The XP2i always returns some indication to let you know a command or query was received and acted on. For queries, the return of the measurement data is
the acknowledgment. For commands, possible acknowledgments are “
A
”, “
N
” or “
X
”, followed by a comma then a single digit. The digit indicates whether there
were any reception errors. The combination is left justified.
A
. . . . . . . . . . . . .The XP2i understood the command and acted on it.
N
. . . . . . . . . . . . .The XP2i did not understand the command, due to either syntax or reception errors.
X
. . . . . . . . . . . . .The command was understood, but is not implemented or supported at this time.
Following an “
A
”, “
N
” or “
X
”, the single digits mean the following:
Ø
. . . . . . . . . . . . .There were no reception errors.
2
. . . . . . . . . . . . .Buffer overflow.
4
. . . . . . . . . . . . .Framing error.
6
. . . . . . . . . . . . .There were both buffer overflow and framing errors.
Example acknowledgment:
A,Ø
. . . . . . . . .Understood the command and acted on it. No reception errors.
N,4
. . . . . . . . .Could not understand the command because there was a framing error.
N,Ø
. . . . . . . . .Could not understand the command, even though it was received without errors, so syntax must have been wrong.