Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   FRC Control System (http://www.chiefdelphi.com/forums/forumdisplay.php?f=176)
-   -   Release - FRC Network Monitor (http://www.chiefdelphi.com/forums/showthread.php?t=98874)

linuxboy 16-12-2011 15:17

Release - FRC Network Monitor
 
1 Attachment(s)
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

RoboMaster 16-12-2011 18:12

Re: Release - FRC Network Monitor
 
1 Attachment(s)
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.

linuxboy 16-12-2011 18:34

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

linuxboy 17-12-2011 00:02

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

RoboMaster 17-12-2011 00:13

Re: Release - FRC Network Monitor
 
Nope, the updated version gives the same results.

This is on Windows 7 64bit, so maybe that changes things...

linuxboy 17-12-2011 01:11

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

RoboMaster 17-12-2011 01:23

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!

jhersh 21-12-2011 16:45

Re: Release - FRC Network Monitor
 
Quote:

Originally Posted by linuxboy (Post 1091801)
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.


All times are GMT -5. The time now is 23:12.

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