Initially run XXX but replaced by Matlab/psychtoolbox version in mid 2024.
Give headphones to participant and make sure the audio cable is plugged into the task computer
Log into lncd account on the task computer
Open new terminal window
cd in luna folder if you want to run:
To check if the rt box is working
python ./http_ttl.py test_rtbox
To test the DAQ pulses
./http_ttl.py test_DAQ
If you run
./http_ttl.py
without any input arguments a help message will appear with a list of options including test_rtbox, test_DAQ
To run the habit task
./habit
“RTBox serial port not found” if button box chord is loose. Check connections and try again
If still running but need to restart
usb_1208FS/DAQ errors: check DAQ usb connection
Reboot computers if all else fails
Enter subject ID and push “Go”
Either drag task to the monitor or press f8 to mirror the laptop
Press f11 to go full screen
If not mirroring the laptop make sure the mouse is on the monitor to bring focus there
Read each instruction page to the participant
Botton box should advance the instructions
Black and white squares in upper left will change between instruction slides and should trigger the photodiode/ send DAQ/ TTL triggers to the recording
On the final page of instruction click “test sound” to make sure the audio is working
During the task, button pushes should send DAQ pulse to signal recording
Click “download task data” on the task's finish screen. Save task .json file to computer