Go to Post It will really be different for us (ESPECIALLY since our robot drives consistently this year). - Karibou [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 16-12-2011, 15:17
linuxboy linuxboy is offline
Registered User
AKA: Oliver Graff
FRC #3780
Team Role: Alumni
 
Join Date: Nov 2010
Rookie Year: 2009
Location: MI, USA
Posts: 217
linuxboy has much to be proud oflinuxboy has much to be proud oflinuxboy has much to be proud oflinuxboy has much to be proud oflinuxboy has much to be proud oflinuxboy has much to be proud oflinuxboy has much to be proud oflinuxboy has much to be proud oflinuxboy has much to be proud of
Release - FRC Network Monitor

Hi all,
Last night I wrote a quick little network monitor in Java for FRC. The design isn't great, but it just indicates whether or not certain devices are connected to the network. This does not change IP settings, those must be properly set up on the same subnet as those devices, or, have a route to them.

Oliver
Attached Files
File Type: zip FRCNetworkMonitor.zip (195.2 KB, 25 views)

Last edited by linuxboy : 17-12-2011 at 01:09. Reason: Fixed .jar file
Reply With Quote
  #2   Spotlight this post!  
Unread 16-12-2011, 18:12
RoboMaster's Avatar
RoboMaster RoboMaster is offline
Alum, former programmer&co-captain
FRC #2472 (The Centurions)
Team Role: Mentor
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Minnesota, Twin Cities
Posts: 268
RoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant future
Re: Release - FRC Network Monitor

Great idea, but it didn't work for me. I tried to run it and it gave me an error that a main file was missing. See picture, hope that helps.
Attached Thumbnails
Click image for larger version

Name:	FRCNetworkMonitorError.png
Views:	28
Size:	47.4 KB
ID:	11204  
__________________
My engineering blog: noeticbrainwaves.blogspot.com

I'm not slacking, my code's compiling
...and I'm using LabVIEW

Last edited by RoboMaster : 16-12-2011 at 18:58.
Reply With Quote
  #3   Spotlight this post!  
Unread 16-12-2011, 18:34
linuxboy linuxboy is offline
Registered User
AKA: Oliver Graff
FRC #3780
Team Role: Alumni
 
Join Date: Nov 2010
Rookie Year: 2009
Location: MI, USA
Posts: 217
linuxboy has much to be proud oflinuxboy has much to be proud oflinuxboy has much to be proud oflinuxboy has much to be proud oflinuxboy has much to be proud oflinuxboy has much to be proud oflinuxboy has much to be proud oflinuxboy has much to be proud oflinuxboy has much to be proud of
Re: Release - FRC Network Monitor

Interesting, try running it from the command line by navigating to the folder its in and running java -jar FRCNetworkMonitor.jar

I'll see if I can recreate the behavior as well.

Oliver
Reply With Quote
  #4   Spotlight this post!  
Unread 17-12-2011, 00:02
linuxboy linuxboy is offline
Registered User
AKA: Oliver Graff
FRC #3780
Team Role: Alumni
 
Join Date: Nov 2010
Rookie Year: 2009
Location: MI, USA
Posts: 217
linuxboy has much to be proud oflinuxboy has much to be proud oflinuxboy has much to be proud oflinuxboy has much to be proud oflinuxboy has much to be proud oflinuxboy has much to be proud oflinuxboy has much to be proud oflinuxboy has much to be proud oflinuxboy has much to be proud of
Re: Release - FRC Network Monitor

I compiled it on windows, hopefully that will help. The updated version is in the first post.

Let me know if it works.

Oliver
Reply With Quote
  #5   Spotlight this post!  
Unread 17-12-2011, 00:13
RoboMaster's Avatar
RoboMaster RoboMaster is offline
Alum, former programmer&co-captain
FRC #2472 (The Centurions)
Team Role: Mentor
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Minnesota, Twin Cities
Posts: 268
RoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant future
Re: Release - FRC Network Monitor

Nope, the updated version gives the same results.

This is on Windows 7 64bit, so maybe that changes things...
__________________
My engineering blog: noeticbrainwaves.blogspot.com

I'm not slacking, my code's compiling
...and I'm using LabVIEW
Reply With Quote
  #6   Spotlight this post!  
Unread 17-12-2011, 01:11
linuxboy linuxboy is offline
Registered User
AKA: Oliver Graff
FRC #3780
Team Role: Alumni
 
Join Date: Nov 2010
Rookie Year: 2009
Location: MI, USA
Posts: 217
linuxboy has much to be proud oflinuxboy has much to be proud oflinuxboy has much to be proud oflinuxboy has much to be proud oflinuxboy has much to be proud oflinuxboy has much to be proud oflinuxboy has much to be proud oflinuxboy has much to be proud oflinuxboy has much to be proud of
Re: Release - FRC Network Monitor

Okay, that should fix it. Netbeans does some weird stuff when it compiles, and it does not include some of the supporting classes in the main .jar

To fix it I just zipped up the entire "dist" folder. You should be able to unzip that, and double click the .jar file, and have it run.

Oliver
Reply With Quote
  #7   Spotlight this post!  
Unread 17-12-2011, 01:23
RoboMaster's Avatar
RoboMaster RoboMaster is offline
Alum, former programmer&co-captain
FRC #2472 (The Centurions)
Team Role: Mentor
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Minnesota, Twin Cities
Posts: 268
RoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant future
Re: Release - FRC Network Monitor

That did it. Looks great. I don't have the robot handy of course, but I'll be sure to try it out. Thanks!
__________________
My engineering blog: noeticbrainwaves.blogspot.com

I'm not slacking, my code's compiling
...and I'm using LabVIEW
Reply With Quote
  #8   Spotlight this post!  
Unread 21-12-2011, 16:45
jhersh jhersh is offline
National Instruments
AKA: Joe Hershberger
FRC #2468 (Appreciate)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 1997
Location: Austin, TX
Posts: 1,006
jhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond repute
Re: Release - FRC Network Monitor

Quote:
Originally Posted by linuxboy View Post
Okay, that should fix it. Netbeans does some weird stuff when it compiles, and it does not include some of the supporting classes in the main .jar
You need to pull the jar file from the "dist/full" dir instead of from "dist". It contains all needed support libraries.
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


All times are GMT -5. The time now is 16: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