Skip to main content

Transforming the understanding
and treatment of mental illnesses.

Celebrating 75 Years! Learn More >>

Laboratory of Neuropsychology Laboratory of Neuropsychology (LN)

Interface for MonkeyLogic

MonkeyLogic is a behavioral control and data acquisition system written in Matlab. It is used in many non-human primate laboratories and is rapidly being adopted as a replacement for NIMH Cortex. Although MonkeyLogic is not a true real-time system like DOS Cortex, it is fast enough for most behavioral work and can integrate with real-time data acquisitions systems commonly used in behavioral neurophysiology (e.g., Plexon, TDT, Alpha-Omega). We have assembled a few different interface boxes for MonkeyLogic. This page describes two of them.


The most common version of the interface box supplies 5 analog inputs, 2 analog outputs, 16 digital inputs and 8 digital outputs. The current interface box supports a single I/O card (the previous generation required 2x cards), an operational mode used by MonkeyLogic to provide near real-time performance with analog signals. Simply by going to a larger box (or a rack-mount front panel), we have expanded the analog inputs to 12 channels. We use the National Instruments NI-PCI-6229 board, which supports a high analog and digital channel count. The current interface box has one (1) cable, that attaches to the 6229 I/O board. This same configuration also works with with some of the less expensive PCI boards. One advantage of the 6229 board however is that it has an extra 24 digital bits. These bits are available through an additional connector on the I/O card. In the previous generation we used this second connector (on the first I/O card) to send 15- or 16-bit event codes to our TDT data collection system. The interface box for the additional bits is called a Digital Expansion box. See the documentation below for details.

Front oblique small image

A MonkeyLogic1 interface box that provides five analog inputs.
The approximate dimensions are 8 x 4 x 8 inches.


Inside view of the previous generation MonkeyLogic1 interface box. Two NI-CB-68LPR terminal boards are used to support the dual-card operation of MonkeyLogic. Photos of the current MonkeyLogic2 interface box will be posted soon but schematics are now available (link below).

Documentation Download

Download MonkeyLogic2 Interface Schematics (CURRENT for 1x DAQ Device)

File name: MonkeyLogic2_Interface_for_PCI-6229_or_PCIe6323_v5.pdf

To download this file, send an email to requesting access to directory: ML2_interfaces

Access to this directory requires an account on . When requesting access to the directory, provide your email (registered with ) and the name of the requested directory. When the email is received, your email address will be given access to the requested directory. You may request multiple directories in one email request.