The main idea of a Brain Machine Interface system consists in extracting neural signals directly from the brain and use them to control external devices. 
In the framework of building neural prostheses this technique could be useful to better understand how the brain processes the sensory information coming from the environment and uses it to build motor commands. 
To reach this result a crucial point is to develop a BMI real-time system to create a bidirectional communication channel with the nervous system.In our lab we are implementing in-vivo techniques using multielectrode microwires arrays chronically implanted in the cortex of awake rodents. These techniques permit to record the neural activity from the cortex while the animal is behaving and simultaneously to deliver Intracortical Micro Stimulation (ICMS) patterns providing an artificial input in a closed-loop system