# About NIMH MonkeyLogic

NIMH MonkeyLogic (NIMH ML) began with the development of NIMH DAQ Toolbox and MonkeyLogic Graphics Library (MGL). NIMH DAQ Toolbox extended the legacy DAQ interface of MATLAB to the 64-bit environment and supported real-time behavior monitoring with only one data acquisition device. MGL was written to provide an information-rich replica of the subject screen, as well as support for transparent images, movie streaming and low-latency audio output. NIMH DAQ Toolbox and MGL were first released with a modified version of the original MonkeyLogic (sometimes called NIMH ML1).

The second version of NIMH ML is completely rewritten using an object-oriented programming style and employs its own data file format (BHV2). It is also equipped with upgraded NIMH DAQ Toolbox and MGL, which support more input devices and more features, and provides a new way (a.k.a. the scene framework) to compose tasks that improves close-loop performance. NIMH ML has evolved to become a high performance real-time behavioral control and data acquisition system with a rich feature set and efficient data management.

## Current Development

NIMH ML, including NIMH DAQ Toolbox and MGL, is developed and maintained by Jaewon Hwang, who is Staff Scientist at Section on Neurobiology of Learning and Memory, LN/NIMH in the Intramural Research Program.

## Development History

See changes.txt in the distribution packages.

## Examples

The task files of all these examples are in the download packages. Click the images below to watch an animation of each task.

The National Institute of Mental Health (NIMH) is part of the National Institutes of Health (NIH), a component of the U.S. Department of Health and Human Services.

- Freedom of Information Act
- HHS Vulnerability Disclosure

- National Institute of Mental Health
- National Institutes of Health
- U.S. Department of Health and Human Services
- USA.gov