NI Home
Cart Cart | Help
Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Currently Being Moderated

Configuring the component IP addresses

VERSION 3

Created on: Nov 19, 2008 4:21 PM by mishkin - Last Modified:  Nov 21, 2008 11:45 AM by mishkin

 

The communication network between the robot and the controller is set up using static IP addresses. When setting up the IP addresses of hardware components, the middle two bytes (octets) of the address will depend on the team number, and this is configured with the cRIO imaging tool. The following example demonstrates default assigned addresses and one possible setup of the network based on the team number:

 

Component

Default   address

Team   XXYY configuration

Team   258 configuration

Wireless bridge

192.168.1.250

10.XX.YY.1

10.2.58.1

cRIO port 1

10.0.0.2

10.XX.YY.2

10.2.58.2

cRIO port 2

192.168.0.3

No change

No change

Driver station wireless

-

10.XX.YY.4

10.2.58.4

Driver station

10.0.0.5

10.XX.YY.5

10.2.58.5

Camera

192.168.0.90

No change

No change

Computer

-

10.XX.YY.6

10.2.58.6

 

Note:

  1. The wireless camera, connected to port 2 of the cRIO, does not need any additional configuration.
  2. The IP address of Port 2 on the cRIO is set by the cRIO imaging tool and does not require any additional configuation.
  3. Make sure the Ethernet cable from the driver station is plugged into one of the Ethernet ports on the driver station wireless router and not the Internet port
  4. For more detailed information on this setup, please see the document on Control System Configuration (5-2): http://usfirst.org/uploadedFiles/5-FRC_Control_System-Configuration-0-4d.pdf
REQUIREMENTS:
Application Software: LabVIEW Professional Development System 8.5.1
Driver Software: NI-RIO 3.0.1
Hardware Family: Reconfigurable I/O (RIO)
Add-on Software: LabVIEW FPGA Module 8.6
Product Category: GPIB
Development Topic: Networking
Industry: Research
Application Type: Control
Technology: Wireless
Average User Rating
(0 ratings)




Philbot Philbot  says:

I created a LabVIEW "Pinger" program for automatically pinging the system components to ensure they are configured properly.

The IP addresses are set up based on your team number, and the component status' are shown with BIG LEDs.

The program and description can be found here http://www.chiefdelphi.com/media/papers/2177.

More Like This

  • Retrieving data ...

More by mishkin