Go to Post FIRST is a worthwhile program to be involved in as an Adult mentor. But for me, it does bring its share of personal conflict. ..... Cuz' you know when Jan 4/5 comes round' I'll be itchin to go gang busters again. I'll never learn - PMGRACER [more]
Home
Go Back   Chief Delphi > Technical > Control System > FRC Control System
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 19-12-2008, 12:56
PhilBot's Avatar
PhilBot PhilBot is offline
Get a life? This IS my life!
AKA: Phil Malone
FRC #1629 (GaCo: The Garrett Coalition)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Maryland
Posts: 747
PhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond repute
"Pinger" diagnostic program to test robot network.

Hi

After configuring my fair share of new FRC2009 networks, I realized that a tool that showed me the current state of my robot network would have been reallllllllly helpful.

So I decided to flex my new LabVIEW muscles and create such a tool.

I've attached the resulting "Pinger" program.

Simply enter your team number at the top and it will continually ping where your various devices should be. Green means OK, Red means Not found.

I find that if you start at the top of the list and work down you can validate your network from the PC to the robot.

I also added a box at the bottom for checking "unconfigured" devices. This can be used to check for any device on the default "192.168.1.x" network. Keep in mind that the PC has to be on this network to see these devices.

Note: your robot may seem to run fine with only some of the BIG LEDs green, but to get ALL the functionality (Dashboard etc) you should strive to get ALL the BIG LEDs green.
Attached Thumbnails
Click image for larger version

Name:	Pinger.jpg
Views:	152
Size:	33.4 KB
ID:	7044  
Attached Files
File Type: zip FRC_Pinger.zip (147.4 KB, 221 views)
__________________
Phil Malone
Garrett Engineering And Robotics Society (GEARS) founder.
http://www.GEARSinc.org

FRC1629 Mentor, FTC2818 Coach, FTC4240 Mentor, FLL NeXTGEN Mentor
Reply With Quote
  #2   Spotlight this post!  
Unread 19-12-2008, 13:00
Russ Beavis Russ Beavis is offline
Registered User
no team
 
Join Date: Nov 2005
Location: Manchester, NH - DEKA R&D Corp.
Posts: 341
Russ Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond repute
Re: "Pinger" diagnostic program to test robot network.

Phil,
Is there any way to "see" the camera that's attached to the other Ethernet port of the cRIO?

Are there any configuration bits that could also be extracted and displayed (eg cRIO status regarding run-on-startup programs, camera configuration settings, cRIO and DS and other software versions)?

Great tool!!

THANKS!!
Russ
Reply With Quote
  #3   Spotlight this post!  
Unread 19-12-2008, 13:35
PhilBot's Avatar
PhilBot PhilBot is offline
Get a life? This IS my life!
AKA: Phil Malone
FRC #1629 (GaCo: The Garrett Coalition)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Maryland
Posts: 747
PhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond repute
Re: "Pinger" diagnostic program to test robot network.

Quote:
Originally Posted by Russ Beavis View Post
Phil,
Is there any way to "see" the camera that's attached to the other Ethernet port of the cRIO?
Hi Russ.

I think the cRIO code has to read the camera and route it to the PC, as in the way the dashboard operates. But... That's what the Dashboard is for

I just wanted a go/no-go test to let me know the network components were at least ready to run.

Once the network is running, all the other tools can be used.

Phil
__________________
Phil Malone
Garrett Engineering And Robotics Society (GEARS) founder.
http://www.GEARSinc.org

FRC1629 Mentor, FTC2818 Coach, FTC4240 Mentor, FLL NeXTGEN Mentor
Reply With Quote
  #4   Spotlight this post!  
Unread 19-12-2008, 19:49
WGRAY WGRAY is offline
Registered User
FRC #2027
 
Join Date: Jan 2007
Location: westbury
Posts: 22
WGRAY is an unknown quantity at this point
Re: "Pinger" diagnostic program to test robot network.

Great job! used it to verify all my connections. Thanks
Reply With Quote
  #5   Spotlight this post!  
Unread 20-12-2008, 17:27
PhilBot's Avatar
PhilBot PhilBot is offline
Get a life? This IS my life!
AKA: Phil Malone
FRC #1629 (GaCo: The Garrett Coalition)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Maryland
Posts: 747
PhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond repute
Re: "Pinger" diagnostic program to test robot network.

To make it easier to keep track of program updates, I've added the Pinger program to a white paper I just uploaded.

To get the latest version jump to:

