Cambridge Cognition 2004 hardware

Top  Previous  Next

Computers supplied by Cambridge Cognition to run Whisker and MonkeyCantab for Whisker have the following characteristics:

 

one Advantech PCI digital I/O card with reversed inputs
three displays (one for the experimenter, two for subject testing) with a Matrox multimonitor card
two touchscreens
two audio cards
no fake lines or failsafes
a device definition file as follows:

 

Sample device definition file #1 - two-box MonkeyCantab system

 

WhiskerServer v2.0 - DEVICE DEFINITION FILE - DO NOT ALTER THIS LINE

####################################################################

 

# This file defines device names used by the WhiskerServer program.

# Lines beginning with a hash (#) are comments and are ignored.

#

# Each line takes the following format:

#

#       <device_type> <device_number> <group_name> <device_name>

#

# where <device_type> may be

#       line            = digital I/O line

#       display         = display device (monitor)

#       audio           = audio device (sound card, or half-sound card; see manual)

#

# The <device_number> is the number of the line/display/audio device that you see

# on the server's console - the number that you would otherwise claim.

#

# The COMBINATION of the <group_name> and <device_name> must be unique.

# If the server encounters non-unique device group/name pairs in this file,

# all but the first will be ignored.

# Neither the <group_name> nor the <device_name> may start with a number.

 

#######################################################################

 

# File for double Monkey CANTAB test system

 

# ---------------- Box 0 definition

 

# INPUTS

 

line     0    box0    LEVER

line     1    box0    LICKSENSOR

line     2    box0    EXTRAREWARDDEVICE_INPUT

line     3    box0    MAGAZINE_DOOR

line     4    box0    FEEDER_REPORT

line     5    box0    PUMP2_FEEDER2_REPORT

line     6    box0    LEVERHOME

line     7    box0    SPARE_INPUT_BOX0

 

line    16    box1    LEVER

line    17    box1    LICKSENSOR

line    18    box1    EXTRAREWARDDEVICE_INPUT

line    19    box1    MAGAZINE_DOOR

line    20    box1    FEEDER_REPORT

line    21    box1    PUMP2_FEEDER2_REPORT

line    22    box1    LEVERHOME

line    23    box1    SPARE_INPUT_BOX1

 

# OUTPUTS

 

line    8     box0    HOUSELIGHT

line    9     box0    PUMP

line    10    box0    EXTRAREWARDDEVICE

line    11    box0    MAGAZINE_LAMP

line    12    box0    PELLET

line    13    box0    PUMP2

line    14    box0    LEVERCONTROL

line    15    box0    EXTRAPUNISHMENTDEVICE

line    42    box0    STIMULUS_INFO

line    43    box0    REINFORCEMENT_INFO

 

line    24    box1    HOUSELIGHT

line    25    box1    PUMP

line    26    box1    EXTRAREWARDDEVICE

line    27    box1    MAGAZINE_LAMP

line    28    box1    PELLET

line    29    box1    PUMP2

line    30    box1    LEVERCONTROL

line    31    box1    EXTRAPUNISHMENTDEVICE

line    44    box1    STIMULUS_INFO

line    45    box1    REINFORCEMENT_INFO

 

# DISPLAY

 

display  0    box0    SCREEN

display  1    box1    SCREEN  

 

# AUDIO

 

audio    0    box0    SOUND

audio    1    box1    SOUND

 

# SAFETY RELAYS

 

line    40    R1

line    41    R2

 

Sample device definition file #2 - four-box MonkeyCantab system

 

WhiskerServer v2.0 - DEVICE DEFINITION FILE - DO NOT ALTER THIS LINE

####################################################################

 

# This file defines device names used by the WhiskerServer program.

#lines beginning with a hash (#) are comments and are ignored.

#

# Eachline takes the following format:

#

#    <device_type> <device_number> <group_name> <device_name>

#

# where <device_type> may be

#    line    = digital I/Oline

#    display    = display device (monitor)

#    audio    = audio device (sound card, or half-sound card; see manual)

#

# The <device_number> is the number of theline/display/audio device that you see

# on the server's console - the number that you would otherwise claim.

#

# The COMBINATION of the <group_name> and <device_name> must be unique.

# If the server encounters non-unique device group/name pairs in this file,

# all but the first will be ignored.

# Neither the <group_name> nor the <device_name> may start with a number.

#

# CREATED ON: 29-September-2004

# BY: Simon Gow

#######################################################################

 

# File for 4-Box Monkey Cantab boxes

 

# ---------------- Box 0 & 1 definition

 

