the name for this device used for investigating learning in animals is called a: Skinner box
Skinner box is a projectional environment which could be controlled by the researcher to fulfill a certain condition.
The skinner boxes are usually made from transparent materials, which allow the researchers a full access to whatever happened inside the box.