This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

PCI Bus Ethernet Setup

Speedgoat target machines include an onboard (PCI bus) Ethernet controller. The PCI bus and slot information for the Ethernet controllers are available in the Speedgoat documentation. To get a list of these Ethernet cards, in the Command Window, type:

tg = slrt;
getPCIInfo(tg, 'ethernet')

To build and download a real-time application, first specify the environment properties for the development and target computers.

  1. Ask your system administrator for the following information for your target computer:

    • IP address

    • Subnet mask address

    • Port number (optional)

    • Gateway (optional)

  2. In the MATLAB® Command Window, type slrtexplr.

  3. In the Targets pane, expand the target computer node.

  4. On the toolbar, click the Target Properties button .

    • To add a node representing another target computer, in the Targets pane, click the Add Target button .

    • To remove a node representing a target computer, right-click the node and select Remove.

  5. In the Target Properties pane, click Host-to-Target communication.

  6. Set IP address to the IP address for your target computer (for example, Speedgoat target machines are preconfigured to address 192.168.7.1).

  7. Set Subnet mask to the subnet mask address of your LAN (for example, 255.255.255.0).

  8. Set Port (optional) to a value greater than 20000 and less than 65536. This property is set by default to 22222, a value higher than the reserved area (telnet, ftp, and so on).

  9. If a gateway is required, set Gateway (optional) to the gateway required to access the target computer. This property is set by default to 255.255.255.255, which means that you do not use a gateway to connect to your target computer. If you connect your computers with a crossover cable, leave this property as 255.255.255.255.

    If you communicate with the target computer from within your LAN, do not change the default setting. If you communicate from a development computer within a LAN different from your target computer, define a gateway and enter its IP address here. In particular, create a gateway if you access the target computer via the Internet.

  10. Select Bus type PCI.

    Note: All Speedgoat target machines use bus type PCI.

  11. For Target driver Auto (default).

    Note: This setting depends on type of Speedgoat target machine. The information is provided in the Speedgoat documentation and is available in the label attached to the target machine.

  12. If the target computer has multiple Ethernet cards, see the Speedgoat documentation and Ethernet Card Selection by Index.

  13. Press Enter, then click the Save button  on the toolbar.

The Simulink® Real-Time™ Explorer window looks like this figure.

Repeat this procedure as required for each target computer.

See Also

Related Topics