http://www.chiefdelphi.com/media/papers/2177

Or search White Papers for "GaCo Pinger"

Phil.
__________________
Phil Malone
Garrett Engineering And Robotics Society (GEARS) founder.
http://www.GEARSinc.org

FRC1629 Mentor, FTC2818 Coach, FTC4240 Mentor, FLL NeXTGEN Mentor
Reply With Quote
  #6   Spotlight this post!  
Unread 24-12-2008, 06:14
keen101's Avatar
keen101 keen101 is offline
Ubuntu Linux User
no team
Team Role: College Student
 
Join Date: Dec 2007
Rookie Year: 2005
Location: Loveland, CO
Posts: 228
keen101 is a jewel in the roughkeen101 is a jewel in the roughkeen101 is a jewel in the roughkeen101 is a jewel in the rough
Re: "Pinger" diagnostic program to test robot network.

wow cool program. Could really come in handy.

One question though, since this was written in labview, could you release the labview "source code"? Maybe even put in in a VI?

I'd rather have this embedded into the dashboard instead of having to run a separate application. Thanks.
Reply With Quote
  #7   Spotlight this post!  
Unread 24-12-2008, 09:44
PhilBot's Avatar
PhilBot PhilBot is offline
Get a life? This IS my life!
AKA: Phil Malone
FRC #1629 (GaCo: The Garrett Coalition)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Maryland
Posts: 747
PhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond repute
Re: "Pinger" diagnostic program to test robot network.

Quote:
Originally Posted by keen101 View Post
One question though, since this was written in labview, could you release the labview "source code"?

I'd rather have this embedded into the dashboard instead of having to run a separate application. Thanks.
I really didn't think anyone would be that interested, but I've added the Source to the White paper. Hoepfully, since you've asked for it, you'll take the time to download, unzip, and view the program.

The latest dashboard (Update 2.0) already includes the code to check your local IP to ensure that it will receive robot data.

I personally don't think that the other ping statuses belong on the dashboard.
Pinger is really only needed to get up and running. Once your network is properly setup, it's not needed anymore. On the other hand, the dashboard is really needed to test your robot functions, and will be constantly changing as you develop your code. Having the extra overhead of all that pinging will just slow it down.

Feel free to add it, but I really think it's best used as a stand-alone program
__________________
Phil Malone
Garrett Engineering And Robotics Society (GEARS) founder.
http://www.GEARSinc.org

FRC1629 Mentor, FTC2818 Coach, FTC4240 Mentor, FLL NeXTGEN Mentor
Reply With Quote
  #8   Spotlight this post!  
Unread 24-12-2008, 10:31
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,817
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: "Pinger" diagnostic program to test robot network.

Very nice, immediately useful application of LabVIEW.
I downloaded the source posted and only got an executable.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #9   Spotlight this post!  
Unread 24-12-2008, 11:58
PhilBot's Avatar
PhilBot PhilBot is offline
Get a life? This IS my life!
AKA: Phil Malone
FRC #1629 (GaCo: The Garrett Coalition)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Maryland
Posts: 747
PhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond repute
Re: "Pinger" diagnostic program to test robot network.

Quote:
Originally Posted by Mark McLeod View Post
I downloaded the source posted and only got an executable.
Oops, that was an early zip. The latest one was in a different folder.

I uploaded the latest, but can't seem to delete the original attachment.

Use the one that says "Full Source".

Phil.
__________________
Phil Malone
Garrett Engineering And Robotics Society (GEARS) founder.
http://www.GEARSinc.org

FRC1629 Mentor, FTC2818 Coach, FTC4240 Mentor, FLL NeXTGEN Mentor
Reply With Quote
  #10   Spotlight this post!  
Unread 24-12-2008, 21:39
keen101's Avatar
keen101 keen101 is offline
Ubuntu Linux User
no team
Team Role: College Student
 
Join Date: Dec 2007
Rookie Year: 2005
Location: Loveland, CO
Posts: 228
keen101 is a jewel in the roughkeen101 is a jewel in the roughkeen101 is a jewel in the roughkeen101 is a jewel in the rough
Re: "Pinger" diagnostic program to test robot network.

cool. thanks.

Quote:
Having the extra overhead of all that pinging will just slow it down.
I hadn't thought about that. I will keep that in mind. Thanks again.
Reply With Quote
  #11   Spotlight this post!  
Unread 09-01-2009, 18:59
Marlfox's Avatar
Marlfox Marlfox is offline
Registered User
FRC #1566 (Ammoknights)
Team Role: Electrical
 
