PM1122-INT DIGITAL INTERFACE REMOTE
WWW.APART-AUDIO.COM / [email protected]
Help,
where
is
my
COM
port?
To
check
the
COM
port
name,
look
in
Control
Panel
‐
>
System
‐
>
Hardware
‐
>
Device
Manager.
You
might
need
Administrator
rights
to
access
these
pages.
Ask
your
system
administrator
for
assistance
if
necessary.
Click
Ports
(COM
&
LPT)
to
view
all
available
COM
ports.
Here
we
find
it’s
COM4
How
to
deal
with
bi
directional
communication
Keeping
your
system
in
sync
with
the
PM1122
might
look
difficult
but
actually
it
isn’t
if
you
follow
the
right
strategy.
If
you
are
writing
a
VB
project
or
configuring
a
system
like
Crestron,
you
might
experience
the
same
difficulty.
What’s
it
all
about?
When
a
preset
is
recalled
or
when
a
“GET
INFO”
command
is
executed,
a
big
number
of
characters
are
transmitted
by
the
PM1122
‐
INT.
Possible
receiving
only
a
part
of
this
string,
will
call
your
routine
which
handles
the
received
data.
Although
this
string
is
not
complete,
it
might
already
contain
more
than
one
value.
For
example,
a
“GET
INFO”
command
might
call
your
receive
handler
3
times.
In
the
next
example,
for
clarity,
a
<CR>
is
represented
by
“\r”
and
<LF>
by
“\n”.
The
first
time
the
received
string
might
be:”
MSCLVL
ZONE1
19\r\nMICLVL
ZONE1
0\r\nSELECT
ZONE1
A\r\nRSRFFU
ZONE1
0\r\nMAXMSC
ZONE1
99\r\nMAXMIC
ZONE1
60\r\nMINMSC
ZO”.
The
second
time
it
is:
“NE1
10\r\nMINMIC
ZONE1
0\r\nMSCLVL
ZONE2
0\r\nMICLVL
ZONE2
0\r\nSELECT
ZONE2
C\r\nRSRFFU
ZONE2
0\r\nMAXMSC
ZONE2
80\r”
and
finally
the
last
time
it’s:
“\nMAXMIC
ZONE2
100\r\nMINMSC
ZONE2
0\r\nMINMIC
ZONE2
0\r\nREMOTE
ZONE1
1\r\nREMOTE
ZONE2
1\r\n”
24