Page 1 of 1

Biosemi + E-prime -> 255 triggers using the In-Line object

Posted: Wed Feb 05, 2014 5:32 pm
by rjonczyk
Hello :)

I'm a PhD student from Poland conducting research on emotions in bilingualism. I'm new to BioSemi (did my control group with NeuroScan) and have one question concerning the triggers. I'm using 32 different triggers in my experiment (11, 12, 13, 231, 232, 233, etc.) and E-prime 2.0 as my presentation software. If I use an InLine script in E-prime like the one below, will it work for BioSemi or do I have to do something extra or different? Forgive me if this is a really basic and silly question, but I'm completely new to BioSemi.

Const BASE_ADDRESS = #don't know yet :)
Const OUT_PORT_ADDRESS = BASE_ADDRESS
Const IN_PORT_ADDRESS = BASE_ADDRESS + 1

and later on:

WritePort OUT_PORT_ADDRESS, c.GetAttrib("code") #or ", 200" ", 232"
Sleep 1
WritePort OUT_PORT_ADDRESS, 0

I read the FAQ on the BioSemi website as well as browsed the forum, but couldn't find a direct answer to that question.
Thank you in advance.
Best,
Rafal