• Adjusting for lag

    One thing I hate is heisenbugs. One recent one is that some of the triggers being sent by E-prime to our EEG systems have been incorrect. For instance, the first four triggers should be 1, 5, 6, 2. But in two of the last five participants, they've been 1, 5, 7, 3. There are no methods that I know of that would lead E-prime to send anything other that the trigger codes that I provide it. No changes were made to the E-prime program, and I confirmed that the timing files generated by E-prime show that the correct codes should have been sent. I dug in a little more, and…