Here you can find some example applications for articulated arm robots like the ReBeL or the Robolink.
Feel free to use them as a starting point for your own program!
In this application a Rebel detects the endings of a hose and marks them with a felt pen.