State name
|
Description
|
State of the box
|
Consequence of nosepoking at the front panel (one of the five holes)
|
Consequence of nosepoking at the rear (food) panel
|
Consequence of time passing
|
PHASE_NOTSTARTED
|
"Not started yet". Awaiting experimenter to start task.
|
Darkness.
|
-
|
-
|
-
|
PHASE_WANTPANELPUSH
|
"Awaiting panel-push".
|
Houselight on.
|
Recorded. No other consequence.
|
Recorded. Go to PHASE_INITIAL_PAUSE.
|
-. Note potential for long pause.
|
PHASE_INITIAL_PAUSE
|
"Initial pre-stim pause".
|
Houselight on.
|
Recorded (anticipatory nosepoke). No other consequence unless user has chosen to punish these (m_bPunishPhase1Premature), in which case go to PHASE_DARKNESS.
|
Recorded (panel push in initial pause). No other consequence.
|
Go to PHASE_STIM1_ON.
|
PHASE_STIM1_ON
|
"Stimulus 1 on".
|
Houselight on.
Stimulus light on.
|
If correct response, go to PHASE_DELAY (and if rewarding phase 1, also deliver pellets). If incorrect response, go to PHASE_DARKNESS.
|
Recorded. No other consequence.
|
Go to PHASE_STIM1_DONE.
|
PHASE_STIM1_DONE
|
"Stimulus 1 done, a/w response".
|
Houselight on.
Stimulus off.
|
Exactly as for PHASE_STIM1_ON.
|
Recorded. No other consequence.
|
Limited hold expired; score Phase 1 omission; go to PHASE_DARKNESS.
|
PHASE_DARKNESS
|
"DARKNESS... New trial".
|
Darkness.
|
Recorded. No other consequence.
|
Recorded. No other consequence.
|
Go to PHASE_WANTPANELPUSH.
|
PHASE_DELAY
|
"Memory delay".
|
Houselight on, or if selected, flashing houselight distractor.
Traylight on.
|
Recorded (perseverative nosepoke). No other consequence.
|
Recorded (panel push during delay). No other consequence.
|
Go to PHASE_DELAYDONE.
|
PHASE_DELAYDONE
|
"Delay finished. Now poke!"
|
Exactly as for PHASE_DELAY.
|
Exactly as for PHASE_DELAY.
|
Recorded (without any special label). Go to PHASE_STIM2_ON.
|
-. Note potential for long pause.
|
PHASE_STIM2_ON
|
"Choice stimuli".
|
Houselight on.
Traylight off.
Choice stimuli on.
|
If correct response, give reward and go to PHASE_COLLECTING_BIGBONUS. If incorrect response, go to PHASE_DARKNESS.
|
Recorded. No other consequence.
|
Go to PHASE_STIM2_DONE.
|
PHASE_STIM2_DONE
|
"Stimulus 2 done, a/w response".
|
Houselight on.
Traylight off.
Choice stimuli off.
|
Exactly as for PHASE_STIM2_ON.
|
Recorded. No other consequence.
|
Limited hold expired; score Phase 2 omission; go to PHASE_DARKNESS.
|
PHASE_COLLECTING_BIGBONUS
|
"You won. Eat up."
|
Houselight on.
Traylight off.
|
Recorded. No other consequence.
|
Recorded. Go to PHASE_EATING_UP.
|
-. Note potential for long pause.
|
PHASE_EATING_UP
|
"Munch. Munch. Munch."
|
Houselight on.
Traylight off.
|
Recorded. No other consequence.
|
Recorded. No other consequence.
|
After end of eating time, go to PHASE_DARKNESS.
|
FINISHED
|
"--- Finished. ---" Rat finished the task.
|
Darkness.
|
-
|
-
|
-
|
ABORTED
|
"*** Aborted! ***" User aborted the task.
|
Darkness.
|
-
|
-
|
-
|