From randers at bgnet.bgsu.edu Wed Jan 8 14:35:54 2003 From: randers at bgnet.bgsu.edu (randers at bgnet.bgsu.edu) Date: Wed, 8 Jan 2003 09:35:54 -0500 Subject: Site license, drive imaging and Windows XP Message-ID: Has anyone figured out how to set up a site-license version of E-prime so that it will run on networked computers that have their drive images refreshed periodically from a central server? This scheme works if the computers are running Windows 98. But if they're running Windows XP, it causes copy-protection/security errors. - Best regards, Richard Anderson From amneris at telocity.com Thu Jan 9 01:30:47 2003 From: amneris at telocity.com (Wiltrud Fassbinder) Date: Wed, 8 Jan 2003 20:30:47 -0500 Subject: repeat stimulus, start new one Message-ID: Hi, I am a new user of E-prime, and am trying to write a script for meaning similarity ratings for word pairs. My goal is to have participants judge meaning similarity on a 1-9 analog scale. I also want to give visual feedback for their judgment, so that they can go back and change it, if possible. I have created two text displays. The first presents the stimulus and visual 1-9 analog scale, with number keys 1-9 as response options. The second presents an X on the visual analog scale corresponding to the response, and the instruction to press “spacebar” for the next stimulus, or the backspace key to repeat in the stimulus. I first created those 9 feedback text displays, one for each number, and then I created an inline object. This has if-then statements of all 9 keys, and refers to the labeled text displays trial procedures I pasted in from my 9 feedback displays. Then I deleted the 9 feedback text displays. The if-then statement works, the correct visual feedback appears for each response. But I don't know how to implement the option to repeat the stimulus, or moving on to the next stimulus. Right now, regardless of response key ("spacebar" or "backspace") a response opens the feedback display of the next higher number key. How do I implement: if spacebar, got next stimulus, and if backspace, repeat this stimulus? Cheers, Wiltrud From anthony.zuccolotto at pstnet.com Thu Jan 9 14:20:52 2003 From: anthony.zuccolotto at pstnet.com (Tony Zuccolotto) Date: Thu, 9 Jan 2003 09:20:52 -0500 Subject: repeat stimulus, start new one Message-ID: Wiltrud, In general if you need to repeat a trial you can put a Label object at the very beginning of the trial procedure and then use a Goto statement within script at the end of the trial procedure to jump back up to the beginning. If you want the current set of data to be logged as a trial then you also need to manually call c.Log from script to cause the current values of attributes in the context to be logged prior to the Goto statement. Note that since the attribute values of some dependent measures (e.g. Stimulus.RT, Stimulus.ACC, Stimulus.RESP, etc) are refreshed at the very end of a Procedure immediately before the system issues its own c.Log command, if you are repeating a trial it is your responsibility to make sure that all attributes in the context have the values you wish to log at that time. This mainly constitutes putting in a series of c.SetAttrib commands similar to the following... c.SetAttrib "Stimulus.RT", Stimulus.RT c.SetAttrib "Stimulus.ACC", Stimulus.ACC c.SetAttrib "Stimulus.RESP", Stimulus.RESP If you only want to log the 'final' answer (or you are not using any extended Time Limits on your input masks) then none of the above logging issues typically apply, but you should be aware of the issue and make that determination as it applies to your paradigm. It is best to run a few trials and closely examine the data collected in E-DataAid to verify consistent logging with and without trial repeats. Hope that helps, Tony *** DISCLAIMER: ALL VIEWS EXPRESSED ARE MY OWN AND DO NOT NECESSARILY REFLECT THOSE OF PSYCHOLOGY SOFTWARE TOOLS *** Anthony P. Zuccolotto Vice President Psychology Software Tools, Inc. 2050 Ardmore Boulevard Suite 200 Pittsburgh, PA 15221-4610 Phone 412-271-5040 FAX 412-271-7077 Email anthony.zuccolotto at pstnet.com Internet http://www.pstnet.com > -----Original Message----- > From: Wiltrud Fassbinder [mailto:amneris at telocity.com] > Sent: Wednesday, January 08, 2003 8:31 PM > To: eprime at mail.talkbank.org > Subject: repeat stimulus, start new one > > > Hi, > > I am a new user of E-prime, and am trying to write a script for meaning > similarity ratings for word pairs. My goal is to have participants judge > meaning similarity on a 1-9 analog scale. I also want to give visual > feedback for their judgment, so that they can go back and change it, if > possible. > > I have created two text displays. The first presents the stimulus and > visual 1-9 analog scale, with number keys 1-9 as response options. The > second presents an X on the visual analog scale corresponding to the > response, and the instruction to press "spacebar" for the next stimulus, > or the backspace key to repeat in the stimulus. > > I first created those 9 feedback text displays, one for each number, and > then I created an inline object. This has if-then statements of all 9 > keys, and refers to the labeled text displays trial procedures I pasted > in from my 9 feedback displays. Then I deleted the 9 feedback text > displays. > > The if-then statement works, the correct visual feedback appears for > each response. But I don't know how to implement the option to repeat > the stimulus, or moving on to the next stimulus. Right now, regardless > of response key ("spacebar" or "backspace") a response opens the > feedback display of the next higher number key. How do I implement: if > spacebar, got next stimulus, and if backspace, repeat this stimulus? > > Cheers, > > Wiltrud > From anthony.zuccolotto at pstnet.com Thu Jan 9 19:40:27 2003 From: anthony.zuccolotto at pstnet.com (Tony Zuccolotto) Date: Thu, 9 Jan 2003 14:40:27 -0500 Subject: repeat stimulus, start new one Message-ID: Wiltrud, Wiltrud, I don't think Feedback1.RESP property is returing what you think it is as the backspace is somewhat of a 'special' key, i.e. the line... > If (Feedback1.RESP) = "BACKSPACE" Then Goto Repeat ...is likely returning either an empty string (since BACKSPACE is not a printable character and is processed internally) or it's possibly returning "{BACKSPACE}". By default, it is likely a null string. If you go to the Advanced properties for the Keyboard input mask you can go to the Collection tab and tell the system to collect but not process the backspace. If this is confusing try using a letter key instead of a backspace temporarily until you can investigate it further. You can also use Debug.Print during development to confirm exactly what Feedback1.RESP is returning, e.g. Debug.Print "-" & Feedback1.RESP & "-" As an aside, while your overall approach is valid and fine to use to solve your problem, if you are creating 10 Feedback objects just to set up different display arrangements you may be able to simplify things to use a single Slide object and create multiple Tabs within the Slide to represent the different visual states you want to show after the response. This solution would likely simplify your Inline script to something similar to the following. SlideDisplay.ActiveState = StimulusDisplay.RESP ' assumes tabs/states on the Slide are named 1, 2, 3, 4...etc. If (SlideDisplay.RESP) = "{BACKSPACE}" Then Goto Repeat With this you only need a single StimulusDisplay object and a single Slide object(with 10 different tabs named appropriately). Thanks, Tony > -----Original Message----- > From: Wiltrud [mailto:amneris at telocity.com] > Sent: Thursday, January 09, 2003 1:21 PM > To: Tony Zuccolotto > Subject: RE: repeat stimulus, start new one > > Tony, > > Thanks. The only place where I could get in a label object was under the > line "sub TrialProc_Run (c as Context). This has not worked. I only want > to log the final answer, so logging is not a problem. Any suggestions? > > Wiltrud > > > > > Sub TrialProc_Run(c as Context) > > Repeat: > > StimulusDisplay.Text = c.GetAttrib("stimulus") &_ > "\n\n\n|--|--|--|--|--|--|--|--|\n1 > 5 9" > > StimulusDisplay.InputMasks.Reset > > StimulusDisplayEchoClients.RemoveAll > StimulusDisplay.InputMasks.Add > Keyboard.CreateInputMask("123456789", "", > CLng(StimulusDisplay.Duration), CLng("1"), ebEndResponseActionTerminate, > CLogical("Yes"), "", "", "ResponseMode:All ProcessBackspace:Yes") > > > StimulusDisplay.Run > c.SetAttrib "StimulusDisplay.RESP", StimulusDisplay.RESP > > > ''''''''''''''''''''''''''''''''''''''''''''' > ' InLine - InLine1 BEGIN > ''''''''''''''''''''''''''''''''''''''''''''' > If(StimulusDisplay.RESP) = "1" Then Goto Feed1 > If(StimulusDisplay.RESP) = "2" Then Goto Feed2 > If(StimulusDisplay.RESP) = "3" Then Goto Feed3 > If(StimulusDisplay.RESP) = "4" Then Goto Feed4 > If(StimulusDisplay.RESP) = "5" Then Goto Feed5 > If(StimulusDisplay.RESP) = "6" Then Goto Feed6 > If(StimulusDisplay.RESP) = "7" Then Goto Feed7 > If(StimulusDisplay.RESP) = "8" Then Goto Feed8 > If(StimulusDisplay.RESP) = "9" Then Goto Feed9 > > > Feed1: > > Feedback1.Text = c.GetAttrib("stimulus") &_ > "\n\nX--|--|--|--|--|--|--|--|\n1 > 5 9\n\n\n\n\n\nOK? Press spacebar\nChange? Press the > Backspace-key" > > Feedback1.InputMasks.Reset > > Feedback1EchoClients.RemoveAll > Feedback1.InputMasks.Add > Keyboard.CreateInputMask("{SPACE}{BACKSPACE}", "", > CLng(Feedback1.Duration), CLng("1"), ebEndResponseActionTerminate, > CLogical("Yes"), "", "", "ResponseMode:All ProcessBackspace:Yes") > > > Feedback1.Run > c.SetAttrib "Feedback1.RESP", Feedback1.RESP > > > If (Feedback1.RESP) = "BACKSPACE" Then Goto Repeat > > > > -----Original Message----- > From: eprime at mail.talkbank.org [mailto:eprime at mail.talkbank.org] On > Behalf Of Tony Zuccolotto > Sent: Thursday, January 09, 2003 9:21 AM > To: eprime at mail.talkbank.org > Subject: RE: repeat stimulus, start new one > > Wiltrud, > > In general if you need to repeat a trial you can put a Label object at > the very beginning of the trial procedure and then use a Goto statement > within script at the end of the trial procedure to jump back up to the > beginning. > > If you want the current set of data to be logged as a trial then you > also need to manually call c.Log from script to cause the current values > of attributes in the context to be logged prior to the Goto statement. > > Note that since the attribute values of some dependent measures (e.g. > Stimulus.RT, Stimulus.ACC, Stimulus.RESP, etc) are refreshed at the very > end of a Procedure immediately before the system issues its own c.Log > command, if you are repeating a trial it is your responsibility to make > sure that all attributes in the context have the values you wish to log > at that time. This mainly constitutes putting in a series of > c.SetAttrib commands similar to the following... > > c.SetAttrib "Stimulus.RT", Stimulus.RT > c.SetAttrib "Stimulus.ACC", Stimulus.ACC > c.SetAttrib "Stimulus.RESP", Stimulus.RESP > > > If you only want to log the 'final' answer (or you are not using any > extended Time Limits on your input masks) then none of the above logging > issues typically apply, but you should be aware of the issue and make > that determination as it applies to your paradigm. It is best to run a > few trials and closely examine the data collected in E-DataAid to verify > consistent logging with and without trial repeats. > > Hope that helps, > Tony > > *** DISCLAIMER: ALL VIEWS EXPRESSED ARE MY OWN AND DO NOT NECESSARILY > REFLECT THOSE OF PSYCHOLOGY SOFTWARE TOOLS *** > Anthony P. Zuccolotto > Vice President > Psychology Software Tools, Inc. > 2050 Ardmore Boulevard > Suite 200 > Pittsburgh, PA 15221-4610 > Phone 412-271-5040 > FAX 412-271-7077 > Email anthony.zuccolotto at pstnet.com > Internet http://www.pstnet.com > > > -----Original Message----- > > From: Wiltrud Fassbinder [mailto:amneris at telocity.com] > > Sent: Wednesday, January 08, 2003 8:31 PM > > To: eprime at mail.talkbank.org > > Subject: repeat stimulus, start new one > > > > > > Hi, > > > > I am a new user of E-prime, and am trying to write a script for > meaning > > similarity ratings for word pairs. My goal is to have participants > judge > > meaning similarity on a 1-9 analog scale. I also want to give visual > > feedback for their judgment, so that they can go back and change it, > if > > possible. > > > > I have created two text displays. The first presents the stimulus and > > visual 1-9 analog scale, with number keys 1-9 as response options. The > > second presents an X on the visual analog scale corresponding to the > > response, and the instruction to press "spacebar" for the next > stimulus, > > or the backspace key to repeat in the stimulus. > > > > I first created those 9 feedback text displays, one for each number, > and > > then I created an inline object. This has if-then statements of all 9 > > keys, and refers to the labeled text displays trial procedures I > pasted > > in from my 9 feedback displays. Then I deleted the 9 feedback text > > displays. > > > > The if-then statement works, the correct visual feedback appears for > > each response. But I don't know how to implement the option to repeat > > the stimulus, or moving on to the next stimulus. Right now, > regardless > > of response key ("spacebar" or "backspace") a response opens the > > feedback display of the next higher number key. How do I implement: if > > spacebar, got next stimulus, and if backspace, repeat this stimulus? > > > > Cheers, > > > > Wiltrud > > > > > From eelliott at lsu.edu Thu Jan 9 20:01:53 2003 From: eelliott at lsu.edu (Emily M Elliott) Date: Thu, 9 Jan 2003 14:01:53 -0600 Subject: response box Message-ID: Hi, Has anyone used the response box to collect vocal RTs with a laptop? Thanks, Emily From stuhols at siue.edu Fri Jan 10 17:54:15 2003 From: stuhols at siue.edu (Stephen W Tuholski) Date: Fri, 10 Jan 2003 11:54:15 -0600 Subject: display object In-Reply-To: Message-ID: Hi everyone, I have what I hope to be a simple problem. I am writing a program in which I am showing a word on one display object, and then another word on the subsequent display object. I want the first word to remain on the screen during the second display. To do this, I set the BackStyle to "transparent" which works except for one problem. The first display object now moves to the same location as the second, and is seen superimposed on the second. For example I want to display something like HOUSE TABLE but instead I get HOUSE and TABLE in the same spatial location. In fact, when I slowed the timing down, I saw that initially the first display object (HOUSE) is in the correct place, and then it moves. Any suggestions/help would be great... thanks! Steve From susanc at andrew.cmu.edu Fri Jan 10 19:03:07 2003 From: susanc at andrew.cmu.edu (Susan Campbell) Date: Fri, 10 Jan 2003 14:03:07 -0500 Subject: display object In-Reply-To: <5.1.0.14.0.20030110115032.02cf26f0@mail.siue.edu> Message-ID: I've tried to replicate your problem, and I failed. I put "HOUSE" in a TextDisplay, then "TABLE" in another TextDisplay afterward (in the format TABLE) with its background style set to "Transparent". Is there something in your experiment that is different from this? Mine didn't move or superimpose themselves, though I noticed that my two returns averaged to "TABLE" being directly below "HOUSE" instead of there being a gap between them. Another possibility would be to use two Slides and set the words so the text boxes that contain them do not overlap at all. I'm using E-Prime 1.1 under Windows XP, in case that makes a difference. Hope this helps, Susan Campbell STEP Project, Carnegie Mellon From Ralf_Schmaelzle at web.de Mon Jan 13 10:04:40 2003 From: Ralf_Schmaelzle at web.de (Ralf Schmaelzle) Date: Mon, 13 Jan 2003 11:04:40 +0100 Subject: display object Message-ID: Hi Stephen, have you set the AlignVertical-Property to top? I just tried to do so and added some in order reach a quasi-centered alignment. In the second textDisplay obejct I just did the same (except for two more ). Hope that helps. Ralf. ----- Original Message ----- From: "Stephen W Tuholski" To: Sent: Friday, January 10, 2003 6:54 PM Subject: display object > > > Hi everyone, > > I have what I hope to be a simple problem. > > I am writing a program in which I am showing a word on one display object, > and then another word on the subsequent display object. I want the first > word to remain on the screen during the second display. To do this, I set > the BackStyle to "transparent" which works except for one problem. The > first display object now moves to the same location as the second, and is > seen superimposed on the second. For example I want to display something like > > HOUSE > > TABLE > > but instead I get HOUSE and TABLE in the same spatial location. In fact, > when I slowed the timing down, I saw that initially the first display > object (HOUSE) is in the correct place, and then it moves. > > Any suggestions/help would be great... thanks! > > Steve > > From ftornay at ugr.es Mon Jan 13 18:47:39 2003 From: ftornay at ugr.es (ftornay at ugr.es) Date: Mon, 13 Jan 2003 19:47:39 +0100 Subject: display object In-Reply-To: <5.1.0.14.0.20030110115032.02cf26f0@mail.siue.edu> Message-ID: Mensaje citado por Stephen W Tuholski : > > > Hi everyone, > > I have what I hope to be a simple problem. > > I am writing a program in which I am showing a word on one display object, > and then another word on the subsequent display object. I want the first > word to remain on the screen during the second display. To do this, I set > the BackStyle to "transparent" which works except for one problem. The > first display object now moves to the same location as the second, and is > seen superimposed on the second. For example I want to display something > like > > HOUSE > > TABLE > > but instead I get HOUSE and TABLE in the same spatial location. In fact, > when I slowed the timing down, I saw that initially the first display > object (HOUSE) is in the correct place, and then it moves. > > Any suggestions/help would be great... thanks! > > Steve > > > From Alan.Chauvin at lis.inpg.fr Tue Jan 14 15:22:23 2003 From: Alan.Chauvin at lis.inpg.fr (Alan) Date: Tue, 14 Jan 2003 16:22:23 +0100 Subject: need a script for displaying multiple mask in an experiment Message-ID: Hi everyone, I'm planning a priming experiment where the prime will be mask by 8 images displayed 10 ms each. (The timing resolution of my PC is about 120Hz). As I understand the Timming consideration, the only way to handle with this problem is to use a canvas object. But I don't understand how to integrate the use of canevas object in a e-studio script. If anyone have an example or alread face this problem, please help Cheers Alan _________________________________________________ Alan Chauvin NEW ONE : alan.chauvin @lis.inpg.fr Laboratoire des Images et des Signaux www.lis.inpg.fr UMR 5083 - INPG 46 Av Felix Viallet 38031 Grenoble Cedex 9 33 (0) 476 827 831 Laboratoire de Psychologie Expérimentale UMR 5105 - UPMF BP 47 38040 Grenoble www.upmf-grenoble.fr/lpe _________________________________________________ From erin5 at stanford.edu Tue Jan 14 20:39:35 2003 From: erin5 at stanford.edu (Erin S. Rogers) Date: Tue, 14 Jan 2003 12:39:35 -0800 Subject: triggering other computer Message-ID: Does anyone know what the hardware set-up should be when using Eprime to send triggers to an EEG computer (neuroscan)? From devo0023 at tc.umn.edu Tue Jan 14 21:44:39 2003 From: devo0023 at tc.umn.edu (Cynthia J DeVore) Date: Tue, 14 Jan 2003 15:44:39 -0600 Subject: E-Prime starting voice recording Message-ID: Is anyone out there using E-Prime to initiate voice recording? Cynthia J. DeVore Graduate Student U of MN - Industrial/Organizational Psychology devo0023 at tc.umn.edu From jcraggs at prodigy.net Wed Jan 15 11:49:18 2003 From: jcraggs at prodigy.net (Jason Craggs) Date: Wed, 15 Jan 2003 12:49:18 +0100 Subject: Commands Message-ID: Would someone please be kind enough to post the commands to join this list. Thank you, Jason Jason G Craggs Psykologisk institutt Postboks 1094 Blindern N-0317 Oslo, Norway (W) {47} 2284-5209 -------------- next part -------------- An HTML attachment was scrubbed... URL: From R.Custers at fss.uu.nl Wed Jan 15 13:52:55 2003 From: R.Custers at fss.uu.nl (Custers, Ruud) Date: Wed, 15 Jan 2003 14:52:55 +0100 Subject: mouse click on target Message-ID: Hi everyone, I have what I think should be a simple problem. I want participants to click rapidly on a box that appears on the screen and to test whether they actually clicked on the box or missed it. Does anybody know how to do this? Thanks, Ruud. From macw at cmu.edu Wed Jan 15 15:51:17 2003 From: macw at cmu.edu (Brian MacWhinney) Date: Wed, 15 Jan 2003 10:51:17 -0500 Subject: Commands In-Reply-To: Message-ID: Jason, You can find the commands summary for eprime at mail.talkbank.org by going to the step.psy.cmu.edu page. The URL is http://step.psy.cmu.edu/eprime.html --Brian MacWhinney -------------- next part -------------- An HTML attachment was scrubbed... URL: From ftornay at ugr.es Wed Jan 15 16:29:10 2003 From: ftornay at ugr.es (ftornay at ugr.es) Date: Wed, 15 Jan 2003 17:29:10 +0100 Subject: mouse click on target In-Reply-To: <71B8F9EFB931D411BE85009027734D52019870EE@fswexchange.fss.uu.nl> Message-ID: Mensaje citado por "Custers, Ruud" : > Hi everyone, > > I have what I think should be a simple problem. I want participants to click > rapidly on a box that appears on the screen and to test whether they > actually clicked on the box or missed it. Does anybody know how to do this? > > Thanks, > > Ruud. > > Do this: a) Insert a slide object. Let's call it "Target". Set their duration/input properties to get it accept mouse input. If you write 1 on the allowable property only left clicks will be allowed. Don't forget to set the data logging property to "standard", so that responses are logged. b) Insert a text object within the slide, let's call it "TargetBox". Leave it blank. Then set the borderwidth property (on the frame tab) to some nonnull value. You will have a box on the screen. You can then set the other properties (position, size, bordercolor, backcolor, ...) as desired. c) Insert an inline object after the slide. You should write the following: 'Find out whether there was a click 'Important: The mouse device should be the first device on the slide. Dim mouseClicks As Integer mouseClicks = Target.InputMasks.Item(1).Responses.Count 'If so, get the mouse response If mouseClicks > 0 Then Dim rdClick As MouseResponseData Set rdClick = CMouseResponseData( _ Target.InputMasks.Item(1).Responses(1)) 'Did the box get clicked? If Target.States(Target.ActiveState).HitTest( _ rdClick.CursorX, rdClick.CursorY) = "TargetBox" then Target.acc = 1 Else Target.acc = 0 End If Else Target.acc = 0 End If This way the response to the slide object will be considered correct if the box was clicked and incorrect otherwise. You may also want to set the show cursor property of the mouse device object (in the experiment object, devices tab) to yes, so that the mouse cursor is visible. Hope this helps, Francisco Tornay From ftornay at ugr.es Wed Jan 15 18:55:15 2003 From: ftornay at ugr.es (ftornay at ugr.es) Date: Wed, 15 Jan 2003 19:55:15 +0100 Subject: Random ISI In-Reply-To: Message-ID: > Dear all, > we would like to vary our interstimulus interval (ISI) randomly during the > > experiment. We can't see any simple solution to this problem without the > stimuli being coupled in a fixed manner to a certain ISI. Have you got > any suggestions? > Thank you very much for your support > Dirk In our lab, we have done something similar. If you only want the ISI to change so that subjects cannot predict when the new trial will begin, I think the easiest way would be this: a) Insert a text display object (or similar) to be used as the ISI (let's call it ISI), set the duration property to any value, it won't make any difference. b) BEFORE the object, insert an inline with the following code: 'Choose a random ISI between a minimum and a maximum value (change as desired) dim lngRandomISI as long lngRandomISI = random(10, 1000) 'Between 10 ms and one second 'Set the duration of the ISI to the random value ISI.duration = lngRandomISI 'Log the randomly chosen duration to the data file, in case you need it later c.setattrib "ISIduration", lngRandomISI Hope this helps Francisco Tornay Departamento de Psicología Experimental y Fisiología del Comportamiento Universidad de Granada SPAIN From jstieben at yorku.ca Thu Jan 16 17:09:00 2003 From: jstieben at yorku.ca (Jim Stieben) Date: Thu, 16 Jan 2003 12:09:00 -0500 Subject: Looking for a good go-no-go task Message-ID: Hi, I would like to ask anyone on the list if they would be willing to share a basic GO-NO-GO paradigm task which they have used with NetStation. We are doing ERN research and would like to ask if anyone has found a particular task works best for generating the ERN evoked response. Thanks very much Jim Stieben -------------- next part -------------- An HTML attachment was scrubbed... URL: From erin5 at stanford.edu Thu Jan 16 18:38:03 2003 From: erin5 at stanford.edu (Erin S. Rogers) Date: Thu, 16 Jan 2003 10:38:03 -0800 Subject: error Message-ID: Has anyone ever gotten the error: 0x00000385; Unable to create the Directx object: 0x88780078 It happened while trying to open a sound device. thank you! From erin5 at stanford.edu Fri Jan 17 16:46:43 2003 From: erin5 at stanford.edu (Erin S. Rogers) Date: Fri, 17 Jan 2003 08:46:43 -0800 Subject: triggering other computer In-Reply-To: Message-ID: Thank you for the great help. I have set up triggers going to my SCAN computer, and they are registering when I do a Test Trigger Port. But they are not showing up during data acquisition. Any ideas about what might still be wrong? Thank you, Erin Rogers At 09:12 AM 1/15/03, you wrote: >Hi Erin, > >You just need a cable linking the eprime script to the eeg neuroscan >computer. goes out of one, into the other. i think it is a serial cable - it >should say in the manuals...its the same as you would get from neuroscan to >use with stim...i got my cable from them....easy. > >to send triggers you put inline script into your eprime prog, with a command >like 'writeport H278,0' > >this is a command to send a signal to the port. >the address depends on the way your computer is set up obviously - and this >should come up on the screena s your computer boots up and identifies the >ports, or should be listed somehwere inthe system details.... > >and the code 0 says turn the trigger off, - you can replace this with any >number upto 255 i think, allowing you to send codes for different events.... > >you can even grab these numbers from your trial list if you have an >attribute that would code different event types. > >only problem i've found is if you send codes close together in time they >dont always all get registered, so we usually send an off code, sleep for >50msc, then send the code we want. this seems to work fine.. > >i did this by reading the manuals..so the info is in there... > >hope this helps... >and just to encourage you i can tell you it works... >cheers >david > >David I Donaldson >Department of Psychology >University of Stirling >Stirling >Scotland >UK > >Tel: +44 (0) 1786 467657 >Mobile: +44 (0) 7929 147303 >Fax: +44 (0) 1786 467641 >Email: did1 at stir.ac.uk > > > >-----Original Message----- >From: Erin S. Rogers [mailto:erin5 at stanford.edu] >Sent: Tuesday, January 14, 2003 8:40 PM >To: eprime at mail.talkbank.org >Subject: triggering other computer > > >Does anyone know what the hardware set-up should be when using Eprime to >send triggers to an EEG computer (neuroscan)? > >-- >The University of Stirling is a university established in Scotland by >charter at Stirling, FK9 4LA. Privileged/Confidential Information may >be contained in this message. If you are not the addressee indicated >in this message (or responsible for delivery of the message to such >person), you may not disclose, copy or deliver this message to anyone >and any action taken or omitted to be taken in reliance on it, is >prohibited and may be unlawful. In such case, you should destroy this >message and kindly notify the sender by reply email. Please advise >immediately if you or your employer do not consent to Internet email >for messages of this kind. Opinions, conclusions and other >information in this message that do not relate to the official >business of the University of Stirling shall be understood as neither >given nor endorsed by it. From Alan.Chauvin at lis.inpg.fr Sat Jan 18 14:10:07 2003 From: Alan.Chauvin at lis.inpg.fr (Alan) Date: Sat, 18 Jan 2003 15:10:07 +0100 Subject: need a script for displaying multiple mask in an experiment Message-ID: Hi everybody, Thank you for the great help. Here is a digest of the answers for the archive. Thanks again for your help. PS : I'm not sending the attached ".es file", because it's not my program but it is very useful for my purpose. ------------------------------------------------------------------------ ------------ Hi Alan -- This might help. In my experiment, I present: -- 48 neutral mask pix -- 24 pleasant and unpleasant prime pix The neutral pix are drawn without replacement 4 times and shown for 5000 msec. During that time, 4 primes (2 neg, 2 pos in a random order) are presented at random intervals for 1 refresh rate. (There's also a random · mask in an attempt to preclude awareness). I've attached DotMask.bmp and 3 photos (r1710 = positive; r9600=negative; r2190=neutral). I've adjusted the .ES file so that it only calls for these files. Do let me know if this is helpful and if you find any more efficient ways of doing this sort of thing. Good luck, Jeff *************************************************** Jeff T. Larsen, PhD Assistant Professor of Psychology Texas Tech University phone: 806-742-3711 x264 fax: 806-742-0818 email: jeff.larsen at ttu.edu web: http://webpages.acs.ttu.edu/jelarsen ------------------------------------------------------------------------ ------------ This is what you might to 1) Go to the user tab in the script window and declare the following variable: 'Array of canvases for the eight masks dim cnvsMasks(8) as canvas 2) Insert an inline object at the beginning of the experiment that creates the canvases and loads the images. 'Create canvases for i = 0 to 7 set cnvsMasks(i) = display.CreateCanvas next i 'Load image files 'Replace your own image files 'Don't forget the double backslashs cnvsMasks(0).LoadImage "Samples\\PictureRT\\RedCar.bmp" cnvsMasks(1).LoadImage "Samples\\PictureRT\\BlueCar.bmp" cnvsMasks(2).LoadImage "Samples\\PictureRT\\RedCar.bmp" cnvsMasks(3).LoadImage "Samples\\PictureRT\\BlueCar.bmp" cnvsMasks(4).LoadImage "Samples\\PictureRT\\RedCar.bmp" cnvsMasks(5).LoadImage "Samples\\PictureRT\\BlueCar.bmp" cnvsMasks(6).LoadImage "Samples\\PictureRT\\RedCar.bmp" cnvsMasks(7).LoadImage "Samples\\PictureRT\\BlueCar.bmp" 3) Then insert an inline object at the point where you want your masks to appear: 'Copy each mask to the screen and wait for a fixed amount of time dim i as integer 'Present each mask, wait for 10 ms then go to the next one for i = 0 to 7 display.waitForVerticalBlank display.canvas.copy cnvsMasks(i) sleep (10) next i I am assuming a few things: your masks are always the same, They will cover the whole screen, ... Hope this helps Francisco Tornay Francisco Tornay Departamento de Psicología Experimental y Fisiología del Comportamiento Universidad de Granada España From langdev at yahoo.com Mon Jan 20 21:06:14 2003 From: langdev at yahoo.com (Sarah Callahan) Date: Mon, 20 Jan 2003 13:06:14 -0800 Subject: Response Collection/Devices Message-ID: Hello all, I am in the fMRI Research Center at Columbia University and am a fairly new e-prime user. My design requires the collection of responses from the hand units inside the scanner. Although I have enabled both the Keyboard and the SRBox as well as other devices, none of them seem to be recording responses. No E-dat file (or text file) is being generated. I do not see any real-time logging of responses on the IFIS system during paradigm display. There may be a simple fix for this, but I can't figure it out. I thank you in advance for any advice you might provide. Best, Sarah Callahan ===== Sarah Callahan Neuroscience Research Coordinator FMRI Research Center Columbia University 212-342-0299 (main) 212-342-9016 (direct) __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From langdev at yahoo.com Thu Jan 23 17:46:34 2003 From: langdev at yahoo.com (Sarah Callahan) Date: Thu, 23 Jan 2003 09:46:34 -0800 Subject: Summary: Response Collection/Devices Message-ID: Hello all, It was suggested that I post a summary of the responses I received to my earlier question about response collection in-scanner and enabling devices. Two people were kind enough to send me code snippets that they were successfully using. My thanks to them. Note that my situation was further complicated by the implementation of my paradigm through the IFIS system. Not everyone may have this problem. If you would like Stephen Johnston's code, please email me and I will be happy to send you the attachment. Best regards, Sarah Callahan 1. '<***** COPY BELOW TO USER SCRIPT SO IT IS AVAILABLE GLOBALLY****> ' Constants for the BSOFT DIG130/24 card Const DIG130_BASE As Integer = &H200 Const DIG130_PORT_A As Integer = DIG130_BASE + 28 Const DIG130_PORT_B As Integer = DIG130_BASE + 29 Const DIG130_PORT_C As Integer = DIG130_BASE + 30 Const DIG130_PORT_CONTROL As Integer = DIG130_BASE + 31 ' DIG130 Control port assignments for Mode 0 ' 7 6 5 4 3 2 1 0 ' 1 0 0 x x 0 x x ' | | | |___ Port2(C) (lower 4 bits) 0=output, 1=input ' | | |_____ Port1(B) (all 8 bits) 0=output, 1=input ' | | ' | |_________ Port2(C) (upper 4 bits) 0=output, 1=input ' |___________ Port0(A) (all 8 bits) 0=output, 1=input ' ' DIG130 Initialize ' Port0(A) - input, Port1(B) - input, Port2(C) - output ' 7 6 5 4 3 2 1 0 ' 1 0 0 1 0 0 1 0 = &H92 -> A-in, B-in, C-out Const DIG130_CONFIG_DATA As Integer = &H92 ' Constants for BRU configuration Const BRU_RIGHT_ONLY = 1 ' RH 1-5 Const BRU_LEFT_ONLY = 2 ' LH 1-5 Const BRU_RIGHT_LEFT_UNIQUE = 3 ' RH 1-5, LH 6-9,A Const BRU_RIGHT_LEFT_DUPLICATE = 4 ' RH 1-5, LH 1-5 Dim g_BRU As BRU '<***** COPY ABOVE TO USER SCRIPT SO IT IS AVAILABLE GLOBALLY****> '<***** COPY BELOW TO AN INLINE AT THE BEGINNING OF THE PARADIGM****> Set g_BRU = New BRU g_BRU.Address = DIG130_BASE g_BRU.Configuration = BRU_RIGHT_LEFT_UNIQUE g_BRU.Reset DIG130_CONFIG_DATA g_BRU.Enable '<***** COPY ABOVE TO AN INLINE AT THE BEGINNING OF THE PARADIGM****> Once the above script is executed any responses on the BRUs will be posted to the keyboard device when the script is running on the IFIS equipment (e.g. a machine that has a BSOFT DIG130 card installed in it and has the IFIS MCU connected to the DIG card). You just code your experiment to use the keyboard device for input and the BRU object (once enabled) will make sure that responses get posted to the keyboard device. Note the comments in the code for the different mapping/configuration options, e.g. depending on the needs of the experiment you can change the mapping of the button IDs or disable one or the other hand as necessary. > I have a few > questions: > > 1)You mentioned that we need IFIS hardware for I/O. Does > this mean that > the experiment must run on the control/analysis (aka bottom) computer > and not the patient/top computer? In that case, can the Netstation > package calls that will have to be included also work from there? The solution above only works when you are running the experiment on the EPC installed in an IFIS Console (as opposed to an arbitrary desktop PC just running E-Prime). The experiment goes on the EPC (aka top) because it is the machine that has the DIG130 card installed in it. For this setup however you do not need to run the experiment via the IFIS System Manager (which runs on the CAC aka bottom computer). Thus, if you stick the above code in ANY E-Prime experiment AND you are running the experiment on the IFIS hardware (which has the BRUs connected to it) then you should be able get inputs from the BRU. If you attempt to run this on an arbitrary desktop machine with E-Prime you will either get no responses issued through the BRU device OR arbitrary responses may come sporatically, e.g. since there would be no card at the port address being examined there is the potential that the bit states could 'float'. On most machines that I have done this on it's not a problem. 2. Here is a piece of code that worked for us, connecting a hand device to a scanner. The problem you mention I think is that, in our case, we had to create the target stimulus in the inline script and manipulate it via e-prime code, so we had to determine in the script whether the answer was right or not and set Target.ACC ourselves. Sorry about the way the code looks - it was the first bit of e-prime code we had written so all that Target attribute stuff at the beggining is unnecessary. The switches themselves were connected as a serial device. Hope this helps in some way. Steve ===== Sarah Callahan Neuroscience Research Coordinator FMRI Research Center Columbia University 212-342-0299 (main) 212-342-9016 (direct) __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From VONKARC at uwec.edu Mon Jan 27 23:55:12 2003 From: VONKARC at uwec.edu (Von Karolyi, Catya) Date: Mon, 27 Jan 2003 17:55:12 -0600 Subject: Contingency looping Message-ID: Hi there, I'm new here and I apologize in advance for my ignorance and my idiosyncratic jargon. I'm hoping someone can direct me to the most effective way of accomplishing a contingency loop. My situation is as follows: My goal is (1) to have a sequence of images (clunky animation) display a morphed illusion and (2) to have participant input determine the follow-up sequencing. In other words, the participant responds at any given point in the original sequence (say, when two lines seem to be the same length) and is redirected (Jumps to a Label?) to a customized sequence based on the point at which the response occurred. The new sequence, for example, might start at a point a few images further along in the sequence (when the two lines are clearly not the same length) and back-up to (and beyond) the point of the user's first input. (Or, conversely, back up a few images and redisplay the same sequence). To accomplish the first part of this task, I've got a List that repeatedly calls a Proc with a Slide Object set up with a generic image holder on a single slide. The List specifies (calls) the original sequence of bitmaps. I have failed to solve the second part of this task, even though I attempted to write script 2 (for starters) InLine objects with different sequences. I can make it vary the sequence using and , but I don't know how to tell it "start with this bitmap, on the basis of user input", I can't seem to control the flow correctly, and I can't seem to get the Slide to actually take the user input and jump. I suspect that I'm asking for too much help. Nevertheless, I'd be grateful for any tidbits you can throw my way. I'm a neophyte E-Prime user and I'm waiting impatiently for a copy of VBA for Dummies to arrive in the mail. TIA, Catya PS The main frame computer can't seem to spell my last name correctly with a lower case "v" -------------- next part -------------- An HTML attachment was scrubbed... URL: From gncraig97 at msn.com Tue Jan 28 14:17:26 2003 From: gncraig97 at msn.com (NANCY CRAIG) Date: Tue, 28 Jan 2003 09:17:26 -0500 Subject: n-back task Message-ID: Good morning list members, We are about to begin the process of programming the n-back task using E-Prime. We have already completed one of our experimental paradigms using the program, and it took quite a long time as we are new to the program. Does anyone have any advice/suggestions about the best approach to designing this complex paradigm or any specific literature to review before we begin (we will be employing 0-, 1-, & 2- back for letters and shapes)? Thank you in advance, Nancy Craig, M.A. Doctoral Student in Clinical Psychology University of Connecticut _________________________________________________________________ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail From susanc at andrew.cmu.edu Wed Jan 29 20:06:37 2003 From: susanc at andrew.cmu.edu (Susan Campbell) Date: Wed, 29 Jan 2003 15:06:37 -0500 Subject: n-back task In-Reply-To: Message-ID: I'm going to suggest taking a look at the n-back tests available on the STEP website (step.psy.cmu.edu). One is a very simple 1-back task, and the other is more complex and involves 0,1,2, and 3-back tasks. The specific URL for the n-back scripts is: http://step.psy.cmu.edu/scripts/ZipFiles/n-Back.zip Hope this helps, Susan Campbell STEP Project Carnegie Mellon On Tue, 28 Jan 2003, NANCY CRAIG wrote: > Does anyone have any advice/suggestions about the best approach to designing > this complex paradigm or any specific literature to review before we begin > (we will be employing 0-, 1-, & 2- back for letters and shapes)? From VONKARC at uwec.edu Fri Jan 31 15:46:39 2003 From: VONKARC at uwec.edu (Von Karolyi, Catya) Date: Fri, 31 Jan 2003 09:46:39 -0600 Subject: Contingency looping Message-ID: Hello again, It was suggested that I (further) search the archives to answer my Contingency Looping question (revised and abridged below). I have now searched the archive using the terms: (Contingency or Contingent), (Loop or Looping), Input, Response, .RESP, (InLine or (IN Line)), (Slide or (Slide object)), (Animate or Animation), and I went through week by week for a few months. I also received and searched "VBA for Dummies), to no avail. Does anyone, by any chance, either have a posting in mind that might address my problem or have a response to my questions? Thank you for any help you might be able to provide to me. Take care, Catya von Karolyi PS the Main frame computer can't spell my name correctly with a lower case "v" ~~~~~~~~~ORIGINAL MESSAGE~~~~~~~~~~~~ RE Contingency looping >>...I'm hoping someone can direct me to the most effective way of accomplishing a contingency loop. My situation is as follows: My goal is ...(2) to have participant input determine the follow-up sequencing of a set of bitmaps presented in a Slide....When the participant responds at any given point in the original sequence (say, when two lines seem to be the same length) and the flow is redirected (Jumps to a Label?) to a customized sequence based on the point at which the response occurred. The new sequence, for example, might start at a point a few images further along in the sequence (when the two lines are clearly not the same length) and back-up to (and beyond) the point of the user's first input. (Or, conversely, back up a few images and redisplay the same sequence). ...I've got a List that repeatedly calls a Proc with a Slide Object set up with a generic image holder on a single slide. The List specifies (calls) the original sequence of bitmaps. I have failed to solve the second part of this task, even though I attempted to write InLine objects with different sequences. I can make it vary the sequence using and , but I don't know how to tell it "start with this bitmap, on the basis of user input", I can't seem to control the flow correctly, and I can't seem to get the Slide to actually take the user input and jump...<< -------------- next part -------------- An HTML attachment was scrubbed... URL: From randers at bgnet.bgsu.edu Wed Jan 8 14:35:54 2003 From: randers at bgnet.bgsu.edu (randers at bgnet.bgsu.edu) Date: Wed, 8 Jan 2003 09:35:54 -0500 Subject: Site license, drive imaging and Windows XP Message-ID: Has anyone figured out how to set up a site-license version of E-prime so that it will run on networked computers that have their drive images refreshed periodically from a central server? This scheme works if the computers are running Windows 98. But if they're running Windows XP, it causes copy-protection/security errors. - Best regards, Richard Anderson From amneris at telocity.com Thu Jan 9 01:30:47 2003 From: amneris at telocity.com (Wiltrud Fassbinder) Date: Wed, 8 Jan 2003 20:30:47 -0500 Subject: repeat stimulus, start new one Message-ID: Hi, I am a new user of E-prime, and am trying to write a script for meaning similarity ratings for word pairs. My goal is to have participants judge meaning similarity on a 1-9 analog scale. I also want to give visual feedback for their judgment, so that they can go back and change it, if possible. I have created two text displays. The first presents the stimulus and visual 1-9 analog scale, with number keys 1-9 as response options. The second presents an X on the visual analog scale corresponding to the response, and the instruction to press ?spacebar? for the next stimulus, or the backspace key to repeat in the stimulus. I first created those 9 feedback text displays, one for each number, and then I created an inline object. This has if-then statements of all 9 keys, and refers to the labeled text displays trial procedures I pasted in from my 9 feedback displays. Then I deleted the 9 feedback text displays. The if-then statement works, the correct visual feedback appears for each response. But I don't know how to implement the option to repeat the stimulus, or moving on to the next stimulus. Right now, regardless of response key ("spacebar" or "backspace") a response opens the feedback display of the next higher number key. How do I implement: if spacebar, got next stimulus, and if backspace, repeat this stimulus? Cheers, Wiltrud From anthony.zuccolotto at pstnet.com Thu Jan 9 14:20:52 2003 From: anthony.zuccolotto at pstnet.com (Tony Zuccolotto) Date: Thu, 9 Jan 2003 09:20:52 -0500 Subject: repeat stimulus, start new one Message-ID: Wiltrud, In general if you need to repeat a trial you can put a Label object at the very beginning of the trial procedure and then use a Goto statement within script at the end of the trial procedure to jump back up to the beginning. If you want the current set of data to be logged as a trial then you also need to manually call c.Log from script to cause the current values of attributes in the context to be logged prior to the Goto statement. Note that since the attribute values of some dependent measures (e.g. Stimulus.RT, Stimulus.ACC, Stimulus.RESP, etc) are refreshed at the very end of a Procedure immediately before the system issues its own c.Log command, if you are repeating a trial it is your responsibility to make sure that all attributes in the context have the values you wish to log at that time. This mainly constitutes putting in a series of c.SetAttrib commands similar to the following... c.SetAttrib "Stimulus.RT", Stimulus.RT c.SetAttrib "Stimulus.ACC", Stimulus.ACC c.SetAttrib "Stimulus.RESP", Stimulus.RESP If you only want to log the 'final' answer (or you are not using any extended Time Limits on your input masks) then none of the above logging issues typically apply, but you should be aware of the issue and make that determination as it applies to your paradigm. It is best to run a few trials and closely examine the data collected in E-DataAid to verify consistent logging with and without trial repeats. Hope that helps, Tony *** DISCLAIMER: ALL VIEWS EXPRESSED ARE MY OWN AND DO NOT NECESSARILY REFLECT THOSE OF PSYCHOLOGY SOFTWARE TOOLS *** Anthony P. Zuccolotto Vice President Psychology Software Tools, Inc. 2050 Ardmore Boulevard Suite 200 Pittsburgh, PA 15221-4610 Phone 412-271-5040 FAX 412-271-7077 Email anthony.zuccolotto at pstnet.com Internet http://www.pstnet.com > -----Original Message----- > From: Wiltrud Fassbinder [mailto:amneris at telocity.com] > Sent: Wednesday, January 08, 2003 8:31 PM > To: eprime at mail.talkbank.org > Subject: repeat stimulus, start new one > > > Hi, > > I am a new user of E-prime, and am trying to write a script for meaning > similarity ratings for word pairs. My goal is to have participants judge > meaning similarity on a 1-9 analog scale. I also want to give visual > feedback for their judgment, so that they can go back and change it, if > possible. > > I have created two text displays. The first presents the stimulus and > visual 1-9 analog scale, with number keys 1-9 as response options. The > second presents an X on the visual analog scale corresponding to the > response, and the instruction to press "spacebar" for the next stimulus, > or the backspace key to repeat in the stimulus. > > I first created those 9 feedback text displays, one for each number, and > then I created an inline object. This has if-then statements of all 9 > keys, and refers to the labeled text displays trial procedures I pasted > in from my 9 feedback displays. Then I deleted the 9 feedback text > displays. > > The if-then statement works, the correct visual feedback appears for > each response. But I don't know how to implement the option to repeat > the stimulus, or moving on to the next stimulus. Right now, regardless > of response key ("spacebar" or "backspace") a response opens the > feedback display of the next higher number key. How do I implement: if > spacebar, got next stimulus, and if backspace, repeat this stimulus? > > Cheers, > > Wiltrud > From anthony.zuccolotto at pstnet.com Thu Jan 9 19:40:27 2003 From: anthony.zuccolotto at pstnet.com (Tony Zuccolotto) Date: Thu, 9 Jan 2003 14:40:27 -0500 Subject: repeat stimulus, start new one Message-ID: Wiltrud, Wiltrud, I don't think Feedback1.RESP property is returing what you think it is as the backspace is somewhat of a 'special' key, i.e. the line... > If (Feedback1.RESP) = "BACKSPACE" Then Goto Repeat ...is likely returning either an empty string (since BACKSPACE is not a printable character and is processed internally) or it's possibly returning "{BACKSPACE}". By default, it is likely a null string. If you go to the Advanced properties for the Keyboard input mask you can go to the Collection tab and tell the system to collect but not process the backspace. If this is confusing try using a letter key instead of a backspace temporarily until you can investigate it further. You can also use Debug.Print during development to confirm exactly what Feedback1.RESP is returning, e.g. Debug.Print "-" & Feedback1.RESP & "-" As an aside, while your overall approach is valid and fine to use to solve your problem, if you are creating 10 Feedback objects just to set up different display arrangements you may be able to simplify things to use a single Slide object and create multiple Tabs within the Slide to represent the different visual states you want to show after the response. This solution would likely simplify your Inline script to something similar to the following. SlideDisplay.ActiveState = StimulusDisplay.RESP ' assumes tabs/states on the Slide are named 1, 2, 3, 4...etc. If (SlideDisplay.RESP) = "{BACKSPACE}" Then Goto Repeat With this you only need a single StimulusDisplay object and a single Slide object(with 10 different tabs named appropriately). Thanks, Tony > -----Original Message----- > From: Wiltrud [mailto:amneris at telocity.com] > Sent: Thursday, January 09, 2003 1:21 PM > To: Tony Zuccolotto > Subject: RE: repeat stimulus, start new one > > Tony, > > Thanks. The only place where I could get in a label object was under the > line "sub TrialProc_Run (c as Context). This has not worked. I only want > to log the final answer, so logging is not a problem. Any suggestions? > > Wiltrud > > > > > Sub TrialProc_Run(c as Context) > > Repeat: > > StimulusDisplay.Text = c.GetAttrib("stimulus") &_ > "\n\n\n|--|--|--|--|--|--|--|--|\n1 > 5 9" > > StimulusDisplay.InputMasks.Reset > > StimulusDisplayEchoClients.RemoveAll > StimulusDisplay.InputMasks.Add > Keyboard.CreateInputMask("123456789", "", > CLng(StimulusDisplay.Duration), CLng("1"), ebEndResponseActionTerminate, > CLogical("Yes"), "", "", "ResponseMode:All ProcessBackspace:Yes") > > > StimulusDisplay.Run > c.SetAttrib "StimulusDisplay.RESP", StimulusDisplay.RESP > > > ''''''''''''''''''''''''''''''''''''''''''''' > ' InLine - InLine1 BEGIN > ''''''''''''''''''''''''''''''''''''''''''''' > If(StimulusDisplay.RESP) = "1" Then Goto Feed1 > If(StimulusDisplay.RESP) = "2" Then Goto Feed2 > If(StimulusDisplay.RESP) = "3" Then Goto Feed3 > If(StimulusDisplay.RESP) = "4" Then Goto Feed4 > If(StimulusDisplay.RESP) = "5" Then Goto Feed5 > If(StimulusDisplay.RESP) = "6" Then Goto Feed6 > If(StimulusDisplay.RESP) = "7" Then Goto Feed7 > If(StimulusDisplay.RESP) = "8" Then Goto Feed8 > If(StimulusDisplay.RESP) = "9" Then Goto Feed9 > > > Feed1: > > Feedback1.Text = c.GetAttrib("stimulus") &_ > "\n\nX--|--|--|--|--|--|--|--|\n1 > 5 9\n\n\n\n\n\nOK? Press spacebar\nChange? Press the > Backspace-key" > > Feedback1.InputMasks.Reset > > Feedback1EchoClients.RemoveAll > Feedback1.InputMasks.Add > Keyboard.CreateInputMask("{SPACE}{BACKSPACE}", "", > CLng(Feedback1.Duration), CLng("1"), ebEndResponseActionTerminate, > CLogical("Yes"), "", "", "ResponseMode:All ProcessBackspace:Yes") > > > Feedback1.Run > c.SetAttrib "Feedback1.RESP", Feedback1.RESP > > > If (Feedback1.RESP) = "BACKSPACE" Then Goto Repeat > > > > -----Original Message----- > From: eprime at mail.talkbank.org [mailto:eprime at mail.talkbank.org] On > Behalf Of Tony Zuccolotto > Sent: Thursday, January 09, 2003 9:21 AM > To: eprime at mail.talkbank.org > Subject: RE: repeat stimulus, start new one > > Wiltrud, > > In general if you need to repeat a trial you can put a Label object at > the very beginning of the trial procedure and then use a Goto statement > within script at the end of the trial procedure to jump back up to the > beginning. > > If you want the current set of data to be logged as a trial then you > also need to manually call c.Log from script to cause the current values > of attributes in the context to be logged prior to the Goto statement. > > Note that since the attribute values of some dependent measures (e.g. > Stimulus.RT, Stimulus.ACC, Stimulus.RESP, etc) are refreshed at the very > end of a Procedure immediately before the system issues its own c.Log > command, if you are repeating a trial it is your responsibility to make > sure that all attributes in the context have the values you wish to log > at that time. This mainly constitutes putting in a series of > c.SetAttrib commands similar to the following... > > c.SetAttrib "Stimulus.RT", Stimulus.RT > c.SetAttrib "Stimulus.ACC", Stimulus.ACC > c.SetAttrib "Stimulus.RESP", Stimulus.RESP > > > If you only want to log the 'final' answer (or you are not using any > extended Time Limits on your input masks) then none of the above logging > issues typically apply, but you should be aware of the issue and make > that determination as it applies to your paradigm. It is best to run a > few trials and closely examine the data collected in E-DataAid to verify > consistent logging with and without trial repeats. > > Hope that helps, > Tony > > *** DISCLAIMER: ALL VIEWS EXPRESSED ARE MY OWN AND DO NOT NECESSARILY > REFLECT THOSE OF PSYCHOLOGY SOFTWARE TOOLS *** > Anthony P. Zuccolotto > Vice President > Psychology Software Tools, Inc. > 2050 Ardmore Boulevard > Suite 200 > Pittsburgh, PA 15221-4610 > Phone 412-271-5040 > FAX 412-271-7077 > Email anthony.zuccolotto at pstnet.com > Internet http://www.pstnet.com > > > -----Original Message----- > > From: Wiltrud Fassbinder [mailto:amneris at telocity.com] > > Sent: Wednesday, January 08, 2003 8:31 PM > > To: eprime at mail.talkbank.org > > Subject: repeat stimulus, start new one > > > > > > Hi, > > > > I am a new user of E-prime, and am trying to write a script for > meaning > > similarity ratings for word pairs. My goal is to have participants > judge > > meaning similarity on a 1-9 analog scale. I also want to give visual > > feedback for their judgment, so that they can go back and change it, > if > > possible. > > > > I have created two text displays. The first presents the stimulus and > > visual 1-9 analog scale, with number keys 1-9 as response options. The > > second presents an X on the visual analog scale corresponding to the > > response, and the instruction to press "spacebar" for the next > stimulus, > > or the backspace key to repeat in the stimulus. > > > > I first created those 9 feedback text displays, one for each number, > and > > then I created an inline object. This has if-then statements of all 9 > > keys, and refers to the labeled text displays trial procedures I > pasted > > in from my 9 feedback displays. Then I deleted the 9 feedback text > > displays. > > > > The if-then statement works, the correct visual feedback appears for > > each response. But I don't know how to implement the option to repeat > > the stimulus, or moving on to the next stimulus. Right now, > regardless > > of response key ("spacebar" or "backspace") a response opens the > > feedback display of the next higher number key. How do I implement: if > > spacebar, got next stimulus, and if backspace, repeat this stimulus? > > > > Cheers, > > > > Wiltrud > > > > > From eelliott at lsu.edu Thu Jan 9 20:01:53 2003 From: eelliott at lsu.edu (Emily M Elliott) Date: Thu, 9 Jan 2003 14:01:53 -0600 Subject: response box Message-ID: Hi, Has anyone used the response box to collect vocal RTs with a laptop? Thanks, Emily From stuhols at siue.edu Fri Jan 10 17:54:15 2003 From: stuhols at siue.edu (Stephen W Tuholski) Date: Fri, 10 Jan 2003 11:54:15 -0600 Subject: display object In-Reply-To: Message-ID: Hi everyone, I have what I hope to be a simple problem. I am writing a program in which I am showing a word on one display object, and then another word on the subsequent display object. I want the first word to remain on the screen during the second display. To do this, I set the BackStyle to "transparent" which works except for one problem. The first display object now moves to the same location as the second, and is seen superimposed on the second. For example I want to display something like HOUSE TABLE but instead I get HOUSE and TABLE in the same spatial location. In fact, when I slowed the timing down, I saw that initially the first display object (HOUSE) is in the correct place, and then it moves. Any suggestions/help would be great... thanks! Steve From susanc at andrew.cmu.edu Fri Jan 10 19:03:07 2003 From: susanc at andrew.cmu.edu (Susan Campbell) Date: Fri, 10 Jan 2003 14:03:07 -0500 Subject: display object In-Reply-To: <5.1.0.14.0.20030110115032.02cf26f0@mail.siue.edu> Message-ID: I've tried to replicate your problem, and I failed. I put "HOUSE" in a TextDisplay, then "TABLE" in another TextDisplay afterward (in the format TABLE) with its background style set to "Transparent". Is there something in your experiment that is different from this? Mine didn't move or superimpose themselves, though I noticed that my two returns averaged to "TABLE" being directly below "HOUSE" instead of there being a gap between them. Another possibility would be to use two Slides and set the words so the text boxes that contain them do not overlap at all. I'm using E-Prime 1.1 under Windows XP, in case that makes a difference. Hope this helps, Susan Campbell STEP Project, Carnegie Mellon From Ralf_Schmaelzle at web.de Mon Jan 13 10:04:40 2003 From: Ralf_Schmaelzle at web.de (Ralf Schmaelzle) Date: Mon, 13 Jan 2003 11:04:40 +0100 Subject: display object Message-ID: Hi Stephen, have you set the AlignVertical-Property to top? I just tried to do so and added some in order reach a quasi-centered alignment. In the second textDisplay obejct I just did the same (except for two more ). Hope that helps. Ralf. ----- Original Message ----- From: "Stephen W Tuholski" To: Sent: Friday, January 10, 2003 6:54 PM Subject: display object > > > Hi everyone, > > I have what I hope to be a simple problem. > > I am writing a program in which I am showing a word on one display object, > and then another word on the subsequent display object. I want the first > word to remain on the screen during the second display. To do this, I set > the BackStyle to "transparent" which works except for one problem. The > first display object now moves to the same location as the second, and is > seen superimposed on the second. For example I want to display something like > > HOUSE > > TABLE > > but instead I get HOUSE and TABLE in the same spatial location. In fact, > when I slowed the timing down, I saw that initially the first display > object (HOUSE) is in the correct place, and then it moves. > > Any suggestions/help would be great... thanks! > > Steve > > From ftornay at ugr.es Mon Jan 13 18:47:39 2003 From: ftornay at ugr.es (ftornay at ugr.es) Date: Mon, 13 Jan 2003 19:47:39 +0100 Subject: display object In-Reply-To: <5.1.0.14.0.20030110115032.02cf26f0@mail.siue.edu> Message-ID: Mensaje citado por Stephen W Tuholski : > > > Hi everyone, > > I have what I hope to be a simple problem. > > I am writing a program in which I am showing a word on one display object, > and then another word on the subsequent display object. I want the first > word to remain on the screen during the second display. To do this, I set > the BackStyle to "transparent" which works except for one problem. The > first display object now moves to the same location as the second, and is > seen superimposed on the second. For example I want to display something > like > > HOUSE > > TABLE > > but instead I get HOUSE and TABLE in the same spatial location. In fact, > when I slowed the timing down, I saw that initially the first display > object (HOUSE) is in the correct place, and then it moves. > > Any suggestions/help would be great... thanks! > > Steve > > > From Alan.Chauvin at lis.inpg.fr Tue Jan 14 15:22:23 2003 From: Alan.Chauvin at lis.inpg.fr (Alan) Date: Tue, 14 Jan 2003 16:22:23 +0100 Subject: need a script for displaying multiple mask in an experiment Message-ID: Hi everyone, I'm planning a priming experiment where the prime will be mask by 8 images displayed 10 ms each. (The timing resolution of my PC is about 120Hz). As I understand the Timming consideration, the only way to handle with this problem is to use a canvas object. But I don't understand how to integrate the use of canevas object in a e-studio script. If anyone have an example or alread face this problem, please help Cheers Alan _________________________________________________ Alan Chauvin NEW ONE : alan.chauvin @lis.inpg.fr Laboratoire des Images et des Signaux www.lis.inpg.fr UMR 5083 - INPG 46 Av Felix Viallet 38031 Grenoble Cedex 9 33 (0) 476 827 831 Laboratoire de Psychologie Exp?rimentale UMR 5105 - UPMF BP 47 38040 Grenoble www.upmf-grenoble.fr/lpe _________________________________________________ From erin5 at stanford.edu Tue Jan 14 20:39:35 2003 From: erin5 at stanford.edu (Erin S. Rogers) Date: Tue, 14 Jan 2003 12:39:35 -0800 Subject: triggering other computer Message-ID: Does anyone know what the hardware set-up should be when using Eprime to send triggers to an EEG computer (neuroscan)? From devo0023 at tc.umn.edu Tue Jan 14 21:44:39 2003 From: devo0023 at tc.umn.edu (Cynthia J DeVore) Date: Tue, 14 Jan 2003 15:44:39 -0600 Subject: E-Prime starting voice recording Message-ID: Is anyone out there using E-Prime to initiate voice recording? Cynthia J. DeVore Graduate Student U of MN - Industrial/Organizational Psychology devo0023 at tc.umn.edu From jcraggs at prodigy.net Wed Jan 15 11:49:18 2003 From: jcraggs at prodigy.net (Jason Craggs) Date: Wed, 15 Jan 2003 12:49:18 +0100 Subject: Commands Message-ID: Would someone please be kind enough to post the commands to join this list. Thank you, Jason Jason G Craggs Psykologisk institutt Postboks 1094 Blindern N-0317 Oslo, Norway (W) {47} 2284-5209 -------------- next part -------------- An HTML attachment was scrubbed... URL: From R.Custers at fss.uu.nl Wed Jan 15 13:52:55 2003 From: R.Custers at fss.uu.nl (Custers, Ruud) Date: Wed, 15 Jan 2003 14:52:55 +0100 Subject: mouse click on target Message-ID: Hi everyone, I have what I think should be a simple problem. I want participants to click rapidly on a box that appears on the screen and to test whether they actually clicked on the box or missed it. Does anybody know how to do this? Thanks, Ruud. From macw at cmu.edu Wed Jan 15 15:51:17 2003 From: macw at cmu.edu (Brian MacWhinney) Date: Wed, 15 Jan 2003 10:51:17 -0500 Subject: Commands In-Reply-To: Message-ID: Jason, You can find the commands summary for eprime at mail.talkbank.org by going to the step.psy.cmu.edu page. The URL is http://step.psy.cmu.edu/eprime.html --Brian MacWhinney -------------- next part -------------- An HTML attachment was scrubbed... URL: From ftornay at ugr.es Wed Jan 15 16:29:10 2003 From: ftornay at ugr.es (ftornay at ugr.es) Date: Wed, 15 Jan 2003 17:29:10 +0100 Subject: mouse click on target In-Reply-To: <71B8F9EFB931D411BE85009027734D52019870EE@fswexchange.fss.uu.nl> Message-ID: Mensaje citado por "Custers, Ruud" : > Hi everyone, > > I have what I think should be a simple problem. I want participants to click > rapidly on a box that appears on the screen and to test whether they > actually clicked on the box or missed it. Does anybody know how to do this? > > Thanks, > > Ruud. > > Do this: a) Insert a slide object. Let's call it "Target". Set their duration/input properties to get it accept mouse input. If you write 1 on the allowable property only left clicks will be allowed. Don't forget to set the data logging property to "standard", so that responses are logged. b) Insert a text object within the slide, let's call it "TargetBox". Leave it blank. Then set the borderwidth property (on the frame tab) to some nonnull value. You will have a box on the screen. You can then set the other properties (position, size, bordercolor, backcolor, ...) as desired. c) Insert an inline object after the slide. You should write the following: 'Find out whether there was a click 'Important: The mouse device should be the first device on the slide. Dim mouseClicks As Integer mouseClicks = Target.InputMasks.Item(1).Responses.Count 'If so, get the mouse response If mouseClicks > 0 Then Dim rdClick As MouseResponseData Set rdClick = CMouseResponseData( _ Target.InputMasks.Item(1).Responses(1)) 'Did the box get clicked? If Target.States(Target.ActiveState).HitTest( _ rdClick.CursorX, rdClick.CursorY) = "TargetBox" then Target.acc = 1 Else Target.acc = 0 End If Else Target.acc = 0 End If This way the response to the slide object will be considered correct if the box was clicked and incorrect otherwise. You may also want to set the show cursor property of the mouse device object (in the experiment object, devices tab) to yes, so that the mouse cursor is visible. Hope this helps, Francisco Tornay From ftornay at ugr.es Wed Jan 15 18:55:15 2003 From: ftornay at ugr.es (ftornay at ugr.es) Date: Wed, 15 Jan 2003 19:55:15 +0100 Subject: Random ISI In-Reply-To: Message-ID: > Dear all, > we would like to vary our interstimulus interval (ISI) randomly during the > > experiment. We can't see any simple solution to this problem without the > stimuli being coupled in a fixed manner to a certain ISI. Have you got > any suggestions? > Thank you very much for your support > Dirk In our lab, we have done something similar. If you only want the ISI to change so that subjects cannot predict when the new trial will begin, I think the easiest way would be this: a) Insert a text display object (or similar) to be used as the ISI (let's call it ISI), set the duration property to any value, it won't make any difference. b) BEFORE the object, insert an inline with the following code: 'Choose a random ISI between a minimum and a maximum value (change as desired) dim lngRandomISI as long lngRandomISI = random(10, 1000) 'Between 10 ms and one second 'Set the duration of the ISI to the random value ISI.duration = lngRandomISI 'Log the randomly chosen duration to the data file, in case you need it later c.setattrib "ISIduration", lngRandomISI Hope this helps Francisco Tornay Departamento de Psicolog?a Experimental y Fisiolog?a del Comportamiento Universidad de Granada SPAIN From jstieben at yorku.ca Thu Jan 16 17:09:00 2003 From: jstieben at yorku.ca (Jim Stieben) Date: Thu, 16 Jan 2003 12:09:00 -0500 Subject: Looking for a good go-no-go task Message-ID: Hi, I would like to ask anyone on the list if they would be willing to share a basic GO-NO-GO paradigm task which they have used with NetStation. We are doing ERN research and would like to ask if anyone has found a particular task works best for generating the ERN evoked response. Thanks very much Jim Stieben -------------- next part -------------- An HTML attachment was scrubbed... URL: From erin5 at stanford.edu Thu Jan 16 18:38:03 2003 From: erin5 at stanford.edu (Erin S. Rogers) Date: Thu, 16 Jan 2003 10:38:03 -0800 Subject: error Message-ID: Has anyone ever gotten the error: 0x00000385; Unable to create the Directx object: 0x88780078 It happened while trying to open a sound device. thank you! From erin5 at stanford.edu Fri Jan 17 16:46:43 2003 From: erin5 at stanford.edu (Erin S. Rogers) Date: Fri, 17 Jan 2003 08:46:43 -0800 Subject: triggering other computer In-Reply-To: Message-ID: Thank you for the great help. I have set up triggers going to my SCAN computer, and they are registering when I do a Test Trigger Port. But they are not showing up during data acquisition. Any ideas about what might still be wrong? Thank you, Erin Rogers At 09:12 AM 1/15/03, you wrote: >Hi Erin, > >You just need a cable linking the eprime script to the eeg neuroscan >computer. goes out of one, into the other. i think it is a serial cable - it >should say in the manuals...its the same as you would get from neuroscan to >use with stim...i got my cable from them....easy. > >to send triggers you put inline script into your eprime prog, with a command >like 'writeport H278,0' > >this is a command to send a signal to the port. >the address depends on the way your computer is set up obviously - and this >should come up on the screena s your computer boots up and identifies the >ports, or should be listed somehwere inthe system details.... > >and the code 0 says turn the trigger off, - you can replace this with any >number upto 255 i think, allowing you to send codes for different events.... > >you can even grab these numbers from your trial list if you have an >attribute that would code different event types. > >only problem i've found is if you send codes close together in time they >dont always all get registered, so we usually send an off code, sleep for >50msc, then send the code we want. this seems to work fine.. > >i did this by reading the manuals..so the info is in there... > >hope this helps... >and just to encourage you i can tell you it works... >cheers >david > >David I Donaldson >Department of Psychology >University of Stirling >Stirling >Scotland >UK > >Tel: +44 (0) 1786 467657 >Mobile: +44 (0) 7929 147303 >Fax: +44 (0) 1786 467641 >Email: did1 at stir.ac.uk > > > >-----Original Message----- >From: Erin S. Rogers [mailto:erin5 at stanford.edu] >Sent: Tuesday, January 14, 2003 8:40 PM >To: eprime at mail.talkbank.org >Subject: triggering other computer > > >Does anyone know what the hardware set-up should be when using Eprime to >send triggers to an EEG computer (neuroscan)? > >-- >The University of Stirling is a university established in Scotland by >charter at Stirling, FK9 4LA. Privileged/Confidential Information may >be contained in this message. If you are not the addressee indicated >in this message (or responsible for delivery of the message to such >person), you may not disclose, copy or deliver this message to anyone >and any action taken or omitted to be taken in reliance on it, is >prohibited and may be unlawful. In such case, you should destroy this >message and kindly notify the sender by reply email. Please advise >immediately if you or your employer do not consent to Internet email >for messages of this kind. Opinions, conclusions and other >information in this message that do not relate to the official >business of the University of Stirling shall be understood as neither >given nor endorsed by it. From Alan.Chauvin at lis.inpg.fr Sat Jan 18 14:10:07 2003 From: Alan.Chauvin at lis.inpg.fr (Alan) Date: Sat, 18 Jan 2003 15:10:07 +0100 Subject: need a script for displaying multiple mask in an experiment Message-ID: Hi everybody, Thank you for the great help. Here is a digest of the answers for the archive. Thanks again for your help. PS : I'm not sending the attached ".es file", because it's not my program but it is very useful for my purpose. ------------------------------------------------------------------------ ------------ Hi Alan -- This might help. In my experiment, I present: -- 48 neutral mask pix -- 24 pleasant and unpleasant prime pix The neutral pix are drawn without replacement 4 times and shown for 5000 msec. During that time, 4 primes (2 neg, 2 pos in a random order) are presented at random intervals for 1 refresh rate. (There's also a random ? mask in an attempt to preclude awareness). I've attached DotMask.bmp and 3 photos (r1710 = positive; r9600=negative; r2190=neutral). I've adjusted the .ES file so that it only calls for these files. Do let me know if this is helpful and if you find any more efficient ways of doing this sort of thing. Good luck, Jeff *************************************************** Jeff T. Larsen, PhD Assistant Professor of Psychology Texas Tech University phone: 806-742-3711 x264 fax: 806-742-0818 email: jeff.larsen at ttu.edu web: http://webpages.acs.ttu.edu/jelarsen ------------------------------------------------------------------------ ------------ This is what you might to 1) Go to the user tab in the script window and declare the following variable: 'Array of canvases for the eight masks dim cnvsMasks(8) as canvas 2) Insert an inline object at the beginning of the experiment that creates the canvases and loads the images. 'Create canvases for i = 0 to 7 set cnvsMasks(i) = display.CreateCanvas next i 'Load image files 'Replace your own image files 'Don't forget the double backslashs cnvsMasks(0).LoadImage "Samples\\PictureRT\\RedCar.bmp" cnvsMasks(1).LoadImage "Samples\\PictureRT\\BlueCar.bmp" cnvsMasks(2).LoadImage "Samples\\PictureRT\\RedCar.bmp" cnvsMasks(3).LoadImage "Samples\\PictureRT\\BlueCar.bmp" cnvsMasks(4).LoadImage "Samples\\PictureRT\\RedCar.bmp" cnvsMasks(5).LoadImage "Samples\\PictureRT\\BlueCar.bmp" cnvsMasks(6).LoadImage "Samples\\PictureRT\\RedCar.bmp" cnvsMasks(7).LoadImage "Samples\\PictureRT\\BlueCar.bmp" 3) Then insert an inline object at the point where you want your masks to appear: 'Copy each mask to the screen and wait for a fixed amount of time dim i as integer 'Present each mask, wait for 10 ms then go to the next one for i = 0 to 7 display.waitForVerticalBlank display.canvas.copy cnvsMasks(i) sleep (10) next i I am assuming a few things: your masks are always the same, They will cover the whole screen, ... Hope this helps Francisco Tornay Francisco Tornay Departamento de Psicolog?a Experimental y Fisiolog?a del Comportamiento Universidad de Granada Espa?a From langdev at yahoo.com Mon Jan 20 21:06:14 2003 From: langdev at yahoo.com (Sarah Callahan) Date: Mon, 20 Jan 2003 13:06:14 -0800 Subject: Response Collection/Devices Message-ID: Hello all, I am in the fMRI Research Center at Columbia University and am a fairly new e-prime user. My design requires the collection of responses from the hand units inside the scanner. Although I have enabled both the Keyboard and the SRBox as well as other devices, none of them seem to be recording responses. No E-dat file (or text file) is being generated. I do not see any real-time logging of responses on the IFIS system during paradigm display. There may be a simple fix for this, but I can't figure it out. I thank you in advance for any advice you might provide. Best, Sarah Callahan ===== Sarah Callahan Neuroscience Research Coordinator FMRI Research Center Columbia University 212-342-0299 (main) 212-342-9016 (direct) __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From langdev at yahoo.com Thu Jan 23 17:46:34 2003 From: langdev at yahoo.com (Sarah Callahan) Date: Thu, 23 Jan 2003 09:46:34 -0800 Subject: Summary: Response Collection/Devices Message-ID: Hello all, It was suggested that I post a summary of the responses I received to my earlier question about response collection in-scanner and enabling devices. Two people were kind enough to send me code snippets that they were successfully using. My thanks to them. Note that my situation was further complicated by the implementation of my paradigm through the IFIS system. Not everyone may have this problem. If you would like Stephen Johnston's code, please email me and I will be happy to send you the attachment. Best regards, Sarah Callahan 1. '<***** COPY BELOW TO USER SCRIPT SO IT IS AVAILABLE GLOBALLY****> ' Constants for the BSOFT DIG130/24 card Const DIG130_BASE As Integer = &H200 Const DIG130_PORT_A As Integer = DIG130_BASE + 28 Const DIG130_PORT_B As Integer = DIG130_BASE + 29 Const DIG130_PORT_C As Integer = DIG130_BASE + 30 Const DIG130_PORT_CONTROL As Integer = DIG130_BASE + 31 ' DIG130 Control port assignments for Mode 0 ' 7 6 5 4 3 2 1 0 ' 1 0 0 x x 0 x x ' | | | |___ Port2(C) (lower 4 bits) 0=output, 1=input ' | | |_____ Port1(B) (all 8 bits) 0=output, 1=input ' | | ' | |_________ Port2(C) (upper 4 bits) 0=output, 1=input ' |___________ Port0(A) (all 8 bits) 0=output, 1=input ' ' DIG130 Initialize ' Port0(A) - input, Port1(B) - input, Port2(C) - output ' 7 6 5 4 3 2 1 0 ' 1 0 0 1 0 0 1 0 = &H92 -> A-in, B-in, C-out Const DIG130_CONFIG_DATA As Integer = &H92 ' Constants for BRU configuration Const BRU_RIGHT_ONLY = 1 ' RH 1-5 Const BRU_LEFT_ONLY = 2 ' LH 1-5 Const BRU_RIGHT_LEFT_UNIQUE = 3 ' RH 1-5, LH 6-9,A Const BRU_RIGHT_LEFT_DUPLICATE = 4 ' RH 1-5, LH 1-5 Dim g_BRU As BRU '<***** COPY ABOVE TO USER SCRIPT SO IT IS AVAILABLE GLOBALLY****> '<***** COPY BELOW TO AN INLINE AT THE BEGINNING OF THE PARADIGM****> Set g_BRU = New BRU g_BRU.Address = DIG130_BASE g_BRU.Configuration = BRU_RIGHT_LEFT_UNIQUE g_BRU.Reset DIG130_CONFIG_DATA g_BRU.Enable '<***** COPY ABOVE TO AN INLINE AT THE BEGINNING OF THE PARADIGM****> Once the above script is executed any responses on the BRUs will be posted to the keyboard device when the script is running on the IFIS equipment (e.g. a machine that has a BSOFT DIG130 card installed in it and has the IFIS MCU connected to the DIG card). You just code your experiment to use the keyboard device for input and the BRU object (once enabled) will make sure that responses get posted to the keyboard device. Note the comments in the code for the different mapping/configuration options, e.g. depending on the needs of the experiment you can change the mapping of the button IDs or disable one or the other hand as necessary. > I have a few > questions: > > 1)You mentioned that we need IFIS hardware for I/O. Does > this mean that > the experiment must run on the control/analysis (aka bottom) computer > and not the patient/top computer? In that case, can the Netstation > package calls that will have to be included also work from there? The solution above only works when you are running the experiment on the EPC installed in an IFIS Console (as opposed to an arbitrary desktop PC just running E-Prime). The experiment goes on the EPC (aka top) because it is the machine that has the DIG130 card installed in it. For this setup however you do not need to run the experiment via the IFIS System Manager (which runs on the CAC aka bottom computer). Thus, if you stick the above code in ANY E-Prime experiment AND you are running the experiment on the IFIS hardware (which has the BRUs connected to it) then you should be able get inputs from the BRU. If you attempt to run this on an arbitrary desktop machine with E-Prime you will either get no responses issued through the BRU device OR arbitrary responses may come sporatically, e.g. since there would be no card at the port address being examined there is the potential that the bit states could 'float'. On most machines that I have done this on it's not a problem. 2. Here is a piece of code that worked for us, connecting a hand device to a scanner. The problem you mention I think is that, in our case, we had to create the target stimulus in the inline script and manipulate it via e-prime code, so we had to determine in the script whether the answer was right or not and set Target.ACC ourselves. Sorry about the way the code looks - it was the first bit of e-prime code we had written so all that Target attribute stuff at the beggining is unnecessary. The switches themselves were connected as a serial device. Hope this helps in some way. Steve ===== Sarah Callahan Neuroscience Research Coordinator FMRI Research Center Columbia University 212-342-0299 (main) 212-342-9016 (direct) __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From VONKARC at uwec.edu Mon Jan 27 23:55:12 2003 From: VONKARC at uwec.edu (Von Karolyi, Catya) Date: Mon, 27 Jan 2003 17:55:12 -0600 Subject: Contingency looping Message-ID: Hi there, I'm new here and I apologize in advance for my ignorance and my idiosyncratic jargon. I'm hoping someone can direct me to the most effective way of accomplishing a contingency loop. My situation is as follows: My goal is (1) to have a sequence of images (clunky animation) display a morphed illusion and (2) to have participant input determine the follow-up sequencing. In other words, the participant responds at any given point in the original sequence (say, when two lines seem to be the same length) and is redirected (Jumps to a Label?) to a customized sequence based on the point at which the response occurred. The new sequence, for example, might start at a point a few images further along in the sequence (when the two lines are clearly not the same length) and back-up to (and beyond) the point of the user's first input. (Or, conversely, back up a few images and redisplay the same sequence). To accomplish the first part of this task, I've got a List that repeatedly calls a Proc with a Slide Object set up with a generic image holder on a single slide. The List specifies (calls) the original sequence of bitmaps. I have failed to solve the second part of this task, even though I attempted to write script 2 (for starters) InLine objects with different sequences. I can make it vary the sequence using and , but I don't know how to tell it "start with this bitmap, on the basis of user input", I can't seem to control the flow correctly, and I can't seem to get the Slide to actually take the user input and jump. I suspect that I'm asking for too much help. Nevertheless, I'd be grateful for any tidbits you can throw my way. I'm a neophyte E-Prime user and I'm waiting impatiently for a copy of VBA for Dummies to arrive in the mail. TIA, Catya PS The main frame computer can't seem to spell my last name correctly with a lower case "v" -------------- next part -------------- An HTML attachment was scrubbed... URL: From gncraig97 at msn.com Tue Jan 28 14:17:26 2003 From: gncraig97 at msn.com (NANCY CRAIG) Date: Tue, 28 Jan 2003 09:17:26 -0500 Subject: n-back task Message-ID: Good morning list members, We are about to begin the process of programming the n-back task using E-Prime. We have already completed one of our experimental paradigms using the program, and it took quite a long time as we are new to the program. Does anyone have any advice/suggestions about the best approach to designing this complex paradigm or any specific literature to review before we begin (we will be employing 0-, 1-, & 2- back for letters and shapes)? Thank you in advance, Nancy Craig, M.A. Doctoral Student in Clinical Psychology University of Connecticut _________________________________________________________________ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail From susanc at andrew.cmu.edu Wed Jan 29 20:06:37 2003 From: susanc at andrew.cmu.edu (Susan Campbell) Date: Wed, 29 Jan 2003 15:06:37 -0500 Subject: n-back task In-Reply-To: Message-ID: I'm going to suggest taking a look at the n-back tests available on the STEP website (step.psy.cmu.edu). One is a very simple 1-back task, and the other is more complex and involves 0,1,2, and 3-back tasks. The specific URL for the n-back scripts is: http://step.psy.cmu.edu/scripts/ZipFiles/n-Back.zip Hope this helps, Susan Campbell STEP Project Carnegie Mellon On Tue, 28 Jan 2003, NANCY CRAIG wrote: > Does anyone have any advice/suggestions about the best approach to designing > this complex paradigm or any specific literature to review before we begin > (we will be employing 0-, 1-, & 2- back for letters and shapes)? From VONKARC at uwec.edu Fri Jan 31 15:46:39 2003 From: VONKARC at uwec.edu (Von Karolyi, Catya) Date: Fri, 31 Jan 2003 09:46:39 -0600 Subject: Contingency looping Message-ID: Hello again, It was suggested that I (further) search the archives to answer my Contingency Looping question (revised and abridged below). I have now searched the archive using the terms: (Contingency or Contingent), (Loop or Looping), Input, Response, .RESP, (InLine or (IN Line)), (Slide or (Slide object)), (Animate or Animation), and I went through week by week for a few months. I also received and searched "VBA for Dummies), to no avail. Does anyone, by any chance, either have a posting in mind that might address my problem or have a response to my questions? Thank you for any help you might be able to provide to me. Take care, Catya von Karolyi PS the Main frame computer can't spell my name correctly with a lower case "v" ~~~~~~~~~ORIGINAL MESSAGE~~~~~~~~~~~~ RE Contingency looping >>...I'm hoping someone can direct me to the most effective way of accomplishing a contingency loop. My situation is as follows: My goal is ...(2) to have participant input determine the follow-up sequencing of a set of bitmaps presented in a Slide....When the participant responds at any given point in the original sequence (say, when two lines seem to be the same length) and the flow is redirected (Jumps to a Label?) to a customized sequence based on the point at which the response occurred. The new sequence, for example, might start at a point a few images further along in the sequence (when the two lines are clearly not the same length) and back-up to (and beyond) the point of the user's first input. (Or, conversely, back up a few images and redisplay the same sequence). ...I've got a List that repeatedly calls a Proc with a Slide Object set up with a generic image holder on a single slide. The List specifies (calls) the original sequence of bitmaps. I have failed to solve the second part of this task, even though I attempted to write InLine objects with different sequences. I can make it vary the sequence using and , but I don't know how to tell it "start with this bitmap, on the basis of user input", I can't seem to control the flow correctly, and I can't seem to get the Slide to actually take the user input and jump...<< -------------- next part -------------- An HTML attachment was scrubbed... URL: