DataPixx Settings - nimh-nif/SCNI_Toolbar GitHub Wiki

The Datapixx Settings window enables users to easily load, edit, and save channel mappings for the DataPixx2 from VPixx. These variables are saved to the Params.DPx structure. The upper panel automatically detects whether the Datapixx toolbox is installed on the local machine, and whether a DataPixx box is currently connected.

SCNI_DatapixxSettings GUI

Figure 1. SCNI_DataPixxSettings GUI window

Top panel

The top panel contains six control elements. On the right hand side, coloured boxes indicate whether:

  1. The Datapixx Matlab functions are saved to the Matlab path on the local machine
  2. The DataPixx2 hardware is connected and powered on
  3. The DataPixx2's digital out is connected directly to a TDT RZ2's digital in, via DB25 cable
  4. The DataPixx2 is connected to an SCNI Interface Box

The first two states are automatically detected when the GUI window is opened. The third and fourth are user selectable via the tickbox to the left. Selecting TDT connection automatically assigns digital out channels 9-23 to TDT, and overrides assignment of those channels to any other output. Selecting an interface box connection (as opposed to directly connecting the DataPixx 2 digital output to the TDT RZ2 digital input) automatically assigns analog input channels 0-5 to EyeLink II (per the internal wiring of the interface box), and reconfigures the output channels (increasing the number of available bits from 13 to 16).

The two toggle buttons below the VPixx logo are used to select whether video and audio signals are being routed through the DataPixx2 hardware or not. As of 2018, the DataPixx2's DVI-D input is not capable of handling resolutions above 1080p at 60Hz, and even at that resolution, it is not capable of displaying full color images with gaze position overlay for the experimenter. For this reason, the default setting is for video signal to bypass the DataPixx2.

Data panels

The edit box on each of the analog panels allows for the user to set a default ADC or DAC sample rate (samples per second). For each available channel, the drop-down menus allow the user to either:

  1. select one of the pre-existing input/output types (the channel number will turn green)
  2. select 'none' to indicate not to use the channel (the channel number will turn grey)
  3. select 'add new' to add a new input/output type to the drop-down menu

Hardware I/O

The analog and digital inputs and outputs are accessed through 3 female DB25 connectors located on the rear panel of the DataPixx2. The pin outs for these connectors are provided in the DataPixx2 manual and shown in the tables below:

ANALOG I/O
Pin Description Pin Description
1 ADC0 14 ADC1
2 ADC2 15 ADC3
3 ADC4 16 ADC5
4 ADC6 17 ADC7
5 ADC8 18 ADC9
6 ADC10 19 ADC11
7 ADC12 20 ADC13
8 ADC14 21 ADC15
9 REF0 22 REF1
10 GND 23 +5V VDC**
11 DAC0 24 DAC1
12 DAC2 25 DAC3
13 GND shield*
DIGITAL IN
Pin Description Pin Description
1 Digital In 0 14 Digital In 1
2 Digital In 2 15 Digital In 3
3 Digital In 4 16 Digital In 5
4 Digital In 6 17 Digital In 7
5 Digital In 8 18 Digital In 9
6 Digital In 10 19 Digital In 11
7 Digital In 12 20 Digital In 13
8 Digital In 14 21 Digital In 15
9 Digital In 16 22 Digital In 17
10 Digital In 18 23 Digital In 19
11 Digital In 20 24 Digital In 21
12 Digital In 22 25 Digital In 23
13 GND shield*
DIGITAL OUT
Pin Description Pin Description
1 Digital Out 0 14 Digital Out 1
2 Digital Out 2 15 Digital Out 3
3 Digital Out 4 16 Digital Out 5
4 Digital Out 6 17 Digital Out 7
5 Digital Out 8 18 Digital Out 9
6 Digital Out 10 19 Digital Out 11
7 Digital Out 12 20 Digital Out 13
8 Digital Out 14 21 Digital Out 15
9 Digital Out 16 22 Digital Out 17
10 Digital Out 18 23 Digital Out 19
11 Digital Out 20 24 Digital Out 21
12 Digital Out 22 25 Digital Out 23
13 GND shield*

VPixx DataPixx2

⚠️ **GitHub.com Fallback** ⚠️