brainspy.processors.hardware.drivers.ni.tasks#

This file contains drivers to handle nidaqmx.Tasks on different environments, that include regular National Instrument racks or National Instrument real-time racks.

Both drivers work seamlessly, they declare the following nidaqmx.Task instances: 1. activation_task: It handles sending signals to the (DNPU) device through electrodes declared as activation electrodes.

2. readout_task: It handles reading signlas comming out from the (DNPU) device from electrodes declared as readout electrodes.

Both nidaqmx.Task instances will declare a channel per electrode, and in the case of the cdaq to nidaq connection, they will also declare an extra synchronization channel. It can alo be used to set the shape variables according to the requiremnets.

Classes

IOTasksManager(configs)

Class to initialise and handle the "nidaqmx.Task"s required for brains-py drivers.