Required devices

Top  Previous  Next

The program requires to claim devices in groups named box0, box1, box2… with device names as listed below in bold:

 

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

# INPUTS

line    0       box0   REARPANEL

line    3       box0   HOLE_0

line    6       box0   HOLE_1

line    9       box0   HOLE_2

line    12      box0   HOLE_3

line    15      box0   HOLE_4

 

# OUTPUTS

line    24      box0   HOUSELIGHT

line    27      box0   PELLET

line    30      box0   TRAYLIGHT

line    33      box0   TONE

line    36      box0   STIMLIGHT_0

line    39      box0   STIMLIGHT_1

line    42      box0   STIMLIGHT_2

line    45      box0   STIMLIGHT_3

line    48      box0   STIMLIGHT_4

line    51      box0   STIMLIGHT_0_DIM

line    54      box0   STIMLIGHT_1_DIM

line    57      box0   STIMLIGHT_2_DIM

line    60      box0   STIMLIGHT_3_DIM

line    63      box0   STIMLIGHT_4_DIM

line    66      box0   DIM0

line    69      box0   DIM1

line    72      box0   DIM2

 

# ... and so on for all your boxes

 

Please ensure that these devices are available and listed in the device definition file in use by the server. (The snippet above shows an extract from a typical definition file.)

The TONE device is the one used as a tone or a white-noise distractor.

 

MORE DETAIL

 

Please note that for nine-hole boxes, the five-choice task is usually configured to use holes 1, 3, 5, 7, and 9. These boxes often also have a dimming system. The three types of box in common use are as follows:

 

Box type 1: no dimming system

 

In the WhiskerServer device definition file, assign your chosen five holes so that their input lines (nosepoke detectors) map to HOLE_0 to HOLE_4.
Assign their corresponding output lines (lamps) to STIMLIGHT_0 through STIMLIGHT_4.
Assign all the other devices (REARPANEL, HOUSELIGHT, PELLET, TRAYLIGHT, TONE).
You will need to create fake lines in WhiskerServer, and assign STIMLIGHT_0_DIM to STIMLIGHT_4_DIM to them.
Likewise, you will need to assign DIM0, DIM1, and DIM2 to fake lines.

 

Box type 2: nine-hole box with "old" dimming system (e.g. Cambridge Cognition / Campden Instruments 80600 [rat] and 80610 [mouse] Nine Hole Box Operant Chamber)

 

In nine-hole boxes, holes 1, 3, 5, 7, and 9 are usually used for the five-choice task. So:
Assign your box's input HOLE1 to have the label HOLE_0.
Assign your box's input HOLE3 to have the label HOLE_1.
Assign your box's input HOLE5 to have the label HOLE_2.
Assign your box's input HOLE7 to have the label HOLE_3.
Assign your box's input HOLE9 to have the label HOLE_4.
Assign your box's output LAMP1A to have the label STIMLIGHT_0.
Assign your box's output LAMP3A to have the label STIMLIGHT_1.
Assign your box's output LAMP5A to have the label STIMLIGHT_2.
Assign your box's output LAMP7A to have the label STIMLIGHT_3.
Assign your box's output LAMP9A to have the label STIMLIGHT_4.
Assign your box's output LAMP1B to have the label STIMLIGHT_0_DIM.
Assign your box's output LAMP3B to have the label STIMLIGHT_1_DIM.
Assign your box's output LAMP5B to have the label STIMLIGHT_2_DIM.
Assign your box's output LAMP7B to have the label STIMLIGHT_3_DIM.
Assign your box's output LAMP9B to have the label STIMLIGHT_4_DIM.
Assign all the other devices (REARPANEL, HOUSELIGHT, PELLET, TRAYLIGHT, TONE).
You will need to create fake lines in WhiskerServer, and assign DIM0, DIM1, and DIM2 to them.
Adjust your box's DIAL A or V1 to set what will be known as "brightness level 1".
Adjust your box's DIAL B or V2 to set what will be known as "brightness level 2".

 

Box type 3: nine-hole box with "new" dimming system (e.g. Cambridge Cognition / Campden Instruments 80600A [rat] and 80610A [mouse] Nine Hole Box Operant Chamber)

 

In nine-hole boxes, holes 1, 3, 5, 7, and 9 are usually used for the five-choice task. So:
Assign your box's input HOLE1 to have the label HOLE_0.
Assign your box's input HOLE3 to have the label HOLE_1.
Assign your box's input HOLE5 to have the label HOLE_2.
Assign your box's input HOLE7 to have the label HOLE_3.
Assign your box's input HOLE9 to have the label HOLE_4.
Assign your box's output LAMP1 to have the label STIMLIGHT_0.
Assign your box's output LAMP3 to have the label STIMLIGHT_1.
Assign your box's output LAMP5 to have the label STIMLIGHT_2.
Assign your box's output LAMP7 to have the label STIMLIGHT_3.
Assign your box's output LAMP9 to have the label STIMLIGHT_4.
Assign DIM0, DIM1, and DIM2.
Assign all the other devices (REARPANEL, HOUSELIGHT, PELLET, TRAYLIGHT, TONE).
You will need to create fake lines in WhiskerServer, and assign STIMLIGHT_0_DIM through STIMLIGHT_4_DIM to them.