writeByte for action since the other options are for parallel ports. I chose ACC for the source, and long was the only option for data type. I have already set the keyboard as the input mask with the correct response and set the data logging to standard which includes accuracy data. Even after all of this I keep getting an error message that says "Parameter Source not found: ACC." After doing some extensive digging around and watching hours of tutorials, I found this:
'ACC' does not work consistently as a 'Source' for InputMask Task Events. Supposedly, selecting 'ACC' as the 'Source' for a Task Event allows you to send the accuracy of the current trial to an exteranal device. If you select 'ACC' as the 'Source' for Stimulus.Keyboard(1).Press, the program will compile and run, but will then cause a Runtime Error: ParameterSource not found: 'ACC'. However, 'ACC' will work as the 'Source' for Stimulus.Keyboard(1).MaxCountReached and Stimulus.Keyboard(1).RESPchanged without this runtime error, but will send a '1' only if a correct response occurs before the duration of the Stimulus object has been reached, even if the InputMask exceeds that time. On the other hand, 'ACC' does not even appear as a 'Source' option for Stimulus.Keyboard(1).Release.
Please sign in to leave a comment.