# INPUTS

line     0    box0    LEVER

line     1    box0    LICKSENSOR

line     2    box0    EXTRAREWARDDEVICE_INPUT

line     3    box0    MAGAZINE_DOOR

line     4    box0    FEEDER_REPORT

line     5    box0    PUMP2_FEEDER2_REPORT

line     6    box0    LEVERHOME

line     7    box0    SPARE_INPUT_BOX0

line    16    box1    LEVER

line    17    box1    LICKSENSOR

line    18    box1    EXTRAREWARDDEVICE_INPUT

line    19    box1    MAGAZINE_DOOR

line    20    box1    FEEDER_REPORT

line    21    box1    PUMP2_FEEDER2_REPORT

line    22    box1    LEVERHOME

line    23    box1    SPARE_INPUT_BOX1

 

# OUTPUTS

line     8    box0    HOUSELIGHT

line     9    box0    PUMP

line    10    box0    EXTRAREWARDDEVICE

line    11    box0    MAGAZINE_LAMP

line    12    box0    PELLET

line    13    box0    PUMP2_FEEDER_2

line    14    box0    LEVERCONTROL

line    15    box0    EXTRAPUNISHMENTDEVICE

line    72    box0    STIMULUS_INFO

line    73    box0    REINFORCEMENT_INFO

line    24    box1    HOUSELIGHT

line    25    box1    PUMP

line    26    box1    EXTRAREWARDDEVICE

line    27    box1    MAGAZINE_LAMP

line    28    box1    PELLET

line    29    box1    PUMP2_FEEDER_2

line    30    box1    LEVERCONTROL

line    31    box1    EXTRAPUNISHMENTDEVICE

line    74    box1    STIMULUS_INFO

line    75    box1    REINFORCEMENT_INFO

 

# DISPLAY

display  0    box0    SCREEN

display  1    box1    SCREEN

display  2    box2    SCREEN

display  3    box3    SCREEN

 

# AUDIO

audio    0    box0    SOUND

audio    1    box1    SOUND

audio    2    box2    SOUND

audio    3    box3    SOUND

 

# SAFETY RELAYS

line    64    R1    SAFETY_RELAY1

line    65    R2    SAFETY_RELAY2

 

# ---------------- Box 2 & 3 definition

# INPUTS

line    32    box2    LEVER

line    33    box2    LICKSENSOR

line    34    box2    EXTRAREWARDDEVICE_INPUT

line    35    box2    MAGAZINE_DOOR

line    36    box2    FEEDER_REPORT

line    37    box2    PUMP2_FEEDER2_REPORT

line    38    box2    LEVERHOME

line    39    box2    SPARE_INPUT_BOX0

line    48    box3    LEVER

line    49    box3    LICKSENSOR

line    50    box3    EXTRAREWARDDEVICE_INPUT

line    51    box3    MAGAZINE_DOOR

line    52    box3    FEEDER_REPORT

line    53    box3    PUMP2_FEEDER2_REPORT

line    54    box3    LEVERHOME

line    55    box3    SPARE_INPUT_BOX1

 

# OUTPUTS

line    40    box2    HOUSELIGHT

line    41    box2    PUMP

line    42    box2    EXTRAREWARDDEVICE

line    43    box2    MAGAZINE_LAMP

line    44    box2    PELLET

line    45    box2    PUMP2_FEEDER_2

line    46    box2    LEVERCONTROL

line    47    box2    EXTRAPUNISHMENTDEVICE

line    76    box2    STIMULUS_INFO

line    77    box2    REINFORCEMENT_INFO

line    56    box3    HOUSELIGHT

line    57    box3    PUMP

line    58    box3    EXTRAREWARDDEVICE

line    59    box3    MAGAZINE_LAMP

line    60    box3    PELLET

line    61    box3    PUMP2_FEEDER_2

line    62    box3    LEVERCONTROL

line    63    box3    EXTRAPUNISHMENTDEVICE

line    78    box3    STIMULUS_INFOx

line    79    box3    REINFORCEMENT_INFO

 

 

# ---------------- Box User Inputs

# INPUTS

line    80    box0    USER_INPUT_1

line    81    box0    USER_INPUT_2

line    82    box1    USER_INPUT_1

line    83    box1    USER_INPUT_2

line    84    box2    USER_INPUT_1

line    85    box2    USER_INPUT_2

line    86    box3    USER_INPUT_1

line    87    box3    USER_INPUT_2

 

 

Configure the Advantech card like this:

 

MonkeyCantab_Camcog_RhesusAdvantech_1