User`s guide

Web Browser Interface
Before you connect your Web browser on the h os t PC, you must load a target
application onto the target PC. The target application does not h ave to be
running, but it m ust be loaded. Also, your browser must have JavaScript
and StyleSheets turned on.
Note Ensure that you close all other connections to the target PC . For
example, if you are currently connected to the target PC through xPC Target
Explorer, right-click on that target PC icon and select
Disconnect.
1 In the MATLAB window, type
xpcwwwenable
The MATLAB interface is disconnected from the target PC, and the
connection is reset for connecting to another client. If you do not use this
command, your W eb browser might not b e able to connect to the target PC.
2 Open a W eb browser. In the address box, enter the IP address and port
number you entered in the xPC Target Explore r windo w. For example, if
the target computer IP address is 192.168.0.10 and the port is 22222, type
http://192.168.0.10:22222/
The browser loads the xPC Target Web interface frame and panes.
Connecting the Web Interface Through RS-232
If the host PC and target PC are connected with a serial cable instead of a
network cable, you can still connect the target application on the target PC to
a Web browser on the host PC. The xPC Target software includes a TCP/IP to
RS-232 mapping application. This application runs on the host PC and writes
whatever it receives from the RS-232 connection to a TCP/IP port, and it
writes whatever is receives from the TCP/IP port to the RS-232 connection.
TCP/IP port numbers must be less than 2
16
= 65536.
Before you connect your Web browser on the h os t PC, you must load a target
application onto the target PC. The target application does not h ave to be
running, but it must be loaded. Also, your W eb browser must have JavaScript
and StyleSheets turned on.
11-3