|
|||
| Did you know...
|
IntroductionThis sample application, the Wombat Panel, serves two purposes. The first is as an example. This application exercises a lot of different functionality of the Wombat from within C#. The second is as an actual useful tool for experimenting with your Serial Wombat. This tool has evolved to suit my needs as I have been developing and testing the Wombat firmware, as well as wringing out my hardware. This tool is a perpetual work in progress as I add more functionality. I release it at periodic intervals as it seems fairly stable and substantially more useful than the previously released version. Among the new features in version 2.2:
Among the new features since version 2.0:
Let me warn you from the start, I'm a rotten Windows programmer. I spend my days writing embedded systems software, mostly in C and assembly for devices which don't have a graphic user interface. But I guess that's kind of the point. If you're reading this, you're probably interested in writing programs for your PC to interface to the world through the Wombat. You worry about that, and I'll worry about writing the Wombat firmware (something I am pretty good at, if you'll excuse the lack of humility) to help you out. If you have constructive criticisms of how I've designed and written this application, I'd love to hear them. Please use the contact page on this site. That said, Version 2.1 of the Wombat panel is much more mature than version 1. The interface is cleaner, many Serial Wombat functions are supported through the gui, and lots of powerful tools such as Xmodem downloads (under file) and the ability to view the User area of the Wombat's Flash, Ram, and EEPROM. Many of the configuration options are now available through drop-down menus.
The wombat.cs file from version 1 has been much improved and much expanded. In fact, it's now a number of files all separated by namespace. The big change is the addition of the WombatTransaction class. This class creates an array of 8 bytes to be sent, and a place for 8 bytes to be received. This is one "Wombat Transaction". You fill in the 8 Tx bytes, then call the Wombat.Send(ref WombatTransaction wt) method of the Wombat class. The Wombat sends the 8 bytes, and stores the result in the WombatTransaction Rx array. Many, many classes are inherited from this class. The base class has a number of virtual properties, so it is easy to override various functions. This makes it really easy to add self documentation to various child classes. The Wombat class now also has an event that can be called after the completion of each transaction, making it really easy to add a log file to your application for debugging. The ApplicationYou can download this application, its source, an installer, and this documentation in a zip file. (Versions are based on the Wombat Firmware version requrired to use all the features). You can also get the older version 2.0 and 1.0 of the Wombat Panel. You can run it right out of the "release"directory (a couple down from the top) or install it on your start menu from the "publish" directorye. The Wombat panel has a number of items in its user interface:
The coolest new feature is the ability to view and modify user RAM:
|
||
Copyright Wombat Interface Products, 2005-2008. All Rights Reserved.