Start with currcost.py You will need to modify YOURCOMPORT before running it. Note that this is provided to help get you started, but it lacks careful error-handling or proper documentation. If you have any questions about it, or even just find it useful, please do let me know - dale.lane@gmail.com