User`s guide
getxpcenv
14-55
HostTargetComm
Values are 'RS232' and 'TcpIp'.
From the xPC Target Explorer window
Host
target communication
list, select either RS232
or
TCP/IP.
If you select
RS232, you also need to set the
property
RS232HostPort. If you select TCP/IP,
then you also need to set all properties that
start with
TcpIp.
RS232HostPort
Values are 'COM1' and 'COM2'.
From the xPC Target Explorer window
Host
port
list, select either COM1 or COM2 for the
connection on the host computer. xPC Target
automatically determines the COM port on the
target PC.
Before you can select an RS-232 port, you need
to set the
HostTargetComm property to RS232.
RS232Baudrate
Values are '115200', '57600', '38400',
'19200', '9600', '4800', '2400', and '1200'.
From the
Baud rate list, select 115200, 57600,
38400, 19200, 9600, 4800, 2400, or 1200.
TcpIpTargetAddress
Value is 'xxx.xxx.xxx.xxx'.
In the xPC Target Explorer window
Target PC
IP address
box, enter a valid IP address for
your target PC. Ask your system administrator
for this value.
For example,
192.168.0.1.
Environment Property Description