Pressure Systems 9046 User Manual

Page 66

Advertising
background image

Pressure Systems, Inc. Model 9046 User’s Manual

Page 60

www.PressureSystems.com

5.7.7 Command ’c’ - Sub-command Index 06: Select Protocol For Stream Delivery


Command


c 06

st pro [remport [ipaddr]]


‘c’ is the operation code.
‘ 06’ is the sub-command index (ii) for

Select

Protocol.
st’ is the stream id digit (0=the ONLY acceptable
entry).
pro’ is the protocol id digit (1=UDP/IP, 0=TCP/IP)
remport’ is an optional remote port number to which
each UDP stream is directed in the host (port 9000 is
the default if unspecified). It is ignored if pro=0.
ipaddr’ is an optional host IP address to which each
UDP stream is directed (default is the host IP address
per current TCP connection that sent this command).
It is ignored if pro=0.
NOTE: all parameters separated by a space.


Response

“A” or “Nxx”
‘A’ for acknowledge; ‘N’ for negative acknowledge,
error code xx

.

This command sets the protocol by which every configured autonomous stream is delivered to
the host. It must be executed after streams are configured, but before they are enabled.

By default, streams are delivered via the same TCP/IP protocol used to receive commands from
host (i.e., via the existing TCP/IP connection used to send this command). However, for special
circumstances, all autonomous streams may be delivered to the host via the (less reliable but
lower-overhead) UDP/IP protocol instead. This command is required only when UDP/IP is to be
used. It also can restore the default protocol (to TCP/IP) once it has been changed. The TCP/IP
version of the command ignores the optional (pro and ipaddr) parameters, which have meaning
only to the UDP/IP protocol.

Though the command has a stream parameter, it is currently limited to changing the protocol of
all defined streams

at the same time (i.e., parameter st must be = 0, meaning all configured

streams).

Advertising