Main Content

Set Up Target Computer Ethernet Connection

To install PCI bus Ethernet protocol interface hardware in your Speedgoat target computer, see the Speedgoat website at www.speedgoat.com.

Connect Ethernet Cables

To configure the target computer Ethernet hardware:

  1. If the target computer already contains one or more Ethernet cards, to get a list of these Ethernet cards, see your Speedgoat target machine documentation.

  2. Assign a static IP address to the target computer Ethernet card by using Simulink® Real-Time™ Explorer.

    Unlike the target computer, the development computer network adapter card can have a dynamic host configuration protocol (DHCP) address and can be accessed from the network. Configure the DHCP server to reserve static IP addresses to prevent these addresses from being assigned to other systems.

  3. Connect your target computer Ethernet card to your LAN by using an unshielded twisted-pair (UTP) cable.

    You can directly connect your computers by using a crossover UTP cable with RJ45 connectors. Both computers must have static IP addresses. If the development computer has a second network adapter card, that card can have a DHCP address.

Configure Ethernet Address

To build and download a real-time application by using the installed Ethernet card, first specify the environment properties for the MATLAB® development computer and Speedgoat® target computers. Before you start, ask your system administrator for the following information for your target computer IP address and Subnet mask address. This procedure sets up Ethernet protocol for the default target computer TargetPC1:

  1. Open Simulink Real-Time Explorer. In the Simulink Editor, on the Real-Time tab, click Prepare > SLRT Explorer. Or, in the MATLAB Command Window, type slrtExplorer.

  2. In the Simulink Real-Time Explorer Targets Tree panel, select target computer TargetPC1.

  3. On the Target Configuration tab, click the Change IP Address button.

  4. Configure the New IP Address and New Netmask fields in the Configure Target Computer IP Address dialog box. Click OK.

  5. Click the Disconnected label, toggling it to Connected.

Related Ethernet Configuration Topics

You can also configure the target computer Ethernet protocol by using MATLAB commands. For more information, see the Targets object functions and examples.

See Also

|

Related Topics