EasyManua.ls Logo

clare H101 - Page 155

clare H101
164 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
SSSCMD_TESTFILE_SAVE_NOW (command code 0x32)
This command is used to commit the SRAM testfile assembly area into
flash memory. The tester will respond with an interim ACK before
eventually issuing a final ACK or NAK.
If the ‘itemd id’, ‘instance’, or amount of supplied data is non-zero, then
the tester will respond with SSSRSP_NAK and the appropriate reason
code.
8
. Tester
C
ommands
The following commands are associated with performing electrical
tests on the HAL range.
SSSCMD_HAL_QUERY_STA
TE (command cod
e
0x8
0)
This command is used to establish the state of various inputs to the
tester such as the guard switch, remote probe switch, etc. The tester
always returns two bytes representing 16 flag bits.
Currently only bit 0 if defined: this bit is set if the external guard switch
is closed.
If the ‘itemd id’, ‘instance’, or amount of supplied data is non-zero, then
the tester will respond with SSSRSP_NAK and the appropriate reason
code.
SSS
CMD_HAL_BARC
ODE_OR_K
EY (co
mmand
cod
e 0x81)
This command is used to obtain barcode or keyboard input from the
HAL tester.
The host specifies a single byte of data that represents the number of
seconds to wait for a response. This can be in the range 0 through 255.
The value of 255 is a special case representing an infinite timeout.
The tester issues an empty interim acknowledgement, switches the
RS232 monitoring to the barcode port, then waits between 0 and 254
seconds, or an infinite time, for a barcode or keypress, then sends
back the result in a final ACK.
The tester’s final ACK contains 1 or more bytes. The first byte defines
the event that terminated the command:
nd with a
r NAK.
ount
of sup
SP_NAK
testfile assem
n interim ACK
d data is no
eap
bly area into
efore
es
or
more
mand:
bytes. T
ypress
h
ween 0
, then se
hes th
and 2
ends
co
8
.
T
e
s
ester
e.
s
t
e
r
C
d id’, ‘
will resp
nstanc
pond
The tes
RS232 m
seconds, o
back the re
The tester
he eve
of 255 is a
r issues an em
onitoring to the
r an infinite ti
ult in a fina
ngle byte
esponse. T
pecial case
pty inte
barcod
fo
ount
of sup
SRSP_NAK an
E
Y
(
c
o
code
extern
plied data is n
d the appropria
o
d
guard switch
n-zero, then
reason
This
HAL te
C
M
D
_
comma
este
H
A
L
_
B
A
A
R
C
stablis
ch,
c
o
m
m
a
the sta
n
d
c
o
d
erform
0
x
8
ing ele

Related product manuals