User`s guide
Installation, Configuration, and Build Troubleshooting
If you are using a TCP/IP connection and need more help with Test 1, check
the following:
• Be sure to use only supported Ethernet cards on the target PC. See
“Hardware for Network Communication” of the xPC Target Getting Started
Guide for further details, including supplied Ethernet cards.
• Verify that your hardw a re is operating correctly. For example, check for
faulty network cables and other hardware.
• If you run
xpctest from a UNC network folder, such as
\\Server\user\work, a workaround is to change the current MATL AB
folder to a local folder and run the test again.
xpctest: Test 2 Fails
First, follow the procedure described in “Test 2, Ping Target System xPC
Target Ping” section in the xPC Target Getting Started Guide.
If you need m ore help with Test 2, check the following:
• Use the PC MATLAB command to check the environment variables, in
particular Target PC IP address. If Test 1 passes but Test 2 fails, you
might have entered an incorrect IP address.
• If you have a TCP/IP connection, make sure you are using a supported
Ethernet card (see “xpctest: Test 1 Fails” on page 15-12).
• For an RS-232 connection,
- Use a null modem cable (see “Hardware for Serial Communication”
sectioninthexPC Target Getting Started G uide).Ifyoudonotuseanull
modem cable for an RS-232 connection, communication between the host
and target PCs will fail. A null modem cable is shipped with the product.
- If you do have a null modem cable, check the COM ports on the host and
target PC. For example, ensure that the ports are e nabled, you have
connected the appropriate C OM port, and the COM port matches that
for whi ch it is specified
- Ensure that the COM ports on the host and target PCs are enabled in
the BIOS. If they are d isabled, Test 2 fails.
15-13