Go to Post If they want my business, then they should act accordingly. If they don't, I am quite happy to take my business (and that of my $16.5 billion organization) elsewhere. - dlavery [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 21-01-2013, 04:46
mikets's Avatar
mikets mikets is offline
Software Engineer
FRC #0492 (Titan Robotics)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Bellevue, WA
Posts: 667
mikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of light
NetConole replacement

I have written a net console replacement. This is a Windows console app (i.e. run in a CMD window) called netterm (attached here). One of the advantages of this program is the support for ANSI font color.
http://en.wikipedia.org/wiki/ANSI_escape_code

Our robot code has macros printing "Info", "Warning" or "Error" messages. Info lines are green, Warning lines are yellow and Error lines are red. When debugging the robot code, we found that debug spews are sometimes too chatty especially when using the CANJaguar class. Sometimes, our debug messages got drowned in the ocean of messages. Having different colors help us to spot important messages our code printed out. Another useful option is the ability to save the debug session into a log file.

For syntax on how to use this tool, type "netterm /help". The first time you run this tool, you need to provide your team number. For example,
netterm /team=492

The program will save this info into the registry so the next time you run it, you just simply type:
netterm

Don't worry about the other options. For FRC application, all options should have the correct default values. The options are for communicating with other applications.

Since the app monitors UDP port 6666, when running the first time, Windows Firewall will prompt you for permission to monitor network ports.
Attached Files
File Type: zip NetTermTool.zip (12.5 KB, 27 views)
__________________

Last edited by mikets : 21-01-2013 at 04:54.
Reply With Quote
 


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 18:25.

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