Labeling EEG Triggers

Melaina Vinski mtvinski at gmail.com
Thu Feb 7 14:11:43 UTC 2013


Thank you for your quick reply! We are using a serial port - do these
instructions follow for serial ports as well?

Also, if I want to include more than 1 condition to label the trigger (so
not just "numbos", but also "type" for example), would I be okay with using:

elseif c.GetAttrib ("numobs") = 10
          and c.GetAttrib ("type") = 3 then
**        ****         **WritePort &H378, &HA

Thank you kindly in advance - I appreciate the help!

M




On Wed, Feb 6, 2013 at 8:42 PM, Alphonse Stickle <alphonse.stickle at gmail.com
> wrote:

>
> .. for clarity sake, sorry, typo - Decimal address = 888, not 88
>
>
> At 12:40 PM 7/02/2013, you wrote:
>
>
> An example using native parallel port (Decimal address = 88, therefore Hex
> address 378) to send bytes to a NeuroScan system using Hex notation
> (&H...), which would appear in NeuroScan .cnt file as trigger codes 1 to 10:
>
> ' assess item level and** **send appropriate trigger code to NuAmps
> If c.GetAttrib ("numobs") = 1 then
> **        ****         **WritePort &H378, &H1
>
> **        **elseif c.GetAttrib ("numobs") = 2 then
> **        ****         **WritePort &H378, &H2
>
> **        **elseif c.GetAttrib ("numobs") = 3 then
> **        ****         **WritePort &H378, &H3
>
> **        **elseif c.GetAttrib ("numobs") = 4 then
> **        ****         **WritePort &H378, &H4
>
> **        **elseif c.GetAttrib ("numobs") = 5 then
> **        ****         **WritePort &H378, &H5
>
> **        **elseif c.GetAttrib ("numobs") = 6 then
> **        ****         **WritePort &H378, &H6
>
> **        **elseif c.GetAttrib ("numobs") = 7 then
> **        ****         **WritePort &H378, &H7
>
> **        **elseif c.GetAttrib ("numobs") = 8 then
> **        ****         **WritePort &H378, &H8
>
> **        **elseif c.GetAttrib ("numobs") = 9 then
> **        ****         **WritePort &H378, &H9
>
> **        **elseif c.GetAttrib ("numobs") = 10 then
> **        ****         **WritePort &H378, &HA
> End If
>
> ... here is a conversion tool:
>
>  http://easycalculation.com/hex-converter.php
>
> At 12:23 PM 7/02/2013, you wrote:
>
> Hi All,
>
> I am using inline code (WritePort) in Eprime2 to send triggers from the
> test computer to an EEG computer.
>
> I would like to add a label to each trigger that specifies what type of
> trial that specific trigger is associated with (there are several levels to
> several variables). Does anyone have any insight for how I might go about
> doing this?
>
> Thank you in advance!
> M
>
> --
> You received this message because you are subscribed to the Google Groups
> "E-Prime" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to e-prime+unsubscribe at googlegroups.com.
> To post to this group, send email to e-prime at googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/e-prime/-/BEjt5C5n6n8J.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "E-Prime" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to e-prime+unsubscribe at googlegroups.com.
> To post to this group, send email to e-prime at googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "E-Prime" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to e-prime+unsubscribe at googlegroups.com.
> To post to this group, send email to e-prime at googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>



-- 
Melaina T. Vinski
MSc Candidate
Psychology, Neuroscience & Behavior
Cognitive Sciences Lab
McMaster University
905-525-9140 ext. 22853

-- 
You received this message because you are subscribed to the Google Groups "E-Prime" group.
To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com.
To post to this group, send email to e-prime at googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.linguistlist.org/pipermail/eprime/attachments/20130207/b145c4d6/attachment.htm>


More information about the Eprime mailing list