A Versatile Laboratory Programmer