This page has a couple sample programs
http://www.melabs.com/resources/samples-pbp-general.htm
And of course the manual...