PDA

View Full Version : My own version of the Cellpro 4s software


jpod00
07-23-2007, 09:56 PM
Hi all, I've written my own little program that collects data from the CellPro 4s, similar to the FMA software. Some on the group may find it handy. It still has a few bugs, but is worth a try anyway. If you try it out, please let me know how it goes. You will need the .Net 2.0 redistributable package installed (if you don't have it the installer should detect this and redirect you to a download). Good luck!

Here's a link to my program...
http://home.comcast.net/~joedoubek/CellViewInstaller.msi

Features...
- Graphs of charging current, mah in, fuel during the charge.
- Graphs allow autoscaling the y-axis to fit the available data to give more detail.
- Saves battery info in a little more straightforward fashion and can recall it from log files and show it in the graphs. The graph can eat previous log files.
- Saves cycle count and can be set to auto-increment this each time a charge completes and save it for the next time. This is intended to help keep track of the total number of charges on a particular battery.
- Computes flight info automatically when a charge starts and saves it as part of the log (estimated average current, voltage, power, etc as shown in the FMA doc).
- Can be setup to automatically log to a specific location when a charge completes. Charging current is stored as part of the log.
- Allows custom wav files to be played on the PC at the beginning of charging, balancing, complete, and error detected states.

Here's a couple screen shots...
http://home.comcast.net/~joedoubek/view1.jpg

Graphing...
http://home.comcast.net/~joedoubek/graph1.jpg

http://home.comcast.net/~joedoubek/graph2.jpg

Known issues:
- I reversed out values sent in the CellPro serial protocol. My numbers may not exactly match the actual protocol definition, but they seem to match the output of the FMA software. If anyone has the actual protocol details it would be greatly appreciated, there are some fields that I'm still not sure about yet.
- Doesn't detect A123 chemistry and scale accordingly. I haven't figured out where in the serial protocol the charging type data is just yet.

bobby619
07-27-2007, 11:36 PM
Cool! I'm a asp.net, vb.net, C# developer too. Leveraging their APIs, huh? Ingenius! What graph control are you using?

jpod00
07-28-2007, 11:07 AM
Cool! I'm a asp.net, vb.net, C# developer too. Leveraging their APIs, huh? Ingenius! What graph control are you using?

Hi there! I'm new to C# but trying to learn it... I really like it. For the graphs I didn't use a control, I draw them to a double buffer using the built in c# graphics functions. My code isn't too efficient yet at drawing them, probably why they are kinda slow :?