The Ecophysiological and Environmental Toxicological Research Group and Environmental Toxicological Research Group of the Balaton Limnological Research Institute, in collaboration with researchers at the University of Sussex (UK), developed a novel and unique in vitro pharmacological method based on a refraction-based optical recording approach and contractile tissue preparations. The recording system has an own Java application named DigiRec, which was developed by Mr. Tamás Barta (bartatamas@gmail.com) and runs under Linux. The system was tested and validated on isolated heart preparations obtained from the well-established molluscan model species, the great pond snail (Lymnaea stagnalis). The developed system can be a suitable tool both in neuroscience and ecotoxicology.