User`s guide
xpctargetping
Purpose Test communication between host and target PCs
Syntax MATLAB command line
xpctargetping
xpctargetping('mode', 'arg1', 'arg2')
Arguments
mode
Optionally, enter the com munication mode :
TCPIP
Enable TCP/IP connection with
target PC.
RS232
Enable RS-232 connection with
target PC.
arg1
Optionally, enter an argu m ent ba se d on the
mode value:
IP
address
If
mode is 'TCPIP',entertheIP
address of the target PC.
COM
port
If
mode is 'RS23 2', enter the host
COM port.
arg2
Optionally, enter an argu m ent ba se d on the
mode value:
Port
If
mode is 'TCPIP',entertheport
number for the target PC.
Baud
rate
If
mode is 'RS232', enter the baud
rate for the connection between the
host and target PC.
Description Pings the target PC from the host PC and returns either success or
failed. If you have one target PC, or if you designate a target PC as
the default one in your system, use the syntax
xpctargetping
18-167