Error on Inline

Michiel Spape Michiel.Spape at nottingham.ac.uk
Mon Jun 14 15:24:16 UTC 2010


Hi,
This code is okay, as long as you have a PreStim object. Just call your stimulusobject (say, the fixation cross or whatever) PreStim, or dump a textdisplay with onset/offset sync disabled and of about 4 ms immediately before the stimulus. That is, onsetsignalenabled-etc sends data (onsetsignaldata) over the parallelport (&H378) at the onset of PreStim. PreStim is just the object (textdisplay, slide, movie, sound, etc) preceding the stimulus (presumably) used by whoever wrote this code.

Another possibility is just using the writeport command (found in help). 

Michiel Spapé
Research Fellow
Perception & Action group
University of Nottingham
School of Psychology


-----Original Message-----
From: e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] On Behalf Of p_e_t_e
Sent: 14 June 2010 14:50
To: E-Prime
Subject: Error on Inline

Hi everyone!
I am doing a thesis where I will be recording EEGs during the
presentation of some movies.
The paradigm is:
Documentary part 1
Ad 1
Ad 2
Ad 3
Documentary part 2
Ad 4
Ad 5
Ad 6
...
My question is how do I signal the beginning of each movie? I was
told
to use InLine with this code:

PreStim.OnsetSignalEnabled = True
PreStim.OnsetSignalPort = &H378
PreStim.OnsetSignalData = &H01

PreStim.OffsetSignalEnabled = True
PreStim.OffsetSignalPort = &H378
PreStim.OffsetSignalData = &H01

But it gives an error saying that left of "." must be an object,
structure or dialog.
Is there any other way to send a signal identifying the stimulus?
Thanks!

-- 
You received this message because you are subscribed to the Google Groups "E-Prime" group.
To post to this group, send email to e-prime at googlegroups.com.
To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com.
For more options, visit this group at http://groups.google.com/group/e-prime?hl=en.

This message has been checked for viruses but the contents of an attachment
may still contain software viruses which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.

-- 
You received this message because you are subscribed to the Google Groups "E-Prime" group.
To post to this group, send email to e-prime at googlegroups.com.
To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com.
For more options, visit this group at http://groups.google.com/group/e-prime?hl=en.



More information about the Eprime mailing list