LabNet hardware control software for the Raspberry Pi.
behaviour
hardware
mouse
neuroscience
software
Journal
eLife
ISSN: 2050-084X
Titre abrégé: Elife
Pays: England
ID NLM: 101579614
Informations de publication
Date de publication:
30 12 2022
30 12 2022
Historique:
received:
18
02
2022
accepted:
12
12
2022
entrez:
30
12
2022
pubmed:
31
12
2022
medline:
4
1
2023
Statut:
epublish
Résumé
Single-board computers such as the Raspberry Pi make it easy to control hardware setups for laboratory experiments. GPIOs and expansion boards (HATs) give access to a whole range of sensor and control hardware. However, controlling such hardware can be challenging, when many experimental setups run in parallel and the time component is critical. LabNet is a C++ optimized control layer software to give access to the Raspberry Pi connected hardware over a simple network protocol. LabNet was developed to be suitable for time-critical operations, and to be simple to expand. It leverages the actor model to simplify multithreading programming and to increase modularity. The message protocol is implemented in Protobuf and offers performance, small message size, and supports a large number of programming languages on the client side. It shows good performance compared to locally executed tools like Bpod, pyControl, or Autopilot and reaches sub-millisecond range in network communication latencies. LabNet can monitor and react simultaneously to up to 14 pairs of digital inputs, without increasing latencies. LabNet itself does not provide support for the design of experimental tasks. This is left to the client. LabNet can be used for general automation in experimental laboratories with its control PC located at some distance. LabNet is open source and under continuing development.
Identifiants
pubmed: 36583654
doi: 10.7554/eLife.77973
pii: 77973
pmc: PMC9803348
doi:
pii:
Types de publication
Journal Article
Research Support, Non-U.S. Gov't
Langues
eng
Sous-ensembles de citation
IM
Informations de copyright
© 2022, Schatz and Winter.
Déclaration de conflit d'intérêts
AS, YW No competing interests declared
Références
Behav Res Methods. 2010 Nov;42(4):1059-71
pubmed: 21139173
Elife. 2022 Jan 19;11:
pubmed: 35043782
Front Neuroinform. 2015 Apr 08;9:7
pubmed: 25904861
J Neural Eng. 2017 Aug;14(4):045003
pubmed: 28169219
PLoS One. 2017 Jan 6;12(1):e0169476
pubmed: 28060883
J Exp Biol. 2005 Feb;208(Pt 3):539-48
pubmed: 15671342
Science. 2017 Jan 6;355(6320):75-78
pubmed: 28059766
Nature. 2016 May 23;534(7605):115-8
pubmed: 27251287