![Alcorn Mcbride ProTraXX User Manual Download Page 56](http://html1.mh-extra.com/html/alcorn-mcbride/protraxx/protraxx_user-manual_2892731056.webp)
Page 56
March 23, 2012 • Alcorn McBride ProTraXX User’s Manual • Rev 1.4
Send String
Description:
This command sends an ASCII string from ProTraXX to the specified destination.
Command Bytes:
"<s>"<d><o>SS
Parameters:
<s>
is the string to be sent
<d>
is the destination, one of:
S – Serial
U – UDP(over Ethernet)
B – USB Serial
<o>
is only required for UDP, and is the destination info in the form of:
<XXX.XXX.XXX.XXX>:<PPPPP>:<SSSSS>
where,
<XXX.XXX.XXX.XXX>
is
destination IP
<
PPPPP>
is
destination port
<
SSSSS>
is
source port
Comments:
The
<o>
field is not necessary if using Serial or USB Serial destination. You must
escape all special characters in the string to be sent(such as quotation marks). For
example, "State=\"Playing\"\r" would send: State="Playing"\r
Message Response:
R
Examples:
Send ‘Done’ out the serial port:
"Done"SSS
Send ‘Done Playing’ to 192.168.0.254 port 2639 from port 2638:
"Done Playing"U192.168.0.254:2639:2638SS
Send ‘State="Playing"\r’ to 192.168.0.254 port 2639 from port 2638:
"State=\"Playing\"\r"U192.168.0.254:2639:2638SS