
NeuroNexus · neuronexus.com · Glossary
GPIO (General Purpose I/O)
GPIO (general purpose input/output) is the set of analog inputs, analog outputs, and digital input/output lines on a data acquisition system that interface with separate laboratory equipment and instruments, such as a behavioral training apparatus, a stimulator, a camera, or a laser. Their signals are acquired and timestamped with the neural data.
The lines are called general purpose because the DAQ assigns them no meaning. The experiment decides what each line is used for, and the channel map of the session records it.
Analog inputs acquire a continuous voltage, such as a photodiode, a treadmill or wheel encoder, a lever position, or a lick sensor. Each is sampled and stored as a channel beside the electrode channels. Digital inputs acquire TTL events, such as a trial start from a behavior controller, a camera frame pulse, or a laser or stimulator trigger. They are timestamped on the same clock as the neural samples, so an event-aligned analysis needs no alignment between two clocks afterwards. Analog and digital outputs drive other instruments. Examples are a synchronization pulse to a camera or a second recording system, a reward signal to the training apparatus, and a trigger that a closed-loop protocol issues from what the software sees in the data.
The number of lines is a specification to check against the protocol before ordering. XDAQ ALL-IN-ONE and ONE+ have 2 analog inputs, 2 analog outputs, 8 digital inputs, and 8 digital outputs on the unit, and the I/O Expander raises this to 8 analog inputs, 8 analog outputs, and 32 digital I/O. XDAQ CORE2 has 1 analog input, 1 analog output, 7 digital inputs, and 7 digital outputs on the unit. Smartbox has 2 analog inputs and 2 digital I/O. GPIO signals appear in Radiens as channels in the same session as the neural data, so a behavioral event and a spike are read from one file. The data acquisition system entry describes how they are synchronized.
Typical values
| Line types | analog in, analog out, digital in and out (TTL) |
|---|---|
| XDAQ ALL-IN-ONE and ONE+, on the unit | 2 analog in, 2 analog out, 8 digital in, 8 digital out |
| XDAQ ALL-IN-ONE and ONE+, with the I/O Expander | up to 8 analog in, 8 analog out, 32 digital I/O |
| XDAQ CORE2, on the unit | 1 analog in, 1 analog out, 7 digital in, 7 digital out |
| XDAQ CORE2, with the I/O Expander | up to 7 analog in, 7 analog out, 31 digital I/O |
| Smartbox | 2 analog in, 2 digital I/O |
| Typical instruments | behavioral apparatus, camera, laser, stimulator, second recording system |
References
Related Terms
Cite this term
NeuroNexus. "GPIO (General Purpose I/O)." NeuroNexus Glossary, updated 2026-11-13. https://www.neuronexus.com/resources/glossary/gpio