Session Protocol: Slot-Machine Study with EEG and Skin Conductance
Part A. One-Time Setup (with the lab technician, before the first participant) Do this once on the stimulus computer. It takes about 2 hours. Tick each box when done. A1 Install PsychoPy. Download “PsychoPy Standalone” from psychopy.org/download (version 2023.1.3 was used for testing; a later version should also work, but then repeat step A7). Install with the default options. A2 Copy the study folder. Unzip slot_study_v1.zip to a simple place, for example C:\slot_study (Windows) or Documents/slot_study (Mac). A3 Double-click 0_SETUP_ONCE. It installs two small packages for triggers and builds the questionnaire forms. Wait until it says “Finished”. A4 Tell the program how the lab records triggers. Open config/lab_config.json with Notepad and change only the lines in Table 1. Save the file. Table 1 Settings to Edit in config/lab_config.json Setting What to write language "en", "es" or "it" — the language of the participant screens fullscreen true (always true with participants) screen_index 0 = main screen. If the game opens on the experimenter’s screen, write 1 expected_refresh_hz the refresh rate of the participant’s screen (usually 60) triggers → backend "parallel" = parallel (LPT) cable (e.g. BioSemi, older BrainVision) "serial" = USB trigger box or USB-TTL cable (e.g. BrainProducts TriggerBox) "lsl" = Lab Streaming Layer (record with LabRecorder) "none" = no triggers (only for testing; markers still saved to a file) parallel_address only for "parallel": the port address from Windows Device Manager, e.g. "0x3FF8" serial_port only for "serial": e.g. "COM4" (Windows Device Manager → Ports) or "/dev/tty.usbserial…" (Mac) serial_baud only for "serial": the speed given in the trigger-box manual A5 Prepare the computer. Turn off notifications (Windows: Focus assist = Alarms only). Set Sleep = Never. Set display scaling to 100% and the refresh rate to 60 Hz. Close e-mail, cloud sync and updates during sessions. A6 Test the triggers. Start the EEG/physiology recording software as for a real session. Double-click 2_CHECK_SETUP_AND_TRIGGERS. Every line must say OK (WARNING lines are acceptable). Press Enter: 10 markers with code 200 must appear in the recording, one per second. If they do not appear, see Part E. A7 Run the self-test. Double-click 4_FAST_SELF_TEST. A complete session plays by itself in about 2 minutes. At the end it must say “COMPLETED” and “Quality check: OK”. A8 Pilot. Run 3 complete practice sessions with colleagues (IDs P901–P903, Mode = participant), including sensors and recording. Check that the data, the recording and the markers line up. These pilots are not analysed.
Authors
- amin alvani (ORCID: https://orcid.org/0000-0003-4337-7046)
Institutions
- University of Urbino (IT)
- Islamic Azad University of Arsanjan (IR)
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-11-25
- DOI
- https://doi.org/10.5281/zenodo.24541605
- Primary Topic
- Neural and Behavioral Psychology Studies
- Type
- article
- Field-Weighted Citation Impact
- 0.00