Software control of the BAM-2 automounter