Join Date: Jan 2008
Rookie Year: 2008
Location: Idaho Falls
Posts: 51
Marlfox is an unknown quantity at this point
Re: "Pinger" diagnostic program to test robot network.

thank you for the pinger!!!I freakin love you the only problem is that our cRIO is not pinging back to us, so we must have a problem with the cRIO. were re-imaging it now. I will be back if it doesn't work
__________________


You're about to be struck by a vehicle!
Reply With Quote
  #12   Spotlight this post!  
Unread 10-01-2009, 01:19
lynca's Avatar
lynca lynca is offline
Andrew Lynch
FRC #2587 (DiscoBots)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2001
Location: Houston, TX
Posts: 1,612
lynca has a reputation beyond reputelynca has a reputation beyond reputelynca has a reputation beyond reputelynca has a reputation beyond reputelynca has a reputation beyond reputelynca has a reputation beyond reputelynca has a reputation beyond reputelynca has a reputation beyond reputelynca has a reputation beyond reputelynca has a reputation beyond reputelynca has a reputation beyond repute
Send a message via AIM to lynca
Re: "Pinger" diagnostic program to test robot network.

Quote:
Originally Posted by Marlfox View Post
thank you for the pinger!!!I freakin love you the only problem is that our cRIO is not pinging back to us, so we must have a problem with the cRIO. were re-imaging it now. I will be back if it doesn't work
I have also seen problems with the cRIO not pinging back in a timely manner. I will ping the cRIO and get "unreachable" 3 or 4 times before the cRio returns a response. During those tests , I can always ping the DS, Router and Bridge with no problem.
__________________
History: 624 - Cryptonite --> 118 - Robonauts --> 2158 - AusTIN CANS --> 2587 DiscoBots
Bio: Andrew Lynch "How I Work" ---- LinkedIn , Facebook, Twitter
Reply With Quote
  #13   Spotlight this post!  
Unread 25-01-2009, 16:15
dqmot17's Avatar
dqmot17 dqmot17 is offline
Orange Hat
FRC #0247 (Da Bears)
Team Role: Webmaster
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Michigan
Posts: 142
dqmot17 can only hope to improve
Send a message via AIM to dqmot17
Re: "Pinger" diagnostic program to test robot network.

I was also trying to make a program with a vbs script that does that. It comes to something like this:
Quote:
set WshShell = CreateObject("WScript.Shell")
PC = Not CBool(WshShell.run("ping 10.2.47.6 -n 1 -w 150 " & vSystemIdentifier,16,True))
DS = Not CBool(WshShell.run("ping 10.2.47.5 -n 1 -w 150" & vSystemIdentifier,0,True))
router = Not CBool(WshShell.run("ping 10.2.47.4 -n 1 -w 150" & vSystemIdentifier,0,True))
bridge = Not CBool(WshShell.run("ping 10.2.47.1 -n 1 -w 150" & vSystemIdentifier,0,True))
cRIO = Not CBool(WshShell.run("ping 10.2.47.2 -n 1 -w 150" & vSystemIdentifier,0,True))

If PC = True and DS = True and router = True and bridge = True and cRIO = True Then
'successful
msgbox "It is Working",vbOkOnly
end if

if not PC = True and DS = True and router = True and bridge = True and cRIO = True then
'Unsuccessful ping
msgbox "Somthing is not Working"
End If
If PC = False then
msgbox "Please fix PC adress",vbRetryCancel
End If
If DS = False then
msgbox "Please fix DS adress",vbRetryCancel
End If
If router = False then
msgbox "Please fix Router adress",vbRetryCancel
End If
If bridge = False then
msgbox "Please fix bridge adress",vbRetryCancel
End If
If cRIO = False then
msgbox "Please fix cRIO adress",vbRetryCancel
End If
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
pic: Team 4 Robot "Tipping Test" David Brinza Extra Discussion 11 25-08-2007 18:02
New NEMO White Papers! "Creating a Killer Packet" and "25 Ways to Sponsor" Jessica Boucher Team Organization 0 10-08-2005 10:55
CMUCam blink test "blinktst.ic" mzainon Programming 1 22-04-2005 16:20
Program error - "can not fit the section" miketwalker Programming 9 20-02-2005 01:21
"Thunderbirds" Vs. "Team America" Which one will rule the box office? Elgin Clock Chit-Chat 3 07-09-2004 19:53


All times are GMT -5. The time now is 14:52.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi