From wendy_davidson79 at hotmail.com Thu Jun 1 10:09:19 2006 From: wendy_davidson79 at hotmail.com (Wendy Davidson) Date: Thu, 1 Jun 2006 11:09:19 +0100 Subject: 8 channel sound Message-ID: Hi Does anyone know if eprime is capable of omitting sound from 8 different locations? In other words, I want to have sound coming from 8 separate spatial locations (using separate speakers). Is eprime capable of doing this? Thanks Wendy Davidson From brandon_cernicky at yahoo.com Mon Jun 5 16:41:26 2006 From: brandon_cernicky at yahoo.com (Brandon Cernicky) Date: Mon, 5 Jun 2006 09:41:26 -0700 Subject: Data Acquisition Adapters and E-Prime In-Reply-To: <92401.41051@mail.talkbank.org> Message-ID: Greetings, The E-Prime Web Support and other technical support at Psychology Software Tools receives a number of queries about using digital I/O adapters and other data acquisition (DAQ) adapters with E-Prime. Because there are so many adapters available from a number of different manufactures, Psychology Software Tools has only been able to provide limited support in this area. PST has tested a number of parallel port adapters and continues to be the primary choice for low cost, low latency, data acquisition for computers. To assist the E-Prime community, I would like to ask the group for any experiences they have had with DAQ cards outside of using parallel adapters as well as with parallel adapters. Information about NI-DAQ adapters from National Instruments appear to be the most commonly requested devices for information, but am interested in any experiences with adapters from other manufactures. The information that would like to gain from this thread: 1) Are you using any data acquisition adapter using ReadPort, WritePort, OnsetSignal, OffsetSignal? That is, you are using the facilities provided by E-Prime and are not using .dll calls or other Declare statements provider by the manufacture. If so, what is the manufacture/model of the adapter? 2) Any experiences with using National Instruments Lab View with E-Prime. 3) Any experiences using PCI data acquisition adapters? 4) Any experiences using PCMCIA data acquisition adapters? 5) Any experiences using USB data acquisition adapters? 6) Any experiences using any analog data acquisition adapters? 7) Any experiences to share about using parallel port adapters? -Brandon ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Brandon S. Cernicky Senior Software Engineer Psychology Software Tools __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From cam47 at psu.edu Mon Jun 5 16:43:46 2006 From: cam47 at psu.edu (CAROL A MILLER) Date: Mon, 5 Jun 2006 12:43:46 -0400 Subject: No subject Message-ID: I am out of town until June 7 and may not have an opportunity to read or respond to electronic mail. If you are inquiring about our study of language learning in schoolchildren, feel free to contact my research assistant at jct190 at psu.edu . Carol Miller From jankowsk at aecom.yu.edu Mon Jun 12 13:55:29 2006 From: jankowsk at aecom.yu.edu (Jeffery Jankowski) Date: Mon, 12 Jun 2006 09:55:29 -0400 Subject: Keypress Message-ID: I am writing a RT program in which I would like the participant to press a key continuously for 1 sec to initiate a trial. Is there an easy way to do this? Thanks, Jeff Jankowski Albert Einstein Coll. Med. Bronx, NY Dr. Jeffery J. Jankowski Kennedy Center - Room 235 Albert Einstein College of Medicine 1300 Morris Park Avenue Bronx, NY 10461 Ph: (718) 430-2463 From anthony.zuccolotto at pstnet.com Mon Jun 12 15:03:30 2006 From: anthony.zuccolotto at pstnet.com (Tony Zuccolotto) Date: Mon, 12 Jun 2006 11:03:30 -0400 Subject: Keypress Message-ID: Jeff, Is it the case that you want the participant to press a key and hold it down for 1 second before beginning or is it that you want them to tap (press and release) the key continuously for 1 second? -Tony Anthony P. Zuccolotto President and Chief Executive Officer 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: eprime at mail.talkbank.org [mailto:eprime at mail.talkbank.org] On Behalf > Of Jeffery Jankowski > Sent: Monday, June 12, 2006 9:55 AM > To: eprime at mail.talkbank.org > Subject: Keypress > > > I am writing a RT program in which I would like the participant to press a > key continuously for 1 sec to initiate a trial. Is there an easy way to > do > this? > > Thanks, Jeff Jankowski > > Albert Einstein Coll. Med. > Bronx, NY > > Dr. Jeffery J. Jankowski > Kennedy Center - Room 235 > Albert Einstein College of Medicine > 1300 Morris Park Avenue > Bronx, NY 10461 > Ph: (718) 430-2463 > > > > From anthony.zuccolotto at pstnet.com Mon Jun 12 15:30:31 2006 From: anthony.zuccolotto at pstnet.com (Tony Zuccolotto) Date: Mon, 12 Jun 2006 11:30:31 -0400 Subject: Keypress Message-ID: Jeff, OK, shouldn't be too bad. 1. Double click the Experiment object and navigate to the Devices tab. 2. Edit the properties of the Keyboard device and change the Collection Mode from Presses Only to Presses and Releases. 3. Create a TextDisplay object at the start of your trial procedure and use it to tell the subject to press and hold the '1' key. 4. Add a Keyboard input mask to the TextDisplay and set its Allowable property to "1" which will indicate you will allow only a Press of the '1' key. 5. Set the Duration property to "(infinite)" and the End Action to Terminate. 6. Follow this first TextDisplay with a second TextDisplay. 7. On the second TextDisplay set the Duration to 1000, add a Keyboard input mask and set the End Action to Terminate. I'd also use this object to change the instruction text to something like 'Good. Continue holding until the trial begins...' 8. Set the Allowable property to '{-1}' to indicate you only want to accept a Release on the 1 key. 9. After the second TextDisplay insert an Inline that uses and If-statement to check the RT property of the second TextDisplay. If the user was still holding down the key when you got into the Inline then the TextDisplay.RT property should be 0. If they released the key before 1 second elapsed then TextDisplay.RT should be some value 0 < x <= 1000. 10. At this point you know what happened and you can decide what to do next. There are variations on this model you can do in the Inline depending on how closely you need to control what the participant does exactly, but I think this should get you pretty close to what you desire. Hope that helps, Tony > -----Original Message----- > From: Jeffery Jankowski [mailto:jankowsk at aecom.yu.edu] > Sent: Monday, June 12, 2006 11:20 AM > To: Tony Zuccolotto > Subject: RE: Keypress > > Tony, > > Press and hold. > > Jeff > > At 11:03 AM 6/12/2006 -0400, you wrote: > >Jeff, > > > >Is it the case that you want the participant to press a key and hold it > >down for 1 second before beginning or is it that you want them to tap > >(press and release) the key continuously for 1 second? > > > >-Tony > > > >Anthony P. Zuccolotto > >President and Chief Executive Officer > >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: eprime at mail.talkbank.org [mailto:eprime at mail.talkbank.org] On > >Behalf > >> Of Jeffery Jankowski > >> Sent: Monday, June 12, 2006 9:55 AM > >> To: eprime at mail.talkbank.org > >> Subject: Keypress > >> > >> > >> I am writing a RT program in which I would like the participant to > >press a > >> key continuously for 1 sec to initiate a trial. Is there an easy way > >to > >> do > >> this? > >> > >> Thanks, Jeff Jankowski > >> > >> Albert Einstein Coll. Med. > >> Bronx, NY > >> > >> Dr. Jeffery J. Jankowski > >> Kennedy Center - Room 235 > >> Albert Einstein College of Medicine > >> 1300 Morris Park Avenue > >> Bronx, NY 10461 > >> Ph: (718) 430-2463 > >> > >> > >> > >> > > > > > > > > Dr. Jeffery J. Jankowski > Kennedy Center - Room 235 > Albert Einstein College of Medicine > 1300 Morris Park Avenue > Bronx, NY 10461 > Ph: (718) 430-2463 > > > From jennifer.thompson at man.ac.uk Mon Jun 12 16:04:39 2006 From: jennifer.thompson at man.ac.uk (Jennifer Thompson) Date: Mon, 12 Jun 2006 17:04:39 +0100 Subject: Serial port / Serial Response Box problems Message-ID: Dear E-Prime list, I have a laptop that does not have a serial port (like most), but which I would like to use to collect data using E-Prime and a SRB. I purchased a PCMCIA serial port adaptor, which adds two serial ports to the machine. I chose this method as it looked like the timing would be a lot more reliable than a USB serial port add on. However, this set up isn't working with the SRB. Experiments will run, but no responses are detected from the SRB. When the PCMCIA card it attached to the laptop the two COM ports are listed on the laptops settings and they can be configured individually. Has anyone used a similar set up? I'd be very grateful for some guidance on whether this is going to work and how to configure the ports. I can give more detail if necessary. This is the PCMCIA card I bought: http://www.maplin.co.uk/Module.aspx?ModuleNo=47115&criteria=PCI%20SERIAL%20LAPTOP&doy=12m6 Thanks for reading, Jennifer Thompson -------------- next part -------------- An HTML attachment was scrubbed... URL: From wendy_davidson79 at hotmail.com Tue Jun 13 10:18:29 2006 From: wendy_davidson79 at hotmail.com (Wendy Davidson) Date: Tue, 13 Jun 2006 11:18:29 +0100 Subject: multiple (serial) correct answers Message-ID: Hi everyone, I have a query and was hoping someone could help. I have designed an experiment in which the subject sees a stimulus (arrows pointing in different directions in sequence) they then have to use the mouse to click corresponding areas on the screen in the correct serial order as the original presentation. There can be up to 8 possible locations. I have used a slide with 8 areas i.e. "Image1" that they have to click on. The script below works for only 1 location. How can I add more correct responses AND in serial order? Mouse.ShowCursor True Dim theState as SlideState Set theState = Slide1.States ("State1") Dim ptMouse As Point Dim strHit As String Mouse.GetCursorPos ptMouse.x, ptMouse.y strHit = theState.HitTest(ptMouse.x, ptMouse.y) If strHit = "Image1" Then Results.Text = "Correct!" Slide1.ACC = 1 Else Results.Text = "Incorrect." Slide1.ACC = 0 End If From brandon_cernicky at yahoo.com Tue Jun 13 15:21:52 2006 From: brandon_cernicky at yahoo.com (Brandon Cernicky) Date: Tue, 13 Jun 2006 08:21:52 -0700 Subject: Eprime Digest - 06/11/06 In-Reply-To: <97201.31464@mail.talkbank.org> Message-ID: Hi Jennifer, PST does not have any reports that a PCMCIA serial adapter won't work with E-Prime. If you are not having any success with the adapter, I would suggest ensuring that the SerialDevice or SRBOX device settings in the Experiment object are set to the COM port number of the PCMCIA serial port which can be determined through Device Manager in Windows. E-Prime currently only supports COM port 1-4 so if the value is reported is higher (COM5, etc), then this can be changed through Device Manager in Windows also (see the KB listed below for steps on how to do this). ============================================== As far as the concern about timing issues with the use of the USB to Serial Cables, I would suggest anyone interested to view the KB article on the E-Prime Web Support site "1835 - INFO: Use of DB9 Serial to USB connector within E-Prime" for more information. On average, the USB to serial adapters will perform 150 microseconds slower than a standard serial port. Both the standard serial port and USB to DB9 cables have aprx a 0.66 stddev value. There is a table of values in the KB article above. ================================================= Although not related to serial, but I feel the group shoudl note that PST is not aware of ANY USB to Parallel cables that work with E-Prime. This is due to how Microsoft supports these devices with a "USB Printer Driver" and does not support direct hardware communication directly. For those that need parallel access in E-Prime, the use of on-board Parallel is first choice. For desktop machines, any PCI parallel adapter should have no compatability problems. PST has tested parallel adapters from chipset makers SIIG, NetMos, and Sunix. For laptop users that need parallel access, the only known compatible unit is the Quatech SPP-100 PCMCIA adapter. -Brandon ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Brandon S. Cernicky Senior Software Engineer Psychology Software Tools >> Dear E-Prime list, >> >> I have a laptop that does not have a serial port >> (like most), but which I >> would like to use to collect data using E-Prime >> and a SRB. I purchased a >> PCMCIA serial port adaptor, which adds two serial >> ports to the machine. I >> chose this method as it looked like the timing >> would be a lot more reliable >> than a USB serial port add on. However, this set >> up isn't working with the >> SRB. Experiments will run, but no responses are >> detected from the SRB. >> When the PCMCIA card it attached to the laptop the >> two COM ports are listed >> on the laptops settings and they can be configured >> individually. >> Has anyone used a similar set up? I'd be very >> grateful for some guidance on >> whether this is going to work and how to configure >> the ports. I can give >> more detail if necessary. >> This is the PCMCIA card I bought: >> http://www.maplin.co.uk/Module.aspx?>> ModuleNo=47115&criteria=PCI%20SERIAL%20LAPTOP&doy=12m6 >> Thanks for reading, >> >> Jennifer Thompson >> __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From pauls_postbus at hotmail.com Tue Jun 13 15:44:19 2006 From: pauls_postbus at hotmail.com (Paul Gr) Date: Tue, 13 Jun 2006 17:44:19 +0200 Subject: multiple (serial) correct answers In-Reply-To: Message-ID: hi wendy, As a starting point, you can do the following: Just place a list object (for example ClickList) at the point where Slide1 currently is positioned and define a procedure called ClickProc and set this as the default procedure for the list. Then, move Slide1 and the inline script to ClickProc. You can add rows (i.e. level) to the ClickList for each click you would like to handle. If you don't want the ClickProc to create output for each mouse click, you can disable the LogData property of ClickProc. best paul >From: "Wendy Davidson" >To: eprime at mail.talkbank.org >Subject: multiple (serial) correct answers Date: Tue, 13 Jun 2006 11:18:29 >+0100 > >Hi everyone, >I have a query and was hoping someone could help. > >I have designed an experiment in which the subject sees a stimulus (arrows >pointing in different directions in sequence) they then have to use the >mouse to click corresponding areas on the screen in the correct serial >order as the original presentation. There can be up to 8 possible >locations. I have used a slide with 8 areas i.e. "Image1" that they have to >click on. > >The script below works for only 1 location. How can I add more correct >responses AND in serial order? > > >Mouse.ShowCursor True >Dim theState as SlideState >Set theState = Slide1.States ("State1") > >Dim ptMouse As Point >Dim strHit As String > >Mouse.GetCursorPos ptMouse.x, ptMouse.y >strHit = theState.HitTest(ptMouse.x, ptMouse.y) > >If strHit = "Image1" Then > > Results.Text = "Correct!" > Slide1.ACC = 1 >Else > Results.Text = "Incorrect." > Slide1.ACC = 0 >End If > > > From jankowsk at aecom.yu.edu Wed Jun 14 20:40:17 2006 From: jankowsk at aecom.yu.edu (Jeffery Jankowski) Date: Wed, 14 Jun 2006 16:40:17 -0400 Subject: Using .WAV files Message-ID: Greetings to All, I am writing a program for a Stroop task and am interested in measuring reaction time. In order to give feedback, I will present a short high tone (tone duration 250ms) to the subject when he/she is right and a low tone when wrong (tone duration 250ms). Does using a tone as part of a feedback object interfere with timing or the accurate recording of reaction time in any way? Thanks, Jeff Jankowski Dr. Jeffery J. Jankowski Kennedy Center - Room 235 Albert Einstein College of Medicine 1300 Morris Park Avenue Bronx, NY 10461 Ph: (718) 430-2463 From tab2006 at med.cornell.edu Thu Jun 15 14:06:22 2006 From: tab2006 at med.cornell.edu (Tracy Butler) Date: Thu, 15 Jun 2006 10:06:22 -0400 Subject: underline just one word in a sentence presented via text box In-Reply-To: <3.0.6.32.20060614164017.00a6e6a0@mailserver.aecom.yu.edu> Message-ID: Is there a way to underline just one word in a sentence presented via text box? If not, any suggestions about how to line up two text boxes (containing text of variable length) so the sentence ultimately appears centered on the screen? Thanks. Tracy From michael.hout at pstnet.com Thu Jun 15 18:46:17 2006 From: michael.hout at pstnet.com (Michael Hout) Date: Thu, 15 Jun 2006 14:46:17 -0400 Subject: E-Prime sample posted Message-ID: Hello everyone. My name is Michael Hout. I am a technical consultant here at Psychology Software Tools. I am responding to the following post from Wendy Davidson: -- Hi everyone, I have a query and was hoping someone could help. I have designed an experiment in which the subject sees a stimulus (arrows pointing in different directions in sequence) they then have to use the mouse to click corresponding areas on the screen in the correct serial order as the original presentation. There can be up to 8 possible locations. I have used a slide with 8 areas i.e. "Image1" that they have to click on. The script below works for only 1 location. How can I add more correct responses AND in serial order? -- I just want you all to be aware that there is a sample very recently posted on our website that will demonstrate how to accomplish this task. The sample is called: Load Image Upon Response. The main purpose of the sample is to demonstrate how to load an image only once the subject has clicked within a certain area. But the sample also demonstrates how to log the "serial order" of the clicks to certain areas. I hope this helps. If there are any questions, please refer them to E-Prime Web Support. Thanks for your attention. Michael Hout Technical Consultant ~~~~~~~~~~~~~~~~~~~~ Psychology Software Tools, Inc. 2050 Ardmore Boulevard Suite 200 Pittsburgh, Pa 15221-4610 USA ~~~~~~~~~~~~~~~~~~~~ Visit our Web Site for the latest information: http://www.pstnet.com E-mail: info at pstnet.com Voice: (412) 271-5040 Fax: (412) 271-7077 -------------- next part -------------- An HTML attachment was scrubbed... URL: From leisha at decisionresearch.org Thu Jun 15 21:49:45 2006 From: leisha at decisionresearch.org (Leisha Wharfield) Date: Thu, 15 Jun 2006 14:49:45 -0700 Subject: underline just one word in a sentence presented via text box In-Reply-To: Message-ID: Because I can't always control text in Eprime as I would like to, I create bitmaps of text formatted exactly as I want & use slides to display them. Leisha Wharfield Decision Research Eugene, Oregon, USA Tracy Butler wrote: >Is there a way to underline just one word in a sentence presented via text >box? If not, any suggestions about how to line up two text boxes >(containing text of variable length) so the sentence ultimately appears >centered on the screen? Thanks. >Tracy > > > > > From dhair at wfubmc.edu Mon Jun 19 14:53:34 2006 From: dhair at wfubmc.edu (David Hairston) Date: Mon, 19 Jun 2006 10:53:34 -0400 Subject: synchronized trigger and stim presentation Message-ID: I need to send a trigger signal denoting the exact time of stimulus presentation (assuming parallel port is the easiest method). Here is the problem/question - in the event of, say, a visual stimulus, what is the best way to get these as close in sync as possible? I could have an inline code sending the trigger directly prior to an ImageDisplay... but then it wouldn't it at least have the delay associated with waiting for the next screen update (could be up to 9ms if 100hz monitor)?. Or - what about putting the inline right after said presentation - would it actually occur immediately (like w/in a few ms) afterwards? Or - is there a way to do it with a Slide object? Unfortunately, this will be very difficult to test out empirically... W. David Hairston, Ph.D. ANSIR Lab Dept of Radiology Wake Forest University School of Medicine Medical Center Blvd Winston-Salem NC 27157 (336) 716-7160 (Offiice) (446) 716 0798 (Fax) -------------- next part -------------- An HTML attachment was scrubbed... URL: From leisha at decisionresearch.org Mon Jun 19 15:50:36 2006 From: leisha at decisionresearch.org (Leisha Wharfield) Date: Mon, 19 Jun 2006 08:50:36 -0700 Subject: synchronized trigger and stim presentation In-Reply-To: <4CCFAF32FB7B2C449A189C82198E4265012624E5@EXCHVS1.medctr.ad.wfubmc.edu> Message-ID: Doesn't standard data logging give you the precise timing of stimulus presentation already, with its many time measurements? You can use PreRelease to minimize OnsetDelay, and you can also set a CustomOnset/OffsetTime. It's all in the Critical Timing chapter. Leisha Wharfield Decision Research Eugene, Oregon USA David Hairston wrote: > I need to send a trigger signal denoting the exact time of stimulus > presentation (assuming parallel port is the easiest method). > > Here is the problem/question - in the event of, say, a visual > stimulus, what is the best way to get these as close in sync as > possible? I could have an inline code sending the trigger directly > prior to an ImageDisplay... but then it wouldn't it at least have the > delay associated with waiting for the next screen update (could be up > to 9ms if 100hz monitor)?. Or - what about putting the inline right > after said presentation - would it actually occur immediately (like > w/in a few ms) afterwards? > > Or - is there a way to do it with a Slide object? > > Unfortunately, this will be very difficult to test out empirically... > > > > W. David Hairston, Ph.D. > > ANSIR Lab > > Dept of Radiology > > Wake Forest University School of Medicine > > Medical Center Blvd > > Winston-Salem NC 27157 > > (336) 716-7160 (Offiice) > > (446) 716 0798 (Fax) > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From dhair at wfubmc.edu Mon Jun 19 16:35:19 2006 From: dhair at wfubmc.edu (David Hairston) Date: Mon, 19 Jun 2006 12:35:19 -0400 Subject: synchronized trigger and stim presentation Message-ID: Thanks Leisha. Maybe I should clarify. We need the trigger data on-line, so that it can be recorded along with MEG data during acquisition. This makes it convenient for analysis later, so that we can re-align trials according to stimulus onset, etc. Hence, it is very important that the trigger be an accurate reflection of the actual onset. After some discussion with a colleague, if there is not a simple way to do it via E-prime that is reliable, I'm considering using feedback from a photo-diode system for the trigger. Of course, getting a similar feedback from sound presentation seems even more difficult, so I'm open to suggestions on that one, too... Thanks, Dave ________________________________ From: eprime at mail.talkbank.org [mailto:eprime at mail.talkbank.org] On Behalf Of Leisha Wharfield Sent: Monday, June 19, 2006 11:51 AM Cc: eprime at mail.talkbank.org Subject: Re: synchronized trigger and stim presentation Doesn't standard data logging give you the precise timing of stimulus presentation already, with its many time measurements? You can use PreRelease to minimize OnsetDelay, and you can also set a CustomOnset/OffsetTime. It's all in the Critical Timing chapter. Leisha Wharfield Decision Research Eugene, Oregon USA David Hairston wrote: I need to send a trigger signal denoting the exact time of stimulus presentation (assuming parallel port is the easiest method). Here is the problem/question - in the event of, say, a visual stimulus, what is the best way to get these as close in sync as possible? I could have an inline code sending the trigger directly prior to an ImageDisplay... but then it wouldn't it at least have the delay associated with waiting for the next screen update (could be up to 9ms if 100hz monitor)?. Or - what about putting the inline right after said presentation - would it actually occur immediately (like w/in a few ms) afterwards? Or - is there a way to do it with a Slide object? Unfortunately, this will be very difficult to test out empirically... W. David Hairston, Ph.D. ANSIR Lab Dept of Radiology Wake Forest University School of Medicine Medical Center Blvd Winston-Salem NC 27157 (336) 716-7160 (Offiice) (446) 716 0798 (Fax) -------------- next part -------------- An HTML attachment was scrubbed... URL: From Don.Rojas at UCHSC.edu Mon Jun 19 18:30:07 2006 From: Don.Rojas at UCHSC.edu (Don.Rojas at UCHSC.edu) Date: Mon, 19 Jun 2006 12:30:07 -0600 Subject: synchronized trigger and stim presentation Message-ID: Dave, Use the onsetsignal enabled property of the stimulus to send your trigger. We use a photo-diode in addition to that to adjust the timing jitter on the LCD projector. The photo-diode won't give you multiple trigger codes without a lot of painful hardware tinkering, but you can probably use whatever software you have offline to combine the e-prime trigger and the photo-diode signal to achieve what you need. What MEG system do you use? If you have a 4D Magnes system, I can probably be of further help to you with respect to the latter suggestion. Donald C. Rojas, Ph.D. U. of Colorado Neuromagnetism Lab Denver, CO USA -----Original Message----- From: eprime at mail.talkbank.org [mailto:eprime at mail.talkbank.org] On Behalf Of David Hairston Sent: Monday, June 19, 2006 10:35 AM To: Leisha Wharfield Cc: eprime at mail.talkbank.org Subject: RE: synchronized trigger and stim presentation Thanks Leisha. Maybe I should clarify. We need the trigger data on-line, so that it can be recorded along with MEG data during acquisition. This makes it convenient for analysis later, so that we can re-align trials according to stimulus onset, etc. Hence, it is very important that the trigger be an accurate reflection of the actual onset. After some discussion with a colleague, if there is not a simple way to do it via E-prime that is reliable, I'm considering using feedback from a photo-diode system for the trigger. Of course, getting a similar feedback from sound presentation seems even more difficult, so I'm open to suggestions on that one, too... Thanks, Dave ________________________________ From: eprime at mail.talkbank.org [mailto:eprime at mail.talkbank.org] On Behalf Of Leisha Wharfield Sent: Monday, June 19, 2006 11:51 AM Cc: eprime at mail.talkbank.org Subject: Re: synchronized trigger and stim presentation Doesn't standard data logging give you the precise timing of stimulus presentation already, with its many time measurements? You can use PreRelease to minimize OnsetDelay, and you can also set a CustomOnset/OffsetTime. It's all in the Critical Timing chapter. Leisha Wharfield Decision Research Eugene, Oregon USA David Hairston wrote: I need to send a trigger signal denoting the exact time of stimulus presentation (assuming parallel port is the easiest method). Here is the problem/question - in the event of, say, a visual stimulus, what is the best way to get these as close in sync as possible? I could have an inline code sending the trigger directly prior to an ImageDisplay... but then it wouldn't it at least have the delay associated with waiting for the next screen update (could be up to 9ms if 100hz monitor)?. Or - what about putting the inline right after said presentation - would it actually occur immediately (like w/in a few ms) afterwards? Or - is there a way to do it with a Slide object? Unfortunately, this will be very difficult to test out empirically... W. David Hairston, Ph.D. ANSIR Lab Dept of Radiology Wake Forest University School of Medicine Medical Center Blvd Winston-Salem NC 27157 (336) 716-7160 (Offiice) (446) 716 0798 (Fax) -------------- next part -------------- An HTML attachment was scrubbed... URL: From adamjacks at gmail.com Wed Jun 21 20:31:03 2006 From: adamjacks at gmail.com (Adam Jacks) Date: Wed, 21 Jun 2006 15:31:03 -0500 Subject: replay auditory stimulus In-Reply-To: <2bc5f5f60606210946x12e10d3boa9c61cf79f94ba66@mail.gmail.com> Message-ID: Hi there, I am new to e-prime, although I have some experience with basic programming of experimental design systems. I have set up a simple program that presents a series of .wav files and receives typed listener responses ( i.e. the listener types what they have heard). I would also like for the user to choose to replay the .wav file if they wish to do so. The way I have set up the program is basically as follows: Instructions Stimulus List Procedure Text display- Get ready to listen Sound Test display- Type what you heard- input from keyboard; terminates on {ENTER} Goodbye I would prefer to have a box that the listener clicks on if they wish to repeat the stimulus, but am open to suggestions. Thank you in advance for any assistance! Regards, Adam Jacks -------------- next part -------------- An HTML attachment was scrubbed... URL: From satrevik at gmail.com Thu Jun 22 09:48:22 2006 From: satrevik at gmail.com (=?ISO-8859-1?Q?Bj=F8rn_S=E6trevik?=) Date: Thu, 22 Jun 2006 11:48:22 +0200 Subject: replay auditory stimulus In-Reply-To: <2bc5f5f60606211331q3659ebeetac71203bbbd0a1d6@mail.gmail.com> Message-ID: Hi Adam, I think the easiest way to do this is to add to your procedure a label (flag), an additional text display asking if they would like to repeat the sound, and an inline object with a single line of code. Your new procedure and code should look something like this: Instructions Stimulus List Procedure Text display- Get ready to listen *RepeatLabel* Sound *RepeatQuestion* - (text display) "Would you like to repeat the sound? Y/N" * * *Repeatcode* - If c.GetAttrib ("RepeatQuestion.RESP ") = "Y" then goto RepeatLabel Test display- Type what you heard- input from keyboard; terminates on {ENTER} Goodbye If you name your objects differently, you will need to change the code. If you want to do it with mouse clicks it gets a little bit more complicated. I hope this helps, Bjørn Sætrevik On 6/21/06, Adam Jacks wrote: > > Hi there, > > I am new to e-prime, although I have some experience with basic > programming of experimental design systems. > > I have set up a simple program that presents a series of .wav files and > receives typed listener responses ( i.e. the listener types what they have > heard). I would also like for the user to choose to replay the .wav file if > they wish to do so. The way I have set up the program is basically as > follows: > > Instructions > Stimulus List > Procedure > Text display- Get ready to listen > Sound > Test display- Type what you heard- input from keyboard; terminates > on {ENTER} > Goodbye > > I would prefer to have a box that the listener clicks on if they wish to > repeat the stimulus, but am open to suggestions. Thank you in advance for > any assistance! > > Regards, > > > Adam Jacks > > -- Bjørn Sætrevik St. Hansstredet 22 5011 Bergen +47 99316588 -------------- next part -------------- An HTML attachment was scrubbed... URL: From rfbuzan0 at mailbox.sc.edu Thu Jun 22 13:59:23 2006 From: rfbuzan0 at mailbox.sc.edu (Robert F. Buzan) Date: Thu, 22 Jun 2006 09:59:23 -0400 Subject: Feedback to Netstation Message-ID: Anyone out there know how to send something to Netstation that indicates whether they received "correct" or "incorrect" feedback? I need to segment on the feedback based on whether they answered right or wrong, and I'm stumped. **Extra Credit: There are two ways to answer incorrectly: 1) answer incorrectly, and 2) answer too late. Any chance to be able to segment the feedback based on this difference? Thanks for thinking about my problem and for any responses. Robb From dhair at wfubmc.edu Thu Jun 22 14:25:16 2006 From: dhair at wfubmc.edu (David Hairston) Date: Thu, 22 Jun 2006 10:25:16 -0400 Subject: Feedback to Netstation Message-ID: Oooh oooh, I know the extra credit! Look at the RT values. If they did not answer in time, RT will be 0. If they were incorrect, it will be anything > 0. Re: NetStation - I don't know what that is. But if you can use parallel port communication/ DAC etc, use a quick Inlien script to evaluate Response.Acc and Response.RT, and send a value based on this AKA something like If Response.Acc = 1 then WritePort h378, 1 EsleIf Response.Acc = 0 WritePort h367, 0 EndIf Just an idea (syntax/code may be wrong) -----Original Message----- From: eprime at mail.talkbank.org [mailto:eprime at mail.talkbank.org] On Behalf Of Robert F. Buzan Sent: Thursday, June 22, 2006 9:59 AM To: EPRIME at mail.talkbank.org Subject: Feedback to Netstation Anyone out there know how to send something to Netstation that indicates whether they received "correct" or "incorrect" feedback? I need to segment on the feedback based on whether they answered right or wrong, and I'm stumped. **Extra Credit: There are two ways to answer incorrectly: 1) answer incorrectly, and 2) answer too late. Any chance to be able to segment the feedback based on this difference? Thanks for thinking about my problem and for any responses. Robb From wendy_davidson79 at hotmail.com Thu Jun 22 15:58:24 2006 From: wendy_davidson79 at hotmail.com (Wendy Davidson) Date: Thu, 22 Jun 2006 16:58:24 +0100 Subject: Script too large Message-ID: Hi I was wondering if someone could help me. Ive designed an experiment that EStudio won't compile into script as it says its too large. Has anyone come across this before and if so how can I get around it? Thanks in advance Wendy Davidson From akiko at nyu.edu Thu Jun 22 16:32:08 2006 From: akiko at nyu.edu (Akiko Ikkai) Date: Thu, 22 Jun 2006 12:32:08 -0400 Subject: Script too large In-Reply-To: Message-ID: Wendy, Did you make sure you don't have too many objects in the "unreferenced objects"? If you clean up this part, the problem is more likely to go away. It was the case for me when I get that error message. Good luck! Akiko Ikkai ----- Original Message ----- From: Wendy Davidson Date: Thursday, June 22, 2006 11:58 am Subject: Script too large > Hi > I was wondering if someone could help me. Ive designed an > experiment that > EStudio won't compile into script as it says its too large. Has > anyone come > across this before and if so how can I get around it? > > Thanks in advance > Wendy Davidson > > > > From leisha at decisionresearch.org Thu Jun 22 17:50:16 2006 From: leisha at decisionresearch.org (Leisha Wharfield) Date: Thu, 22 Jun 2006 10:50:16 -0700 Subject: Script too large In-Reply-To: Message-ID: I've also busted longer experiments up into smaller scripts that have to be launched separately, and spent time looking for ways to create more economical scripts, by using the same procedures over & over with different lists, for example. Leisha Wharfield Decision Research Eugene, Oregon, USA Akiko Ikkai wrote: >Wendy, > >Did you make sure you don't have too many objects in the "unreferenced >objects"? If you clean up this part, the problem is more likely to go >away. It was the case for me when I get that error message. > >Good luck! >Akiko Ikkai > >----- Original Message ----- >From: Wendy Davidson >Date: Thursday, June 22, 2006 11:58 am >Subject: Script too large > > > >>Hi >>I was wondering if someone could help me. Ive designed an >>experiment that >>EStudio won't compile into script as it says its too large. Has >>anyone come >>across this before and if so how can I get around it? >> >>Thanks in advance >>Wendy Davidson >> >> >> >> >> >> > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From Anna_Abramson at brown.edu Thu Jun 22 18:35:49 2006 From: Anna_Abramson at brown.edu (Abramson, Anna) Date: Thu, 22 Jun 2006 14:35:49 -0400 Subject: Please help a new user Message-ID: Hi everyone, I am very glad that this discussion list exists because I am a research assistant trying very hard to learn as much as possible and get some e-prime experiments underway! I greatly appreciate any help. My question is this: How can I devise a way for the subject to use the mouse to click a number on the screen--for instance, ideally there would be a vertical display bar going from 1 "not at all" to 5 "very much" (some sort of Likert scale). The subject would use the mouse to click their choice and that click would be saved for the experimenters to look at later. Or: another option is to enable the mouse to scroll up or down and have higher or lower numbers appear on the screen accordingly. In other words, they would scroll up to get to higher numbers, down for lower numbers, and when they settled on their choice it would be saved. Or if you know of a method that would essentially achieve the same results Id be interested! Even if you just know a piece of how to do this, maybe I can piece it together. I'm a new user so explicit instructions appreciated...! Thank you so much --t's great that researchers can help each other out like this Anna Abramson Research assisant, UC-Berkeley Psychology and Neuroscience Brown University, Psychology From anthony.zuccolotto at pstnet.com Thu Jun 22 20:44:24 2006 From: anthony.zuccolotto at pstnet.com (Tony Zuccolotto) Date: Thu, 22 Jun 2006 16:44:24 -0400 Subject: Feedback to Netstation In-Reply-To: <1150984763.449aa23b93182@webmail.sc.edu> Message-ID: Robert, I think I'd run this question by EGI support as the good folks there have likely run into this scenario/need before. Assuming you are using the E-Prime Extensions for Net Station package I expect that this process will involve either sending an additional NetStation_SendTrialEvent at the end of the trial or possibly by adding an additional keylist to the NetStation_SendTRSPEvent (e.g. there is a documented optional parameter available on this command to permit that to happen). In theory, NetStation_SendTRSPEvent would already contain the information you need to do the segmentation (i.e. it already sends/encodes dependent data on subject responses), but I'm not sure either how where that data shows up or is accessible by the Net Station segmentation tools. Regardless, I am confident that the basic tools are available between E-Prime and Net Station to get what you want without too much effort. Hope that helps a bit, Tony Anthony P. Zuccolotto President and Chief Executive Officer 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: eprime at mail.talkbank.org [mailto:eprime at mail.talkbank.org] On Behalf > Of Robert F. Buzan > Sent: Thursday, June 22, 2006 9:59 AM > To: EPRIME at mail.talkbank.org > Subject: Feedback to Netstation > > Anyone out there know how to send something to Netstation that indicates > whether > they received "correct" or "incorrect" feedback? I need to segment on the > feedback based on whether they answered right or wrong, and I'm stumped. > > **Extra Credit: There are two ways to answer incorrectly: 1) answer > incorrectly, and 2) answer too late. Any chance to be able to segment the > feedback based on this difference? > > Thanks for thinking about my problem and for any responses. > > Robb From pquain at une.edu.au Thu Jun 22 23:10:58 2006 From: pquain at une.edu.au (Peter Quain) Date: Fri, 23 Jun 2006 09:10:58 +1000 Subject: NuAmps drops samples Message-ID: Anyone out there using E-Prime with NuAmps? We've discovered that our NuAmps seems to be randomly dropping samples in what looks predominantly to be 11-12ms chunks, with another distribution around 36ms. The diagnostic paradigm (in E-Prime) runs trials and sends TTL pulse every 3600ms. Over 20 runs, of varying length (40, 130, or 310 trials) totalling 3000+ trials, 4.1% exhibited sample drop > 9ms between successive pulses. This also happens, same basic pattern, using different computers to control the acquisition so unlikely to be PC related on the NuAmps side. The stimulus presentation computer appears to behave perfectly. Has anyone else identified a similar issue, or might it just be our unit / system?? No word back yet from Neuroscan on what the problem might be. Peter Peter Quain School of Psychology University of New England Armidale, Australia, 2351 Phone: 02 6773 5193 Fax: 02 6773 3820 From pquain at une.edu.au Fri Jun 23 02:03:45 2006 From: pquain at une.edu.au (Peter Quain) Date: Fri, 23 Jun 2006 12:03:45 +1000 Subject: NuAmps drops samples Message-ID: good diagnostics (I think...). Only place it can be is a) Nuamps or b) faulty USB drivers (fromScan) causing sample loss at the acquisition computer. We'd like some timing data from a few other systems (any Neuroscan amps, not just NuAmps) to check against our own. So if anybody is interested get in touch and I'll send along a test paradigm. Takes 20 mins to loop through 310 trials. Do a couple of runs, then send along the output files (*.edat from e-prime, *.ev2 from *.cnt) and I'll send back some diagnostic output. At 11:39 AM 23/06/2006, you wrote: >How do you know that it isn't the eprime/stimulus computer that is >the problem? Or, put another way, how are you certain that the >samples are dropped? We've certainly observed missed triggers >before, but usually it is because the trigger duration was too short >relative to the sampling rate. > >-----Original Message----- > >From: "Peter Quain" >Subj: NuAmps drops samples >Date: Thu Jun 22, 2006 5:13 pm >Size: 958 bytes >To: "eprime at mail.talkbank.org" >cc: "pquain at une.edu.au" > > > >Anyone out there using E-Prime with NuAmps? > >We've discovered that our NuAmps seems to be randomly dropping >samples in what looks predominantly to be 11-12ms chunks, with >another distribution around 36ms. The diagnostic paradigm (in >E-Prime) runs trials and sends TTL pulse every 3600ms. Over 20 runs, >of varying length (40, 130, or 310 trials) totalling 3000+ trials, >4.1% exhibited sample drop > 9ms between successive pulses. This also >happens, same basic pattern, using different computers to control the >acquisition so unlikely to be PC related on the NuAmps side. The >stimulus presentation computer appears to behave perfectly. > >Has anyone else identified a similar issue, or might it just be our >unit / system?? No word back yet from Neuroscan on what the problem might be. > >Peter > > >Peter Quain >School of Psychology >University of New England >Armidale, Australia, 2351 >Phone: 02 6773 5193 >Fax: 02 6773 3820 Peter Quain School of Psychology University of New England Armidale, Australia, 2351 Phone: 02 6773 5193 Fax: 02 6773 3820 From ferreira at psy2.ucsd.edu Fri Jun 23 16:04:29 2006 From: ferreira at psy2.ucsd.edu (Victor Ferreira) Date: Fri, 23 Jun 2006 09:04:29 -0700 Subject: Behavioral software survey results Message-ID: Hi PsyScope-ers and E-Prime-ers, Brian MacWhinney asked me to post this to this list. For those who aren't on the CUNY Conference mailing list, I solicited survey participation from the membership of the CUNY Conference mailing list concerning their usage and plans for the use of behavioral experiment software. I specifically avoided soliciting participation from the software's mailing list recipients, so as to not overly skew the representation of different packages in the responses. I hope you find the included information useful. Best wishes, Vic Victor Ferreira, Associate Professor Department of Psychology 0109 University of California, San Diego La Jolla, CA 92093-0109 http://lpl.ucsd.edu/ * Hi everyone, The results of the software survey are in. We had 187 responses, but one was unanalyzable (the respondent did not specify a software package). Thanks everyone for your responses; I hope these results prove useful. Here's a one-paragraph summary of the survey results; details below: E-Prime is the most popular package of those surveyed, but the majority of folks are using either E-Prime, DMDX, or some flavor of PsyScope. E-Prime, PsyScope, SuperLab, and ERTS are all rated as easy to build experiments with, and about equally so. DMDX and NESU are seen as slightly harder. Presentation and MatLab are notably the hardest of the commonly used packages. SuperLab was seen as easiest for novices. E-Prime and PsyScope were rated a shade harder for novices, and then from ERTS to SuperLab Pro to DMDX to NESU, novice- ease ratings dropped. Presentation and MatLab were both seen as notably difficult for novices. DMDX nets the highest satisfaction rating, with PsyScope X and E-Prime a smidge lower. MatLab, SuperLab, and Presentation rank below that, ending with NESU, PsyScope classic, and SuperLab Pro. PsyScope X has the highest "sticking with" rate, and E-Prime, SuperLab, MatLab, and DMDX all have 50%+ "sticking with" ratings. People are running away from PsyScope classic, probably because the classic Mac OS is very quickly approaching end-of-life. E-Prime, both flavors of PsyScope, and DMDX are highly recommended. MatLab is also well recommended. Then it drops noticeably to Presentation, SuperLab, ERTS, and finally SuperLab Pro and NESU. A summary of two open-ended questions is also included below. * Details: Of the 186 valid responses, the most commonly used software package ended up being E-Prime (57 responses, 30.6%). Here's the ranking of software packages, listing number of respondents and percentage for each: 1. E-Prime: 57, 30.6% 2. DMDX: 32, 17.2% 3. PsyScope Classic: 18, 9.7% 4. Presentation: 12, 6.5% 5. PsyScope X: 11, 5.9% 6. NESU: 8, 4.3% 7. ERTS: 6, 3.2% 8. SuperLab: 5, 2.7% 9. MatLab: 5, 2.7% 10. SuperLab Pro: 4, 2.2% 11. Linger: 4, 2.2% 12. MEL: 3, 1.6% 13. Experiment Builder: 3, 1.6% 14. EyeTrack: 2, 1.1% The following packages had 1 response each: Authorware, C programming, Delphi Borland, DirectRT, ExBuilder, Habit, Inquisit, MacroMedia Director, PHPsurveyor, PCexpt, RSVP, WWStim, WebExp, iMovie, tscope, vision analyzer/recorder. Bob Slevc worked to dig up links for many of these software packages. I'll put the links below the signature line. Note that PsyScope classic and PsyScope X could be combined to have a total response count of 29 or 15.6%, which would keep it in third place behind E-Prime and DMDX. SuperLab and SuperLab Pro (which I assume are distinct) could similarly be combined for 9 responses (4.8%), which would put it right behind Presentation. * We asked, "How easy/hard is it for you to build an experiment with your software?" with a 7-point response scale (1 = "very easy" and 7 = "very hard"). Overall, the mean difficulty rating was 3.09 with a standard deviation of 1.43, and a median of 3. Here are the mean and median build-difficulty ratings for the packages that received at least five responses (combining the above noted PsyScope and SuperLab): ERTS (6): 2.5, 2 E-Prime (57): 2.68, 2 PsyScope (29): 2.86, 3 SuperLab (9): 3.0, 3 NESU (8): 3.25, 3 DMDX (32): 3.38, 3.5 MatLab (5): 4.2, 4 Presentation (12): 4.54, 5 * We also asked, "How easy/hard is it for a novice to learn how to build experiments with your software?" The mean difficulty rating was 4.12 with a standard deviation of 1.63, and a median of 4. Here are the mean and median build-difficulty ratings for the primarily used packages (for this analysis, PsyScope classic and PsyScope X were combined, because their response profiles were similar; SuperLab and SuperLab pro were different, so are reported separately): SuperLab (5): 2.6, 3 PsyScope (29): 3.5, 3.5 E-Prime (57): 3.54, 3 ERTS (6): 4.17, 4.5 SuperLab Pro (4): 4.25, 4.5 DMDX (32): 4.88, 5 NESU (8): 5, 5.5 Presentation (12): 5.64, 6 MatLab (5): 6, 6 * We then asked, "How satisfied are you with your current software?" with "1" meaning "Completely dissatisfied" and "7" meaning "Completely Satisfied." The mean satisfaction rating was 4.59 with a standard deviation of 1.43, and a median of 5. Here are the ratings by package: DMDX (32): 5.09, 5 PsyScope X (11): 4.91, 5 E-Prime (57): 4.77, 5 MatLab (5): 4.4, 4 SuperLab (5): 4.2, 4 Presentation (12): 4.09, 4 NESU (8): 3.88, 4 PsyScope classic (18): 3.82, 4 SuperLab Pro (4): 3, 3 * Two more quantitative questions. First, we asked "Are you sticking with your current software for the foreseeable future, or are you looking to change setups?" 25 respondents responded with "Don't Know," 103 with "Sticking with my current software for the foreseeable future," and 44 with "looking to change." Here's the breakdown by package, reporting percentages of those sticking with their package and those looking to change (sorted by sticking percentage): PsyScope X (10): 90%, 10% E-Prime (52): 71.1%, 9.6% SuperLab (5): 60%, 40% MatLab (5): 60%, 40% DMDX (30): 53%, 20% Presentation (11): 45.4%, 36.4% ERTS (5): 40.0%, 60% PsyScope classic (16): 37.5%, 62.5% NESU (8): 12.5%, 62.5% SuperLab Pro (4): 0%, 50% * Finally, we asked "Would you recommend your current software?" 138 people said "yes" and 32 said "no." Here's the breakdown of percent "yes" responses by package: E-Prime (50): 92% PsyScope X (10): 90% PsyScope classic (16): 87.5% DMDX (30): 86.7% MatLab (5): 80% Presentation (12): 63.6% SuperLab (5): 60% ERTS (5): 60% SuperLab Pro (4): 50% NESU (8): 50% * We also asked two complementary open-ended questions that aren't easy to summarize. One was, "What do you like about your current software? What are its strengths? What does it do well?" and the other was, "What do you not like about your current software? What are its weaknesses? What does it not do well (or at all)?" Considering the big hitters (E-Prime, DMDX, and PsyScope), my general impression of the flavor of the comments were: E-Prime: Easy to learn, good support, user friendly, etc. But, some consider it expensive, thought it inflexible, and are worried about precision of timing. DMDX: It's free, powerful, good timing, good user-support group, and good author support. Weaknesses were mostly regarding lack of intuitiveness and steep learning curve. PsyScope: It's free, user-friendly, timing is accurate. But it can be buggy. PsyScope classic users are worried about using a legacy system. PsyScope X users worry about the transition to Intel-based Macs, but with some optimism. * The Excel file with everyone's responses is available on this page (sorry for the ugly link): http://lpl.ucsd.edu/LabPage/Lab_Blog/B1A6A7D2-0069-41E3-89E9- B3683FEEC758.html Again, thanks for participating. We were thrilled to see that we actually had 187 people respond! Best wishes, Vic Ferreira Jeremy Boyd Jeff Elman Robert Buffington Bob Slevc Center for Research in Language University of California, San Diego * DMDX: http://www.u.arizona.edu/~kforster/dmdx/dmdx.htm E-Prime: http://www.pstnet.com/products/e-prime/ ERTS: http://www.erts.de/ Experiment Builder: http://www.eyelinkinfo.com/optns_eb.php Linger: http://tedlab.mit.edu/~dr/Linger/ MatLab: http://www.mathworks.com/ MEL: (Note that MEL is the predecessor to E-Prime) NESU: http://www.mpi.nl/world/tg/experiments/nesu.html Presentation: http://www.neuro-bs.com/ PsyScope Classic: http://psyscope.psy.cmu.edu/ PsyScope X: http://psy.ck.sissa.it/ SuperLab: http://www.superlab.com/ SuperLab Pro: http://www.superlab.com/ From yxu at CNBC.CMU.EDU Tue Jun 20 15:03:27 2006 From: yxu at CNBC.CMU.EDU (Yisheng Xu) Date: Tue, 20 Jun 2006 11:03:27 -0400 Subject: synchronized trigger and stim presentation Message-ID: Attached a program for testing the auditory and visual stimulus delay using MEG. We tested the delays on an Electa Neuromag VectorView system. The trigger signal was sent from a computer parallel port (address &H378) to the MEG trigger box with a customized DB37-DB25 adaptor cable. The auditory signal (a 100 ms 400 Hz pure tone) was sent from the computer sound card to the MEG system and measured by a microphone connected to an ER-5A ear insert. The visual signal was projected by a Panasonic PT-D7700U DLP projector to a translucent screen. The projector was connected to the computer VGA port. The refresh rate of the graphic card (Intel 910GL) was set to 60 Hz. A photodiode was fixed with a sucking disk to the center of the screen to measured the luminance of a repeated 100-ms flash sginal presented by the program. Both the microphone and the photodiode (with internal preamplifiers) were connected to the miscellaneous channels of MEG. In this way, we can accurately measure the auditory and visual delays relative to the trigger signal in an accuracy of 0.1 millisecond. E-Prime FAQ recommends to use StimDisplay.OnsetSignalData to synchronize the trigger with the stimuli. Ideally, we may use a slide object to send auditory and visual stimuli together with the parallel trigger. The major problem of this method is the visual stimuli is not displayed at the actual onset of the slide object although E-Prime has a function to synchronize the image with the vertical blank of display. In this simple setup, the measured audiotory delay is 3-4 ms depending on the sound card; The measured visual delay is 20-30 ms depending on the graphic card and refresh rate. Using our hardware setup, for an unknown reason (maybe due to the native refresh rate of the DLP projector), refresh rates other than 60 Hz (e.g., 75 Hz, 85 Hz) will generate an inter-trial jitter of the visual delay, i.e., the delay of the visual signal varies among trials. As a result, the averaged luminance function will show a sloped onset and offset and the refresh cycles will be smeared. For the timing requirment of EEG/MEG, a fixed delay is necessary. At a 60 Hz refresh rate, the onset and offset of the measured luminance function are very sharp. The refresh cycles can also be clearly identified. On some slow computers, interrun timing variations were also observed besides the intertrial variation, i.e., we may observe different averaged delays in different runs even though no intertrial variation at 60 Hz. Because we're doing some multisensory integration study, the sychronization between auditory, visual and trigger signals is critical. The attached program using the DisplayDevice.WaitForVerticalBlank method and Sleep statement to adjust the timing delay. We achieved a measured auditory delay of -0.1 ms and a measured visual delay of 0.5 ms. The reason that the values are not exactly zeros is because the operating system (DirecX) only allow for integral millisecond increments (for the Sleep statement). The interrun variation is less than 0.1 ms. -------------- next part -------------- A non-text attachment was scrubbed... Name: C:\Documents and Settings\All Users\Documents\Shared Experiments\Trigger Tests\trigger2stim_delay.es Type: application/octet-stream Size: 21783 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: C:\Documents and Settings\All Users\Documents\Shared Experiments\Trigger Tests\400Hz_100ms_testtone.wav Type: audio/wav Size: 17684 bytes Desc: not available URL: From cmparks at ucdavis.edu Wed Jun 28 18:01:45 2006 From: cmparks at ucdavis.edu (Colleen Parks) Date: Wed, 28 Jun 2006 11:01:45 -0700 Subject: find minimum Message-ID: Hi, I've got an array to which I've assigned a list of random numbers (e.g., Array(0) = random(0,100)). I need to find which element/array position has the lowest value without sorting the array (position in the array is important for another variable later on). I've spent a good amount of time searching to figure out what the code is to find the minimum value of a list of variables, but haven't found anything yet. There is no obvious documentation of a general "find min" and "find max" function outside of the summation object. (Note that a summation object won't help because it will return the minimum of a set of values, but will not, as far as I can tell, indicate which variable (or observation) the minimum value is linked to). There's got to be a find min/max ability in there somewhere! Can anyone point me in the right direction? Thanks! Colleen --------------------------------------- Colleen Parks, Ph.D. Psychology Department University of California One Shields Ave. Davis, CA 95616 cmparks at ucdavis.edu 530.754.9439 -------------- next part -------------- An HTML attachment was scrubbed... URL: From Fredrik.Ullen at ki.se Wed Jun 28 18:18:12 2006 From: Fredrik.Ullen at ki.se (Fredrik =?iso-8859-1?Q?Ull=E9n?=) Date: Wed, 28 Jun 2006 20:18:12 +0200 Subject: find minimum In-Reply-To: <006601c69adc$eb7d0700$a35aeda9@Kylab1A> Message-ID: Hi Colleen, Why not just write a brief Inline script to loop through the array and find the smallest value? How many values do you have? Best Fredrik At 20:01 2006-06-28, Colleen Parks wrote: >Hi, > >I've got an array to which I've assigned a list of random numbers (e.g., >Array(0) = random(0,100)). I need to find which element/array position >has the lowest value without sorting the array (position in the array is >important for another variable later on). I've spent a good amount of >time searching to figure out what the code is to find the minimum value of >a list of variables, but haven't found anything yet. There is no obvious >documentation of a general "find min" and "find max" function outside of >the summation object. (Note that a summation object won't help because it >will return the minimum of a set of values, but will not, as far as I can >tell, indicate which variable (or observation) the minimum value is linked >to). There's got to be a find min/max ability in there somewhere! Can >anyone point me in the right direction? > >Thanks! >Colleen > > >--------------------------------------- >Colleen Parks, Ph.D. >Psychology Department >University of California >One Shields Ave. >Davis, CA 95616 > >cmparks at ucdavis.edu >530.754.9439 Fredrik Ullén Associate Professor Stockholm Brain Institute Dept Woman and Child Health Neuropediatric Research Unit (ALB, Q2:07) Karolinska Institutet SE-171 76 Stockholm Sweden personal web page www.fredrikullen.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From leisha at decisionresearch.org Wed Jun 28 18:14:58 2006 From: leisha at decisionresearch.org (Leisha Wharfield) Date: Wed, 28 Jun 2006 11:14:58 -0700 Subject: find minimum In-Reply-To: <006601c69adc$eb7d0700$a35aeda9@Kylab1A> Message-ID: If there is no such command as "find min," or "find max," can you copy the array, add a nonnumeric tag that indicates position (abcd), then sort the array numerically & use the nonnumeric tag to indicate the lowest number's position in the original array? Leisha Wharfield Decision Research Eugene, Oregon, USA leisha at decisionresearch.org Colleen Parks wrote: > Hi, > > I've got an array to which I've assigned a list of random numbers > (e.g., Array(0) = random(0,100)). I need to find which element/array > position has the lowest value without sorting the array (position in > the array is important for another variable later on). I've spent a > good amount of time searching to figure out what the code is to find > the minimum value of a list of variables, but haven't found anything > yet. There is no obvious documentation of a general "find min" and > "find max" function outside of the summation object. (Note that a > summation object won't help because it will return the minimum of a > set of values, but will not, as far as I can tell, indicate which > variable (or observation) the minimum value is linked to). There's > got to be a find min/max ability in there somewhere! Can anyone point > me in the right direction? > > Thanks! > Colleen > > > --------------------------------------- > Colleen Parks, Ph.D. > Psychology Department > University of California > One Shields Ave. > Davis, CA 95616 > > cmparks at ucdavis.edu > 530.754.9439 -------------- next part -------------- An HTML attachment was scrubbed... URL: From cmparks at ucdavis.edu Wed Jun 28 18:37:14 2006 From: cmparks at ucdavis.edu (Colleen Parks) Date: Wed, 28 Jun 2006 11:37:14 -0700 Subject: find minimum Message-ID: Only 4--so I could definitely do that. It just seems like there should be a more efficient way--something akin to excel's MIN() and MAX () functions. ----- Original Message ----- From: Fredrik Ullén To: eprime at mail.talkbank.org Sent: Wednesday, June 28, 2006 11:18 AM Subject: Re: find minimum Hi Colleen, Why not just write a brief Inline script to loop through the array and find the smallest value? How many values do you have? Best Fredrik At 20:01 2006-06-28, Colleen Parks wrote: Hi, I've got an array to which I've assigned a list of random numbers (e.g., Array(0) = random(0,100)). I need to find which element/array position has the lowest value without sorting the array (position in the array is important for another variable later on). I've spent a good amount of time searching to figure out what the code is to find the minimum value of a list of variables, but haven't found anything yet. There is no obvious documentation of a general "find min" and "find max" function outside of the summation object. (Note that a summation object won't help because it will return the minimum of a set of values, but will not, as far as I can tell, indicate which variable (or observation) the minimum value is linked to). There's got to be a find min/max ability in there somewhere! Can anyone point me in the right direction? Thanks! Colleen --------------------------------------- Colleen Parks, Ph.D. Psychology Department University of California One Shields Ave. Davis, CA 95616 cmparks at ucdavis.edu 530.754.9439 Fredrik Ullén Associate Professor Stockholm Brain Institute Dept Woman and Child Health Neuropediatric Research Unit (ALB, Q2:07) Karolinska Institutet SE-171 76 Stockholm Sweden personal web page www.fredrikullen.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From pauls_postbus at hotmail.com Wed Jun 28 19:54:30 2006 From: pauls_postbus at hotmail.com (Paul Gr) Date: Wed, 28 Jun 2006 21:54:30 +0200 Subject: find minimum In-Reply-To: <008401c69ae1$e027ed70$a35aeda9@Kylab1A> Message-ID: hello colleen, It is not very difficult to create those functions and add them to the user script section. The only drawback is that you will have to create separate functions for each data type you use as base type for the array's. For unspecified data types (variants) you could use the following function: function FindMinIndex( a() ) as integer dim i as integer dim iMinIndex as integer dim vMinValue iMinIndex = LBound(a) vMinValue = a(iMinIndex) for i = LBound(a)+1 to UBound(a) if a(i) At 20:01 2006-06-28, Colleen Parks wrote: > > Hi, > > I've got an array to which I've assigned a list of random numbers >(e.g., Array(0) = random(0,100)). I need to find which element/array >position has the lowest value without sorting the array (position in the >array is important for another variable later on). I've spent a good >amount of time searching to figure out what the code is to find the minimum >value of a list of variables, but haven't found anything yet. There is no >obvious documentation of a general "find min" and "find max" function >outside of the summation object. (Note that a summation object won't help >because it will return the minimum of a set of values, but will not, as far >as I can tell, indicate which variable (or observation) the minimum value >is linked to). There's got to be a find min/max ability in there >somewhere! Can anyone point me in the right direction? > > Thanks! > Colleen > > > --------------------------------------- > Colleen Parks, Ph.D. > Psychology Department > University of California > One Shields Ave. > Davis, CA 95616 > > cmparks at ucdavis.edu > 530.754.9439 > Fredrik Ullén > Associate Professor > Stockholm Brain Institute > Dept Woman and Child Health > Neuropediatric Research Unit (ALB, Q2:07) > Karolinska Institutet > SE-171 76 Stockholm > Sweden > personal web page www.fredrikullen.com > From Anna_Abramson at brown.edu Thu Jun 29 22:28:29 2006 From: Anna_Abramson at brown.edu (Abramson, Anna) Date: Thu, 29 Jun 2006 18:28:29 -0400 Subject: Clicks on a visual analog scale Message-ID: Hello, A couple of quick questions that maybe someone can offer some help on.. 1. Does anyone know how to modify the visual analog mouse click setup so that a subject can click and unclick until he settles on one final choice?? 2. Is there a way to have a selected box on a visual analog scale change so the subject can see his/her choice---ie, box is highlighted, Xed, changes color? I know how to do this on the Grid, but I cant seem to apply it to the visual mouse click. 3. Is it possible to have multiple rows where the subject must choose one box per row--so the program allows multiple clicks, one per row? THANK YOU. From leisha at decisionresearch.org Thu Jun 29 23:16:26 2006 From: leisha at decisionresearch.org (Leisha Wharfield) Date: Thu, 29 Jun 2006 16:16:26 -0700 Subject: Clicks on a visual analog scale In-Reply-To: <471F15E271937A4DA89AC12211DDAD9804AFFFAD@MAIL2.AD.Brown.Edu> Message-ID: Dear Anna, I'm not familiar with a visual analog scale that has boxes on it. But you can make them change color. I did it by throwing a different graphic up on a slide after determining whether the mouse click had touched an object on the screen. The subject could change his or her mind over & over. The slide ended with a space bar, so that once a subject clicks on an object, their selection is a different color and the screen also reads something like "Press the space bar to continue." You could also use just the mouse by providing a clickable "Submit" button or something similar. You could have multiple rows, too, I'm sure, & throw up an error screen if the subject tries to advance without providing a click for each row. You could have code in an inline object after the slide that would determine whether an object had been clicked in all three rows before the space bar was used. If not, the subject gets a prompt like "Please click on your choice in row 2," or something like that. If you want to get fancy about it, you could highlight that row. Leisha Wharfield Decision Research Eugene, Oregon, USA leisha at decisionresearch.org Abramson, Anna wrote: >Hello, >A couple of quick questions that maybe someone can offer some help on.. >1. Does anyone know how to modify the visual analog mouse click setup so that a subject can click and unclick until he settles on one final choice?? > >2. Is there a way to have a selected box on a visual analog scale change so the subject can see his/her choice---ie, box is highlighted, Xed, changes color? I know how to do this on the Grid, but I cant seem to apply it to the visual mouse click. > >3. Is it possible to have multiple rows where the subject must choose one box per row--so the program allows multiple clicks, one per row? > >THANK YOU. > > > > > From pauls_postbus at hotmail.com Fri Jun 30 15:55:59 2006 From: pauls_postbus at hotmail.com (Paul Gr) Date: Fri, 30 Jun 2006 17:55:59 +0200 Subject: Clicks on a visual analog scale In-Reply-To: <471F15E271937A4DA89AC12211DDAD9804AFFFAD@MAIL2.AD.Brown.Edu> Message-ID: hello, Perhaps the following eprime script is useful for all of you who would like to implement interactive mouse click region in eprime: http://www.psy.vu.nl/download/paul/memory.zip This script implements the well known 'memory' game where one has to select pairs of matching cards from an array of non-facing cards. Note that the inline scripting of this test is not very trivial though! A small readme is provided along with the script. best, Paul Groot Vrije Universiteit van Asmterdam >From: "Abramson, Anna" >To: >Subject: Clicks on a visual analog scale >Date: Thu, 29 Jun 2006 18:28:29 -0400 > > >Hello, >A couple of quick questions that maybe someone can offer some help on.. >1. Does anyone know how to modify the visual analog mouse click setup so >that a subject can click and unclick until he settles on one final choice?? > >2. Is there a way to have a selected box on a visual analog scale change so >the subject can see his/her choice---ie, box is highlighted, Xed, changes >color? I know how to do this on the Grid, but I cant seem to apply it to >the visual mouse click. > >3. Is it possible to have multiple rows where the subject must choose one >box per row--so the program allows multiple clicks, one per row? > >THANK YOU. > > From leisha at decisionresearch.org Fri Jun 30 16:45:07 2006 From: leisha at decisionresearch.org (Leisha Wharfield) Date: Fri, 30 Jun 2006 09:45:07 -0700 Subject: Clicks on a visual analog scale In-Reply-To: Message-ID: Thanks for this resource, Paul. Leisha Paul Gr wrote: > hello, > > Perhaps the following eprime script is useful for all of you who would > like to implement interactive mouse click region in eprime: > http://www.psy.vu.nl/download/paul/memory.zip > This script implements the well known 'memory' game where one has to > select pairs of matching cards from an array of non-facing cards. > Note that the inline scripting of this test is not very trivial though! > A small readme is provided along with the script. > > best, > > Paul Groot > Vrije Universiteit van Asmterdam > > >> From: "Abramson, Anna" >> To: >> Subject: Clicks on a visual analog scale >> Date: Thu, 29 Jun 2006 18:28:29 -0400 >> >> >> Hello, >> A couple of quick questions that maybe someone can offer some help on.. >> 1. Does anyone know how to modify the visual analog mouse click setup >> so that a subject can click and unclick until he settles on one final >> choice?? >> >> 2. Is there a way to have a selected box on a visual analog scale >> change so the subject can see his/her choice---ie, box is >> highlighted, Xed, changes color? I know how to do this on the Grid, >> but I cant seem to apply it to the visual mouse click. >> >> 3. Is it possible to have multiple rows where the subject must choose >> one box per row--so the program allows multiple clicks, one per row? >> >> THANK YOU. >> >> > > > > From wendy_davidson79 at hotmail.com Thu Jun 1 10:09:19 2006 From: wendy_davidson79 at hotmail.com (Wendy Davidson) Date: Thu, 1 Jun 2006 11:09:19 +0100 Subject: 8 channel sound Message-ID: Hi Does anyone know if eprime is capable of omitting sound from 8 different locations? In other words, I want to have sound coming from 8 separate spatial locations (using separate speakers). Is eprime capable of doing this? Thanks Wendy Davidson From brandon_cernicky at yahoo.com Mon Jun 5 16:41:26 2006 From: brandon_cernicky at yahoo.com (Brandon Cernicky) Date: Mon, 5 Jun 2006 09:41:26 -0700 Subject: Data Acquisition Adapters and E-Prime In-Reply-To: <92401.41051@mail.talkbank.org> Message-ID: Greetings, The E-Prime Web Support and other technical support at Psychology Software Tools receives a number of queries about using digital I/O adapters and other data acquisition (DAQ) adapters with E-Prime. Because there are so many adapters available from a number of different manufactures, Psychology Software Tools has only been able to provide limited support in this area. PST has tested a number of parallel port adapters and continues to be the primary choice for low cost, low latency, data acquisition for computers. To assist the E-Prime community, I would like to ask the group for any experiences they have had with DAQ cards outside of using parallel adapters as well as with parallel adapters. Information about NI-DAQ adapters from National Instruments appear to be the most commonly requested devices for information, but am interested in any experiences with adapters from other manufactures. The information that would like to gain from this thread: 1) Are you using any data acquisition adapter using ReadPort, WritePort, OnsetSignal, OffsetSignal? That is, you are using the facilities provided by E-Prime and are not using .dll calls or other Declare statements provider by the manufacture. If so, what is the manufacture/model of the adapter? 2) Any experiences with using National Instruments Lab View with E-Prime. 3) Any experiences using PCI data acquisition adapters? 4) Any experiences using PCMCIA data acquisition adapters? 5) Any experiences using USB data acquisition adapters? 6) Any experiences using any analog data acquisition adapters? 7) Any experiences to share about using parallel port adapters? -Brandon ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Brandon S. Cernicky Senior Software Engineer Psychology Software Tools __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From cam47 at psu.edu Mon Jun 5 16:43:46 2006 From: cam47 at psu.edu (CAROL A MILLER) Date: Mon, 5 Jun 2006 12:43:46 -0400 Subject: No subject Message-ID: I am out of town until June 7 and may not have an opportunity to read or respond to electronic mail. If you are inquiring about our study of language learning in schoolchildren, feel free to contact my research assistant at jct190 at psu.edu . Carol Miller From jankowsk at aecom.yu.edu Mon Jun 12 13:55:29 2006 From: jankowsk at aecom.yu.edu (Jeffery Jankowski) Date: Mon, 12 Jun 2006 09:55:29 -0400 Subject: Keypress Message-ID: I am writing a RT program in which I would like the participant to press a key continuously for 1 sec to initiate a trial. Is there an easy way to do this? Thanks, Jeff Jankowski Albert Einstein Coll. Med. Bronx, NY Dr. Jeffery J. Jankowski Kennedy Center - Room 235 Albert Einstein College of Medicine 1300 Morris Park Avenue Bronx, NY 10461 Ph: (718) 430-2463 From anthony.zuccolotto at pstnet.com Mon Jun 12 15:03:30 2006 From: anthony.zuccolotto at pstnet.com (Tony Zuccolotto) Date: Mon, 12 Jun 2006 11:03:30 -0400 Subject: Keypress Message-ID: Jeff, Is it the case that you want the participant to press a key and hold it down for 1 second before beginning or is it that you want them to tap (press and release) the key continuously for 1 second? -Tony Anthony P. Zuccolotto President and Chief Executive Officer 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: eprime at mail.talkbank.org [mailto:eprime at mail.talkbank.org] On Behalf > Of Jeffery Jankowski > Sent: Monday, June 12, 2006 9:55 AM > To: eprime at mail.talkbank.org > Subject: Keypress > > > I am writing a RT program in which I would like the participant to press a > key continuously for 1 sec to initiate a trial. Is there an easy way to > do > this? > > Thanks, Jeff Jankowski > > Albert Einstein Coll. Med. > Bronx, NY > > Dr. Jeffery J. Jankowski > Kennedy Center - Room 235 > Albert Einstein College of Medicine > 1300 Morris Park Avenue > Bronx, NY 10461 > Ph: (718) 430-2463 > > > > From anthony.zuccolotto at pstnet.com Mon Jun 12 15:30:31 2006 From: anthony.zuccolotto at pstnet.com (Tony Zuccolotto) Date: Mon, 12 Jun 2006 11:30:31 -0400 Subject: Keypress Message-ID: Jeff, OK, shouldn't be too bad. 1. Double click the Experiment object and navigate to the Devices tab. 2. Edit the properties of the Keyboard device and change the Collection Mode from Presses Only to Presses and Releases. 3. Create a TextDisplay object at the start of your trial procedure and use it to tell the subject to press and hold the '1' key. 4. Add a Keyboard input mask to the TextDisplay and set its Allowable property to "1" which will indicate you will allow only a Press of the '1' key. 5. Set the Duration property to "(infinite)" and the End Action to Terminate. 6. Follow this first TextDisplay with a second TextDisplay. 7. On the second TextDisplay set the Duration to 1000, add a Keyboard input mask and set the End Action to Terminate. I'd also use this object to change the instruction text to something like 'Good. Continue holding until the trial begins...' 8. Set the Allowable property to '{-1}' to indicate you only want to accept a Release on the 1 key. 9. After the second TextDisplay insert an Inline that uses and If-statement to check the RT property of the second TextDisplay. If the user was still holding down the key when you got into the Inline then the TextDisplay.RT property should be 0. If they released the key before 1 second elapsed then TextDisplay.RT should be some value 0 < x <= 1000. 10. At this point you know what happened and you can decide what to do next. There are variations on this model you can do in the Inline depending on how closely you need to control what the participant does exactly, but I think this should get you pretty close to what you desire. Hope that helps, Tony > -----Original Message----- > From: Jeffery Jankowski [mailto:jankowsk at aecom.yu.edu] > Sent: Monday, June 12, 2006 11:20 AM > To: Tony Zuccolotto > Subject: RE: Keypress > > Tony, > > Press and hold. > > Jeff > > At 11:03 AM 6/12/2006 -0400, you wrote: > >Jeff, > > > >Is it the case that you want the participant to press a key and hold it > >down for 1 second before beginning or is it that you want them to tap > >(press and release) the key continuously for 1 second? > > > >-Tony > > > >Anthony P. Zuccolotto > >President and Chief Executive Officer > >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: eprime at mail.talkbank.org [mailto:eprime at mail.talkbank.org] On > >Behalf > >> Of Jeffery Jankowski > >> Sent: Monday, June 12, 2006 9:55 AM > >> To: eprime at mail.talkbank.org > >> Subject: Keypress > >> > >> > >> I am writing a RT program in which I would like the participant to > >press a > >> key continuously for 1 sec to initiate a trial. Is there an easy way > >to > >> do > >> this? > >> > >> Thanks, Jeff Jankowski > >> > >> Albert Einstein Coll. Med. > >> Bronx, NY > >> > >> Dr. Jeffery J. Jankowski > >> Kennedy Center - Room 235 > >> Albert Einstein College of Medicine > >> 1300 Morris Park Avenue > >> Bronx, NY 10461 > >> Ph: (718) 430-2463 > >> > >> > >> > >> > > > > > > > > Dr. Jeffery J. Jankowski > Kennedy Center - Room 235 > Albert Einstein College of Medicine > 1300 Morris Park Avenue > Bronx, NY 10461 > Ph: (718) 430-2463 > > > From jennifer.thompson at man.ac.uk Mon Jun 12 16:04:39 2006 From: jennifer.thompson at man.ac.uk (Jennifer Thompson) Date: Mon, 12 Jun 2006 17:04:39 +0100 Subject: Serial port / Serial Response Box problems Message-ID: Dear E-Prime list, I have a laptop that does not have a serial port (like most), but which I would like to use to collect data using E-Prime and a SRB. I purchased a PCMCIA serial port adaptor, which adds two serial ports to the machine. I chose this method as it looked like the timing would be a lot more reliable than a USB serial port add on. However, this set up isn't working with the SRB. Experiments will run, but no responses are detected from the SRB. When the PCMCIA card it attached to the laptop the two COM ports are listed on the laptops settings and they can be configured individually. Has anyone used a similar set up? I'd be very grateful for some guidance on whether this is going to work and how to configure the ports. I can give more detail if necessary. This is the PCMCIA card I bought: http://www.maplin.co.uk/Module.aspx?ModuleNo=47115&criteria=PCI%20SERIAL%20LAPTOP&doy=12m6 Thanks for reading, Jennifer Thompson -------------- next part -------------- An HTML attachment was scrubbed... URL: From wendy_davidson79 at hotmail.com Tue Jun 13 10:18:29 2006 From: wendy_davidson79 at hotmail.com (Wendy Davidson) Date: Tue, 13 Jun 2006 11:18:29 +0100 Subject: multiple (serial) correct answers Message-ID: Hi everyone, I have a query and was hoping someone could help. I have designed an experiment in which the subject sees a stimulus (arrows pointing in different directions in sequence) they then have to use the mouse to click corresponding areas on the screen in the correct serial order as the original presentation. There can be up to 8 possible locations. I have used a slide with 8 areas i.e. "Image1" that they have to click on. The script below works for only 1 location. How can I add more correct responses AND in serial order? Mouse.ShowCursor True Dim theState as SlideState Set theState = Slide1.States ("State1") Dim ptMouse As Point Dim strHit As String Mouse.GetCursorPos ptMouse.x, ptMouse.y strHit = theState.HitTest(ptMouse.x, ptMouse.y) If strHit = "Image1" Then Results.Text = "Correct!" Slide1.ACC = 1 Else Results.Text = "Incorrect." Slide1.ACC = 0 End If From brandon_cernicky at yahoo.com Tue Jun 13 15:21:52 2006 From: brandon_cernicky at yahoo.com (Brandon Cernicky) Date: Tue, 13 Jun 2006 08:21:52 -0700 Subject: Eprime Digest - 06/11/06 In-Reply-To: <97201.31464@mail.talkbank.org> Message-ID: Hi Jennifer, PST does not have any reports that a PCMCIA serial adapter won't work with E-Prime. If you are not having any success with the adapter, I would suggest ensuring that the SerialDevice or SRBOX device settings in the Experiment object are set to the COM port number of the PCMCIA serial port which can be determined through Device Manager in Windows. E-Prime currently only supports COM port 1-4 so if the value is reported is higher (COM5, etc), then this can be changed through Device Manager in Windows also (see the KB listed below for steps on how to do this). ============================================== As far as the concern about timing issues with the use of the USB to Serial Cables, I would suggest anyone interested to view the KB article on the E-Prime Web Support site "1835 - INFO: Use of DB9 Serial to USB connector within E-Prime" for more information. On average, the USB to serial adapters will perform 150 microseconds slower than a standard serial port. Both the standard serial port and USB to DB9 cables have aprx a 0.66 stddev value. There is a table of values in the KB article above. ================================================= Although not related to serial, but I feel the group shoudl note that PST is not aware of ANY USB to Parallel cables that work with E-Prime. This is due to how Microsoft supports these devices with a "USB Printer Driver" and does not support direct hardware communication directly. For those that need parallel access in E-Prime, the use of on-board Parallel is first choice. For desktop machines, any PCI parallel adapter should have no compatability problems. PST has tested parallel adapters from chipset makers SIIG, NetMos, and Sunix. For laptop users that need parallel access, the only known compatible unit is the Quatech SPP-100 PCMCIA adapter. -Brandon ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Brandon S. Cernicky Senior Software Engineer Psychology Software Tools >> Dear E-Prime list, >> >> I have a laptop that does not have a serial port >> (like most), but which I >> would like to use to collect data using E-Prime >> and a SRB. I purchased a >> PCMCIA serial port adaptor, which adds two serial >> ports to the machine. I >> chose this method as it looked like the timing >> would be a lot more reliable >> than a USB serial port add on. However, this set >> up isn't working with the >> SRB. Experiments will run, but no responses are >> detected from the SRB. >> When the PCMCIA card it attached to the laptop the >> two COM ports are listed >> on the laptops settings and they can be configured >> individually. >> Has anyone used a similar set up? I'd be very >> grateful for some guidance on >> whether this is going to work and how to configure >> the ports. I can give >> more detail if necessary. >> This is the PCMCIA card I bought: >> http://www.maplin.co.uk/Module.aspx?>> ModuleNo=47115&criteria=PCI%20SERIAL%20LAPTOP&doy=12m6 >> Thanks for reading, >> >> Jennifer Thompson >> __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From pauls_postbus at hotmail.com Tue Jun 13 15:44:19 2006 From: pauls_postbus at hotmail.com (Paul Gr) Date: Tue, 13 Jun 2006 17:44:19 +0200 Subject: multiple (serial) correct answers In-Reply-To: Message-ID: hi wendy, As a starting point, you can do the following: Just place a list object (for example ClickList) at the point where Slide1 currently is positioned and define a procedure called ClickProc and set this as the default procedure for the list. Then, move Slide1 and the inline script to ClickProc. You can add rows (i.e. level) to the ClickList for each click you would like to handle. If you don't want the ClickProc to create output for each mouse click, you can disable the LogData property of ClickProc. best paul >From: "Wendy Davidson" >To: eprime at mail.talkbank.org >Subject: multiple (serial) correct answers Date: Tue, 13 Jun 2006 11:18:29 >+0100 > >Hi everyone, >I have a query and was hoping someone could help. > >I have designed an experiment in which the subject sees a stimulus (arrows >pointing in different directions in sequence) they then have to use the >mouse to click corresponding areas on the screen in the correct serial >order as the original presentation. There can be up to 8 possible >locations. I have used a slide with 8 areas i.e. "Image1" that they have to >click on. > >The script below works for only 1 location. How can I add more correct >responses AND in serial order? > > >Mouse.ShowCursor True >Dim theState as SlideState >Set theState = Slide1.States ("State1") > >Dim ptMouse As Point >Dim strHit As String > >Mouse.GetCursorPos ptMouse.x, ptMouse.y >strHit = theState.HitTest(ptMouse.x, ptMouse.y) > >If strHit = "Image1" Then > > Results.Text = "Correct!" > Slide1.ACC = 1 >Else > Results.Text = "Incorrect." > Slide1.ACC = 0 >End If > > > From jankowsk at aecom.yu.edu Wed Jun 14 20:40:17 2006 From: jankowsk at aecom.yu.edu (Jeffery Jankowski) Date: Wed, 14 Jun 2006 16:40:17 -0400 Subject: Using .WAV files Message-ID: Greetings to All, I am writing a program for a Stroop task and am interested in measuring reaction time. In order to give feedback, I will present a short high tone (tone duration 250ms) to the subject when he/she is right and a low tone when wrong (tone duration 250ms). Does using a tone as part of a feedback object interfere with timing or the accurate recording of reaction time in any way? Thanks, Jeff Jankowski Dr. Jeffery J. Jankowski Kennedy Center - Room 235 Albert Einstein College of Medicine 1300 Morris Park Avenue Bronx, NY 10461 Ph: (718) 430-2463 From tab2006 at med.cornell.edu Thu Jun 15 14:06:22 2006 From: tab2006 at med.cornell.edu (Tracy Butler) Date: Thu, 15 Jun 2006 10:06:22 -0400 Subject: underline just one word in a sentence presented via text box In-Reply-To: <3.0.6.32.20060614164017.00a6e6a0@mailserver.aecom.yu.edu> Message-ID: Is there a way to underline just one word in a sentence presented via text box? If not, any suggestions about how to line up two text boxes (containing text of variable length) so the sentence ultimately appears centered on the screen? Thanks. Tracy From michael.hout at pstnet.com Thu Jun 15 18:46:17 2006 From: michael.hout at pstnet.com (Michael Hout) Date: Thu, 15 Jun 2006 14:46:17 -0400 Subject: E-Prime sample posted Message-ID: Hello everyone. My name is Michael Hout. I am a technical consultant here at Psychology Software Tools. I am responding to the following post from Wendy Davidson: -- Hi everyone, I have a query and was hoping someone could help. I have designed an experiment in which the subject sees a stimulus (arrows pointing in different directions in sequence) they then have to use the mouse to click corresponding areas on the screen in the correct serial order as the original presentation. There can be up to 8 possible locations. I have used a slide with 8 areas i.e. "Image1" that they have to click on. The script below works for only 1 location. How can I add more correct responses AND in serial order? -- I just want you all to be aware that there is a sample very recently posted on our website that will demonstrate how to accomplish this task. The sample is called: Load Image Upon Response. The main purpose of the sample is to demonstrate how to load an image only once the subject has clicked within a certain area. But the sample also demonstrates how to log the "serial order" of the clicks to certain areas. I hope this helps. If there are any questions, please refer them to E-Prime Web Support. Thanks for your attention. Michael Hout Technical Consultant ~~~~~~~~~~~~~~~~~~~~ Psychology Software Tools, Inc. 2050 Ardmore Boulevard Suite 200 Pittsburgh, Pa 15221-4610 USA ~~~~~~~~~~~~~~~~~~~~ Visit our Web Site for the latest information: http://www.pstnet.com E-mail: info at pstnet.com Voice: (412) 271-5040 Fax: (412) 271-7077 -------------- next part -------------- An HTML attachment was scrubbed... URL: From leisha at decisionresearch.org Thu Jun 15 21:49:45 2006 From: leisha at decisionresearch.org (Leisha Wharfield) Date: Thu, 15 Jun 2006 14:49:45 -0700 Subject: underline just one word in a sentence presented via text box In-Reply-To: Message-ID: Because I can't always control text in Eprime as I would like to, I create bitmaps of text formatted exactly as I want & use slides to display them. Leisha Wharfield Decision Research Eugene, Oregon, USA Tracy Butler wrote: >Is there a way to underline just one word in a sentence presented via text >box? If not, any suggestions about how to line up two text boxes >(containing text of variable length) so the sentence ultimately appears >centered on the screen? Thanks. >Tracy > > > > > From dhair at wfubmc.edu Mon Jun 19 14:53:34 2006 From: dhair at wfubmc.edu (David Hairston) Date: Mon, 19 Jun 2006 10:53:34 -0400 Subject: synchronized trigger and stim presentation Message-ID: I need to send a trigger signal denoting the exact time of stimulus presentation (assuming parallel port is the easiest method). Here is the problem/question - in the event of, say, a visual stimulus, what is the best way to get these as close in sync as possible? I could have an inline code sending the trigger directly prior to an ImageDisplay... but then it wouldn't it at least have the delay associated with waiting for the next screen update (could be up to 9ms if 100hz monitor)?. Or - what about putting the inline right after said presentation - would it actually occur immediately (like w/in a few ms) afterwards? Or - is there a way to do it with a Slide object? Unfortunately, this will be very difficult to test out empirically... W. David Hairston, Ph.D. ANSIR Lab Dept of Radiology Wake Forest University School of Medicine Medical Center Blvd Winston-Salem NC 27157 (336) 716-7160 (Offiice) (446) 716 0798 (Fax) -------------- next part -------------- An HTML attachment was scrubbed... URL: From leisha at decisionresearch.org Mon Jun 19 15:50:36 2006 From: leisha at decisionresearch.org (Leisha Wharfield) Date: Mon, 19 Jun 2006 08:50:36 -0700 Subject: synchronized trigger and stim presentation In-Reply-To: <4CCFAF32FB7B2C449A189C82198E4265012624E5@EXCHVS1.medctr.ad.wfubmc.edu> Message-ID: Doesn't standard data logging give you the precise timing of stimulus presentation already, with its many time measurements? You can use PreRelease to minimize OnsetDelay, and you can also set a CustomOnset/OffsetTime. It's all in the Critical Timing chapter. Leisha Wharfield Decision Research Eugene, Oregon USA David Hairston wrote: > I need to send a trigger signal denoting the exact time of stimulus > presentation (assuming parallel port is the easiest method). > > Here is the problem/question - in the event of, say, a visual > stimulus, what is the best way to get these as close in sync as > possible? I could have an inline code sending the trigger directly > prior to an ImageDisplay... but then it wouldn't it at least have the > delay associated with waiting for the next screen update (could be up > to 9ms if 100hz monitor)?. Or - what about putting the inline right > after said presentation - would it actually occur immediately (like > w/in a few ms) afterwards? > > Or - is there a way to do it with a Slide object? > > Unfortunately, this will be very difficult to test out empirically... > > > > W. David Hairston, Ph.D. > > ANSIR Lab > > Dept of Radiology > > Wake Forest University School of Medicine > > Medical Center Blvd > > Winston-Salem NC 27157 > > (336) 716-7160 (Offiice) > > (446) 716 0798 (Fax) > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From dhair at wfubmc.edu Mon Jun 19 16:35:19 2006 From: dhair at wfubmc.edu (David Hairston) Date: Mon, 19 Jun 2006 12:35:19 -0400 Subject: synchronized trigger and stim presentation Message-ID: Thanks Leisha. Maybe I should clarify. We need the trigger data on-line, so that it can be recorded along with MEG data during acquisition. This makes it convenient for analysis later, so that we can re-align trials according to stimulus onset, etc. Hence, it is very important that the trigger be an accurate reflection of the actual onset. After some discussion with a colleague, if there is not a simple way to do it via E-prime that is reliable, I'm considering using feedback from a photo-diode system for the trigger. Of course, getting a similar feedback from sound presentation seems even more difficult, so I'm open to suggestions on that one, too... Thanks, Dave ________________________________ From: eprime at mail.talkbank.org [mailto:eprime at mail.talkbank.org] On Behalf Of Leisha Wharfield Sent: Monday, June 19, 2006 11:51 AM Cc: eprime at mail.talkbank.org Subject: Re: synchronized trigger and stim presentation Doesn't standard data logging give you the precise timing of stimulus presentation already, with its many time measurements? You can use PreRelease to minimize OnsetDelay, and you can also set a CustomOnset/OffsetTime. It's all in the Critical Timing chapter. Leisha Wharfield Decision Research Eugene, Oregon USA David Hairston wrote: I need to send a trigger signal denoting the exact time of stimulus presentation (assuming parallel port is the easiest method). Here is the problem/question - in the event of, say, a visual stimulus, what is the best way to get these as close in sync as possible? I could have an inline code sending the trigger directly prior to an ImageDisplay... but then it wouldn't it at least have the delay associated with waiting for the next screen update (could be up to 9ms if 100hz monitor)?. Or - what about putting the inline right after said presentation - would it actually occur immediately (like w/in a few ms) afterwards? Or - is there a way to do it with a Slide object? Unfortunately, this will be very difficult to test out empirically... W. David Hairston, Ph.D. ANSIR Lab Dept of Radiology Wake Forest University School of Medicine Medical Center Blvd Winston-Salem NC 27157 (336) 716-7160 (Offiice) (446) 716 0798 (Fax) -------------- next part -------------- An HTML attachment was scrubbed... URL: From Don.Rojas at UCHSC.edu Mon Jun 19 18:30:07 2006 From: Don.Rojas at UCHSC.edu (Don.Rojas at UCHSC.edu) Date: Mon, 19 Jun 2006 12:30:07 -0600 Subject: synchronized trigger and stim presentation Message-ID: Dave, Use the onsetsignal enabled property of the stimulus to send your trigger. We use a photo-diode in addition to that to adjust the timing jitter on the LCD projector. The photo-diode won't give you multiple trigger codes without a lot of painful hardware tinkering, but you can probably use whatever software you have offline to combine the e-prime trigger and the photo-diode signal to achieve what you need. What MEG system do you use? If you have a 4D Magnes system, I can probably be of further help to you with respect to the latter suggestion. Donald C. Rojas, Ph.D. U. of Colorado Neuromagnetism Lab Denver, CO USA -----Original Message----- From: eprime at mail.talkbank.org [mailto:eprime at mail.talkbank.org] On Behalf Of David Hairston Sent: Monday, June 19, 2006 10:35 AM To: Leisha Wharfield Cc: eprime at mail.talkbank.org Subject: RE: synchronized trigger and stim presentation Thanks Leisha. Maybe I should clarify. We need the trigger data on-line, so that it can be recorded along with MEG data during acquisition. This makes it convenient for analysis later, so that we can re-align trials according to stimulus onset, etc. Hence, it is very important that the trigger be an accurate reflection of the actual onset. After some discussion with a colleague, if there is not a simple way to do it via E-prime that is reliable, I'm considering using feedback from a photo-diode system for the trigger. Of course, getting a similar feedback from sound presentation seems even more difficult, so I'm open to suggestions on that one, too... Thanks, Dave ________________________________ From: eprime at mail.talkbank.org [mailto:eprime at mail.talkbank.org] On Behalf Of Leisha Wharfield Sent: Monday, June 19, 2006 11:51 AM Cc: eprime at mail.talkbank.org Subject: Re: synchronized trigger and stim presentation Doesn't standard data logging give you the precise timing of stimulus presentation already, with its many time measurements? You can use PreRelease to minimize OnsetDelay, and you can also set a CustomOnset/OffsetTime. It's all in the Critical Timing chapter. Leisha Wharfield Decision Research Eugene, Oregon USA David Hairston wrote: I need to send a trigger signal denoting the exact time of stimulus presentation (assuming parallel port is the easiest method). Here is the problem/question - in the event of, say, a visual stimulus, what is the best way to get these as close in sync as possible? I could have an inline code sending the trigger directly prior to an ImageDisplay... but then it wouldn't it at least have the delay associated with waiting for the next screen update (could be up to 9ms if 100hz monitor)?. Or - what about putting the inline right after said presentation - would it actually occur immediately (like w/in a few ms) afterwards? Or - is there a way to do it with a Slide object? Unfortunately, this will be very difficult to test out empirically... W. David Hairston, Ph.D. ANSIR Lab Dept of Radiology Wake Forest University School of Medicine Medical Center Blvd Winston-Salem NC 27157 (336) 716-7160 (Offiice) (446) 716 0798 (Fax) -------------- next part -------------- An HTML attachment was scrubbed... URL: From adamjacks at gmail.com Wed Jun 21 20:31:03 2006 From: adamjacks at gmail.com (Adam Jacks) Date: Wed, 21 Jun 2006 15:31:03 -0500 Subject: replay auditory stimulus In-Reply-To: <2bc5f5f60606210946x12e10d3boa9c61cf79f94ba66@mail.gmail.com> Message-ID: Hi there, I am new to e-prime, although I have some experience with basic programming of experimental design systems. I have set up a simple program that presents a series of .wav files and receives typed listener responses ( i.e. the listener types what they have heard). I would also like for the user to choose to replay the .wav file if they wish to do so. The way I have set up the program is basically as follows: Instructions Stimulus List Procedure Text display- Get ready to listen Sound Test display- Type what you heard- input from keyboard; terminates on {ENTER} Goodbye I would prefer to have a box that the listener clicks on if they wish to repeat the stimulus, but am open to suggestions. Thank you in advance for any assistance! Regards, Adam Jacks -------------- next part -------------- An HTML attachment was scrubbed... URL: From satrevik at gmail.com Thu Jun 22 09:48:22 2006 From: satrevik at gmail.com (=?ISO-8859-1?Q?Bj=F8rn_S=E6trevik?=) Date: Thu, 22 Jun 2006 11:48:22 +0200 Subject: replay auditory stimulus In-Reply-To: <2bc5f5f60606211331q3659ebeetac71203bbbd0a1d6@mail.gmail.com> Message-ID: Hi Adam, I think the easiest way to do this is to add to your procedure a label (flag), an additional text display asking if they would like to repeat the sound, and an inline object with a single line of code. Your new procedure and code should look something like this: Instructions Stimulus List Procedure Text display- Get ready to listen *RepeatLabel* Sound *RepeatQuestion* - (text display) "Would you like to repeat the sound? Y/N" * * *Repeatcode* - If c.GetAttrib ("RepeatQuestion.RESP ") = "Y" then goto RepeatLabel Test display- Type what you heard- input from keyboard; terminates on {ENTER} Goodbye If you name your objects differently, you will need to change the code. If you want to do it with mouse clicks it gets a little bit more complicated. I hope this helps, Bj?rn S?trevik On 6/21/06, Adam Jacks wrote: > > Hi there, > > I am new to e-prime, although I have some experience with basic > programming of experimental design systems. > > I have set up a simple program that presents a series of .wav files and > receives typed listener responses ( i.e. the listener types what they have > heard). I would also like for the user to choose to replay the .wav file if > they wish to do so. The way I have set up the program is basically as > follows: > > Instructions > Stimulus List > Procedure > Text display- Get ready to listen > Sound > Test display- Type what you heard- input from keyboard; terminates > on {ENTER} > Goodbye > > I would prefer to have a box that the listener clicks on if they wish to > repeat the stimulus, but am open to suggestions. Thank you in advance for > any assistance! > > Regards, > > > Adam Jacks > > -- Bj?rn S?trevik St. Hansstredet 22 5011 Bergen +47 99316588 -------------- next part -------------- An HTML attachment was scrubbed... URL: From rfbuzan0 at mailbox.sc.edu Thu Jun 22 13:59:23 2006 From: rfbuzan0 at mailbox.sc.edu (Robert F. Buzan) Date: Thu, 22 Jun 2006 09:59:23 -0400 Subject: Feedback to Netstation Message-ID: Anyone out there know how to send something to Netstation that indicates whether they received "correct" or "incorrect" feedback? I need to segment on the feedback based on whether they answered right or wrong, and I'm stumped. **Extra Credit: There are two ways to answer incorrectly: 1) answer incorrectly, and 2) answer too late. Any chance to be able to segment the feedback based on this difference? Thanks for thinking about my problem and for any responses. Robb From dhair at wfubmc.edu Thu Jun 22 14:25:16 2006 From: dhair at wfubmc.edu (David Hairston) Date: Thu, 22 Jun 2006 10:25:16 -0400 Subject: Feedback to Netstation Message-ID: Oooh oooh, I know the extra credit! Look at the RT values. If they did not answer in time, RT will be 0. If they were incorrect, it will be anything > 0. Re: NetStation - I don't know what that is. But if you can use parallel port communication/ DAC etc, use a quick Inlien script to evaluate Response.Acc and Response.RT, and send a value based on this AKA something like If Response.Acc = 1 then WritePort h378, 1 EsleIf Response.Acc = 0 WritePort h367, 0 EndIf Just an idea (syntax/code may be wrong) -----Original Message----- From: eprime at mail.talkbank.org [mailto:eprime at mail.talkbank.org] On Behalf Of Robert F. Buzan Sent: Thursday, June 22, 2006 9:59 AM To: EPRIME at mail.talkbank.org Subject: Feedback to Netstation Anyone out there know how to send something to Netstation that indicates whether they received "correct" or "incorrect" feedback? I need to segment on the feedback based on whether they answered right or wrong, and I'm stumped. **Extra Credit: There are two ways to answer incorrectly: 1) answer incorrectly, and 2) answer too late. Any chance to be able to segment the feedback based on this difference? Thanks for thinking about my problem and for any responses. Robb From wendy_davidson79 at hotmail.com Thu Jun 22 15:58:24 2006 From: wendy_davidson79 at hotmail.com (Wendy Davidson) Date: Thu, 22 Jun 2006 16:58:24 +0100 Subject: Script too large Message-ID: Hi I was wondering if someone could help me. Ive designed an experiment that EStudio won't compile into script as it says its too large. Has anyone come across this before and if so how can I get around it? Thanks in advance Wendy Davidson From akiko at nyu.edu Thu Jun 22 16:32:08 2006 From: akiko at nyu.edu (Akiko Ikkai) Date: Thu, 22 Jun 2006 12:32:08 -0400 Subject: Script too large In-Reply-To: Message-ID: Wendy, Did you make sure you don't have too many objects in the "unreferenced objects"? If you clean up this part, the problem is more likely to go away. It was the case for me when I get that error message. Good luck! Akiko Ikkai ----- Original Message ----- From: Wendy Davidson Date: Thursday, June 22, 2006 11:58 am Subject: Script too large > Hi > I was wondering if someone could help me. Ive designed an > experiment that > EStudio won't compile into script as it says its too large. Has > anyone come > across this before and if so how can I get around it? > > Thanks in advance > Wendy Davidson > > > > From leisha at decisionresearch.org Thu Jun 22 17:50:16 2006 From: leisha at decisionresearch.org (Leisha Wharfield) Date: Thu, 22 Jun 2006 10:50:16 -0700 Subject: Script too large In-Reply-To: Message-ID: I've also busted longer experiments up into smaller scripts that have to be launched separately, and spent time looking for ways to create more economical scripts, by using the same procedures over & over with different lists, for example. Leisha Wharfield Decision Research Eugene, Oregon, USA Akiko Ikkai wrote: >Wendy, > >Did you make sure you don't have too many objects in the "unreferenced >objects"? If you clean up this part, the problem is more likely to go >away. It was the case for me when I get that error message. > >Good luck! >Akiko Ikkai > >----- Original Message ----- >From: Wendy Davidson >Date: Thursday, June 22, 2006 11:58 am >Subject: Script too large > > > >>Hi >>I was wondering if someone could help me. Ive designed an >>experiment that >>EStudio won't compile into script as it says its too large. Has >>anyone come >>across this before and if so how can I get around it? >> >>Thanks in advance >>Wendy Davidson >> >> >> >> >> >> > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From Anna_Abramson at brown.edu Thu Jun 22 18:35:49 2006 From: Anna_Abramson at brown.edu (Abramson, Anna) Date: Thu, 22 Jun 2006 14:35:49 -0400 Subject: Please help a new user Message-ID: Hi everyone, I am very glad that this discussion list exists because I am a research assistant trying very hard to learn as much as possible and get some e-prime experiments underway! I greatly appreciate any help. My question is this: How can I devise a way for the subject to use the mouse to click a number on the screen--for instance, ideally there would be a vertical display bar going from 1 "not at all" to 5 "very much" (some sort of Likert scale). The subject would use the mouse to click their choice and that click would be saved for the experimenters to look at later. Or: another option is to enable the mouse to scroll up or down and have higher or lower numbers appear on the screen accordingly. In other words, they would scroll up to get to higher numbers, down for lower numbers, and when they settled on their choice it would be saved. Or if you know of a method that would essentially achieve the same results Id be interested! Even if you just know a piece of how to do this, maybe I can piece it together. I'm a new user so explicit instructions appreciated...! Thank you so much --t's great that researchers can help each other out like this Anna Abramson Research assisant, UC-Berkeley Psychology and Neuroscience Brown University, Psychology From anthony.zuccolotto at pstnet.com Thu Jun 22 20:44:24 2006 From: anthony.zuccolotto at pstnet.com (Tony Zuccolotto) Date: Thu, 22 Jun 2006 16:44:24 -0400 Subject: Feedback to Netstation In-Reply-To: <1150984763.449aa23b93182@webmail.sc.edu> Message-ID: Robert, I think I'd run this question by EGI support as the good folks there have likely run into this scenario/need before. Assuming you are using the E-Prime Extensions for Net Station package I expect that this process will involve either sending an additional NetStation_SendTrialEvent at the end of the trial or possibly by adding an additional keylist to the NetStation_SendTRSPEvent (e.g. there is a documented optional parameter available on this command to permit that to happen). In theory, NetStation_SendTRSPEvent would already contain the information you need to do the segmentation (i.e. it already sends/encodes dependent data on subject responses), but I'm not sure either how where that data shows up or is accessible by the Net Station segmentation tools. Regardless, I am confident that the basic tools are available between E-Prime and Net Station to get what you want without too much effort. Hope that helps a bit, Tony Anthony P. Zuccolotto President and Chief Executive Officer 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: eprime at mail.talkbank.org [mailto:eprime at mail.talkbank.org] On Behalf > Of Robert F. Buzan > Sent: Thursday, June 22, 2006 9:59 AM > To: EPRIME at mail.talkbank.org > Subject: Feedback to Netstation > > Anyone out there know how to send something to Netstation that indicates > whether > they received "correct" or "incorrect" feedback? I need to segment on the > feedback based on whether they answered right or wrong, and I'm stumped. > > **Extra Credit: There are two ways to answer incorrectly: 1) answer > incorrectly, and 2) answer too late. Any chance to be able to segment the > feedback based on this difference? > > Thanks for thinking about my problem and for any responses. > > Robb From pquain at une.edu.au Thu Jun 22 23:10:58 2006 From: pquain at une.edu.au (Peter Quain) Date: Fri, 23 Jun 2006 09:10:58 +1000 Subject: NuAmps drops samples Message-ID: Anyone out there using E-Prime with NuAmps? We've discovered that our NuAmps seems to be randomly dropping samples in what looks predominantly to be 11-12ms chunks, with another distribution around 36ms. The diagnostic paradigm (in E-Prime) runs trials and sends TTL pulse every 3600ms. Over 20 runs, of varying length (40, 130, or 310 trials) totalling 3000+ trials, 4.1% exhibited sample drop > 9ms between successive pulses. This also happens, same basic pattern, using different computers to control the acquisition so unlikely to be PC related on the NuAmps side. The stimulus presentation computer appears to behave perfectly. Has anyone else identified a similar issue, or might it just be our unit / system?? No word back yet from Neuroscan on what the problem might be. Peter Peter Quain School of Psychology University of New England Armidale, Australia, 2351 Phone: 02 6773 5193 Fax: 02 6773 3820 From pquain at une.edu.au Fri Jun 23 02:03:45 2006 From: pquain at une.edu.au (Peter Quain) Date: Fri, 23 Jun 2006 12:03:45 +1000 Subject: NuAmps drops samples Message-ID: good diagnostics (I think...). Only place it can be is a) Nuamps or b) faulty USB drivers (fromScan) causing sample loss at the acquisition computer. We'd like some timing data from a few other systems (any Neuroscan amps, not just NuAmps) to check against our own. So if anybody is interested get in touch and I'll send along a test paradigm. Takes 20 mins to loop through 310 trials. Do a couple of runs, then send along the output files (*.edat from e-prime, *.ev2 from *.cnt) and I'll send back some diagnostic output. At 11:39 AM 23/06/2006, you wrote: >How do you know that it isn't the eprime/stimulus computer that is >the problem? Or, put another way, how are you certain that the >samples are dropped? We've certainly observed missed triggers >before, but usually it is because the trigger duration was too short >relative to the sampling rate. > >-----Original Message----- > >From: "Peter Quain" >Subj: NuAmps drops samples >Date: Thu Jun 22, 2006 5:13 pm >Size: 958 bytes >To: "eprime at mail.talkbank.org" >cc: "pquain at une.edu.au" > > > >Anyone out there using E-Prime with NuAmps? > >We've discovered that our NuAmps seems to be randomly dropping >samples in what looks predominantly to be 11-12ms chunks, with >another distribution around 36ms. The diagnostic paradigm (in >E-Prime) runs trials and sends TTL pulse every 3600ms. Over 20 runs, >of varying length (40, 130, or 310 trials) totalling 3000+ trials, >4.1% exhibited sample drop > 9ms between successive pulses. This also >happens, same basic pattern, using different computers to control the >acquisition so unlikely to be PC related on the NuAmps side. The >stimulus presentation computer appears to behave perfectly. > >Has anyone else identified a similar issue, or might it just be our >unit / system?? No word back yet from Neuroscan on what the problem might be. > >Peter > > >Peter Quain >School of Psychology >University of New England >Armidale, Australia, 2351 >Phone: 02 6773 5193 >Fax: 02 6773 3820 Peter Quain School of Psychology University of New England Armidale, Australia, 2351 Phone: 02 6773 5193 Fax: 02 6773 3820 From ferreira at psy2.ucsd.edu Fri Jun 23 16:04:29 2006 From: ferreira at psy2.ucsd.edu (Victor Ferreira) Date: Fri, 23 Jun 2006 09:04:29 -0700 Subject: Behavioral software survey results Message-ID: Hi PsyScope-ers and E-Prime-ers, Brian MacWhinney asked me to post this to this list. For those who aren't on the CUNY Conference mailing list, I solicited survey participation from the membership of the CUNY Conference mailing list concerning their usage and plans for the use of behavioral experiment software. I specifically avoided soliciting participation from the software's mailing list recipients, so as to not overly skew the representation of different packages in the responses. I hope you find the included information useful. Best wishes, Vic Victor Ferreira, Associate Professor Department of Psychology 0109 University of California, San Diego La Jolla, CA 92093-0109 http://lpl.ucsd.edu/ * Hi everyone, The results of the software survey are in. We had 187 responses, but one was unanalyzable (the respondent did not specify a software package). Thanks everyone for your responses; I hope these results prove useful. Here's a one-paragraph summary of the survey results; details below: E-Prime is the most popular package of those surveyed, but the majority of folks are using either E-Prime, DMDX, or some flavor of PsyScope. E-Prime, PsyScope, SuperLab, and ERTS are all rated as easy to build experiments with, and about equally so. DMDX and NESU are seen as slightly harder. Presentation and MatLab are notably the hardest of the commonly used packages. SuperLab was seen as easiest for novices. E-Prime and PsyScope were rated a shade harder for novices, and then from ERTS to SuperLab Pro to DMDX to NESU, novice- ease ratings dropped. Presentation and MatLab were both seen as notably difficult for novices. DMDX nets the highest satisfaction rating, with PsyScope X and E-Prime a smidge lower. MatLab, SuperLab, and Presentation rank below that, ending with NESU, PsyScope classic, and SuperLab Pro. PsyScope X has the highest "sticking with" rate, and E-Prime, SuperLab, MatLab, and DMDX all have 50%+ "sticking with" ratings. People are running away from PsyScope classic, probably because the classic Mac OS is very quickly approaching end-of-life. E-Prime, both flavors of PsyScope, and DMDX are highly recommended. MatLab is also well recommended. Then it drops noticeably to Presentation, SuperLab, ERTS, and finally SuperLab Pro and NESU. A summary of two open-ended questions is also included below. * Details: Of the 186 valid responses, the most commonly used software package ended up being E-Prime (57 responses, 30.6%). Here's the ranking of software packages, listing number of respondents and percentage for each: 1. E-Prime: 57, 30.6% 2. DMDX: 32, 17.2% 3. PsyScope Classic: 18, 9.7% 4. Presentation: 12, 6.5% 5. PsyScope X: 11, 5.9% 6. NESU: 8, 4.3% 7. ERTS: 6, 3.2% 8. SuperLab: 5, 2.7% 9. MatLab: 5, 2.7% 10. SuperLab Pro: 4, 2.2% 11. Linger: 4, 2.2% 12. MEL: 3, 1.6% 13. Experiment Builder: 3, 1.6% 14. EyeTrack: 2, 1.1% The following packages had 1 response each: Authorware, C programming, Delphi Borland, DirectRT, ExBuilder, Habit, Inquisit, MacroMedia Director, PHPsurveyor, PCexpt, RSVP, WWStim, WebExp, iMovie, tscope, vision analyzer/recorder. Bob Slevc worked to dig up links for many of these software packages. I'll put the links below the signature line. Note that PsyScope classic and PsyScope X could be combined to have a total response count of 29 or 15.6%, which would keep it in third place behind E-Prime and DMDX. SuperLab and SuperLab Pro (which I assume are distinct) could similarly be combined for 9 responses (4.8%), which would put it right behind Presentation. * We asked, "How easy/hard is it for you to build an experiment with your software?" with a 7-point response scale (1 = "very easy" and 7 = "very hard"). Overall, the mean difficulty rating was 3.09 with a standard deviation of 1.43, and a median of 3. Here are the mean and median build-difficulty ratings for the packages that received at least five responses (combining the above noted PsyScope and SuperLab): ERTS (6): 2.5, 2 E-Prime (57): 2.68, 2 PsyScope (29): 2.86, 3 SuperLab (9): 3.0, 3 NESU (8): 3.25, 3 DMDX (32): 3.38, 3.5 MatLab (5): 4.2, 4 Presentation (12): 4.54, 5 * We also asked, "How easy/hard is it for a novice to learn how to build experiments with your software?" The mean difficulty rating was 4.12 with a standard deviation of 1.63, and a median of 4. Here are the mean and median build-difficulty ratings for the primarily used packages (for this analysis, PsyScope classic and PsyScope X were combined, because their response profiles were similar; SuperLab and SuperLab pro were different, so are reported separately): SuperLab (5): 2.6, 3 PsyScope (29): 3.5, 3.5 E-Prime (57): 3.54, 3 ERTS (6): 4.17, 4.5 SuperLab Pro (4): 4.25, 4.5 DMDX (32): 4.88, 5 NESU (8): 5, 5.5 Presentation (12): 5.64, 6 MatLab (5): 6, 6 * We then asked, "How satisfied are you with your current software?" with "1" meaning "Completely dissatisfied" and "7" meaning "Completely Satisfied." The mean satisfaction rating was 4.59 with a standard deviation of 1.43, and a median of 5. Here are the ratings by package: DMDX (32): 5.09, 5 PsyScope X (11): 4.91, 5 E-Prime (57): 4.77, 5 MatLab (5): 4.4, 4 SuperLab (5): 4.2, 4 Presentation (12): 4.09, 4 NESU (8): 3.88, 4 PsyScope classic (18): 3.82, 4 SuperLab Pro (4): 3, 3 * Two more quantitative questions. First, we asked "Are you sticking with your current software for the foreseeable future, or are you looking to change setups?" 25 respondents responded with "Don't Know," 103 with "Sticking with my current software for the foreseeable future," and 44 with "looking to change." Here's the breakdown by package, reporting percentages of those sticking with their package and those looking to change (sorted by sticking percentage): PsyScope X (10): 90%, 10% E-Prime (52): 71.1%, 9.6% SuperLab (5): 60%, 40% MatLab (5): 60%, 40% DMDX (30): 53%, 20% Presentation (11): 45.4%, 36.4% ERTS (5): 40.0%, 60% PsyScope classic (16): 37.5%, 62.5% NESU (8): 12.5%, 62.5% SuperLab Pro (4): 0%, 50% * Finally, we asked "Would you recommend your current software?" 138 people said "yes" and 32 said "no." Here's the breakdown of percent "yes" responses by package: E-Prime (50): 92% PsyScope X (10): 90% PsyScope classic (16): 87.5% DMDX (30): 86.7% MatLab (5): 80% Presentation (12): 63.6% SuperLab (5): 60% ERTS (5): 60% SuperLab Pro (4): 50% NESU (8): 50% * We also asked two complementary open-ended questions that aren't easy to summarize. One was, "What do you like about your current software? What are its strengths? What does it do well?" and the other was, "What do you not like about your current software? What are its weaknesses? What does it not do well (or at all)?" Considering the big hitters (E-Prime, DMDX, and PsyScope), my general impression of the flavor of the comments were: E-Prime: Easy to learn, good support, user friendly, etc. But, some consider it expensive, thought it inflexible, and are worried about precision of timing. DMDX: It's free, powerful, good timing, good user-support group, and good author support. Weaknesses were mostly regarding lack of intuitiveness and steep learning curve. PsyScope: It's free, user-friendly, timing is accurate. But it can be buggy. PsyScope classic users are worried about using a legacy system. PsyScope X users worry about the transition to Intel-based Macs, but with some optimism. * The Excel file with everyone's responses is available on this page (sorry for the ugly link): http://lpl.ucsd.edu/LabPage/Lab_Blog/B1A6A7D2-0069-41E3-89E9- B3683FEEC758.html Again, thanks for participating. We were thrilled to see that we actually had 187 people respond! Best wishes, Vic Ferreira Jeremy Boyd Jeff Elman Robert Buffington Bob Slevc Center for Research in Language University of California, San Diego * DMDX: http://www.u.arizona.edu/~kforster/dmdx/dmdx.htm E-Prime: http://www.pstnet.com/products/e-prime/ ERTS: http://www.erts.de/ Experiment Builder: http://www.eyelinkinfo.com/optns_eb.php Linger: http://tedlab.mit.edu/~dr/Linger/ MatLab: http://www.mathworks.com/ MEL: (Note that MEL is the predecessor to E-Prime) NESU: http://www.mpi.nl/world/tg/experiments/nesu.html Presentation: http://www.neuro-bs.com/ PsyScope Classic: http://psyscope.psy.cmu.edu/ PsyScope X: http://psy.ck.sissa.it/ SuperLab: http://www.superlab.com/ SuperLab Pro: http://www.superlab.com/ From yxu at CNBC.CMU.EDU Tue Jun 20 15:03:27 2006 From: yxu at CNBC.CMU.EDU (Yisheng Xu) Date: Tue, 20 Jun 2006 11:03:27 -0400 Subject: synchronized trigger and stim presentation Message-ID: Attached a program for testing the auditory and visual stimulus delay using MEG. We tested the delays on an Electa Neuromag VectorView system. The trigger signal was sent from a computer parallel port (address &H378) to the MEG trigger box with a customized DB37-DB25 adaptor cable. The auditory signal (a 100 ms 400 Hz pure tone) was sent from the computer sound card to the MEG system and measured by a microphone connected to an ER-5A ear insert. The visual signal was projected by a Panasonic PT-D7700U DLP projector to a translucent screen. The projector was connected to the computer VGA port. The refresh rate of the graphic card (Intel 910GL) was set to 60 Hz. A photodiode was fixed with a sucking disk to the center of the screen to measured the luminance of a repeated 100-ms flash sginal presented by the program. Both the microphone and the photodiode (with internal preamplifiers) were connected to the miscellaneous channels of MEG. In this way, we can accurately measure the auditory and visual delays relative to the trigger signal in an accuracy of 0.1 millisecond. E-Prime FAQ recommends to use StimDisplay.OnsetSignalData to synchronize the trigger with the stimuli. Ideally, we may use a slide object to send auditory and visual stimuli together with the parallel trigger. The major problem of this method is the visual stimuli is not displayed at the actual onset of the slide object although E-Prime has a function to synchronize the image with the vertical blank of display. In this simple setup, the measured audiotory delay is 3-4 ms depending on the sound card; The measured visual delay is 20-30 ms depending on the graphic card and refresh rate. Using our hardware setup, for an unknown reason (maybe due to the native refresh rate of the DLP projector), refresh rates other than 60 Hz (e.g., 75 Hz, 85 Hz) will generate an inter-trial jitter of the visual delay, i.e., the delay of the visual signal varies among trials. As a result, the averaged luminance function will show a sloped onset and offset and the refresh cycles will be smeared. For the timing requirment of EEG/MEG, a fixed delay is necessary. At a 60 Hz refresh rate, the onset and offset of the measured luminance function are very sharp. The refresh cycles can also be clearly identified. On some slow computers, interrun timing variations were also observed besides the intertrial variation, i.e., we may observe different averaged delays in different runs even though no intertrial variation at 60 Hz. Because we're doing some multisensory integration study, the sychronization between auditory, visual and trigger signals is critical. The attached program using the DisplayDevice.WaitForVerticalBlank method and Sleep statement to adjust the timing delay. We achieved a measured auditory delay of -0.1 ms and a measured visual delay of 0.5 ms. The reason that the values are not exactly zeros is because the operating system (DirecX) only allow for integral millisecond increments (for the Sleep statement). The interrun variation is less than 0.1 ms. -------------- next part -------------- A non-text attachment was scrubbed... Name: C:\Documents and Settings\All Users\Documents\Shared Experiments\Trigger Tests\trigger2stim_delay.es Type: application/octet-stream Size: 21783 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: C:\Documents and Settings\All Users\Documents\Shared Experiments\Trigger Tests\400Hz_100ms_testtone.wav Type: audio/wav Size: 17684 bytes Desc: not available URL: From cmparks at ucdavis.edu Wed Jun 28 18:01:45 2006 From: cmparks at ucdavis.edu (Colleen Parks) Date: Wed, 28 Jun 2006 11:01:45 -0700 Subject: find minimum Message-ID: Hi, I've got an array to which I've assigned a list of random numbers (e.g., Array(0) = random(0,100)). I need to find which element/array position has the lowest value without sorting the array (position in the array is important for another variable later on). I've spent a good amount of time searching to figure out what the code is to find the minimum value of a list of variables, but haven't found anything yet. There is no obvious documentation of a general "find min" and "find max" function outside of the summation object. (Note that a summation object won't help because it will return the minimum of a set of values, but will not, as far as I can tell, indicate which variable (or observation) the minimum value is linked to). There's got to be a find min/max ability in there somewhere! Can anyone point me in the right direction? Thanks! Colleen --------------------------------------- Colleen Parks, Ph.D. Psychology Department University of California One Shields Ave. Davis, CA 95616 cmparks at ucdavis.edu 530.754.9439 -------------- next part -------------- An HTML attachment was scrubbed... URL: From Fredrik.Ullen at ki.se Wed Jun 28 18:18:12 2006 From: Fredrik.Ullen at ki.se (Fredrik =?iso-8859-1?Q?Ull=E9n?=) Date: Wed, 28 Jun 2006 20:18:12 +0200 Subject: find minimum In-Reply-To: <006601c69adc$eb7d0700$a35aeda9@Kylab1A> Message-ID: Hi Colleen, Why not just write a brief Inline script to loop through the array and find the smallest value? How many values do you have? Best Fredrik At 20:01 2006-06-28, Colleen Parks wrote: >Hi, > >I've got an array to which I've assigned a list of random numbers (e.g., >Array(0) = random(0,100)). I need to find which element/array position >has the lowest value without sorting the array (position in the array is >important for another variable later on). I've spent a good amount of >time searching to figure out what the code is to find the minimum value of >a list of variables, but haven't found anything yet. There is no obvious >documentation of a general "find min" and "find max" function outside of >the summation object. (Note that a summation object won't help because it >will return the minimum of a set of values, but will not, as far as I can >tell, indicate which variable (or observation) the minimum value is linked >to). There's got to be a find min/max ability in there somewhere! Can >anyone point me in the right direction? > >Thanks! >Colleen > > >--------------------------------------- >Colleen Parks, Ph.D. >Psychology Department >University of California >One Shields Ave. >Davis, CA 95616 > >cmparks at ucdavis.edu >530.754.9439 Fredrik Ull?n Associate Professor Stockholm Brain Institute Dept Woman and Child Health Neuropediatric Research Unit (ALB, Q2:07) Karolinska Institutet SE-171 76 Stockholm Sweden personal web page www.fredrikullen.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From leisha at decisionresearch.org Wed Jun 28 18:14:58 2006 From: leisha at decisionresearch.org (Leisha Wharfield) Date: Wed, 28 Jun 2006 11:14:58 -0700 Subject: find minimum In-Reply-To: <006601c69adc$eb7d0700$a35aeda9@Kylab1A> Message-ID: If there is no such command as "find min," or "find max," can you copy the array, add a nonnumeric tag that indicates position (abcd), then sort the array numerically & use the nonnumeric tag to indicate the lowest number's position in the original array? Leisha Wharfield Decision Research Eugene, Oregon, USA leisha at decisionresearch.org Colleen Parks wrote: > Hi, > > I've got an array to which I've assigned a list of random numbers > (e.g., Array(0) = random(0,100)). I need to find which element/array > position has the lowest value without sorting the array (position in > the array is important for another variable later on). I've spent a > good amount of time searching to figure out what the code is to find > the minimum value of a list of variables, but haven't found anything > yet. There is no obvious documentation of a general "find min" and > "find max" function outside of the summation object. (Note that a > summation object won't help because it will return the minimum of a > set of values, but will not, as far as I can tell, indicate which > variable (or observation) the minimum value is linked to). There's > got to be a find min/max ability in there somewhere! Can anyone point > me in the right direction? > > Thanks! > Colleen > > > --------------------------------------- > Colleen Parks, Ph.D. > Psychology Department > University of California > One Shields Ave. > Davis, CA 95616 > > cmparks at ucdavis.edu > 530.754.9439 -------------- next part -------------- An HTML attachment was scrubbed... URL: From cmparks at ucdavis.edu Wed Jun 28 18:37:14 2006 From: cmparks at ucdavis.edu (Colleen Parks) Date: Wed, 28 Jun 2006 11:37:14 -0700 Subject: find minimum Message-ID: Only 4--so I could definitely do that. It just seems like there should be a more efficient way--something akin to excel's MIN() and MAX () functions. ----- Original Message ----- From: Fredrik Ull?n To: eprime at mail.talkbank.org Sent: Wednesday, June 28, 2006 11:18 AM Subject: Re: find minimum Hi Colleen, Why not just write a brief Inline script to loop through the array and find the smallest value? How many values do you have? Best Fredrik At 20:01 2006-06-28, Colleen Parks wrote: Hi, I've got an array to which I've assigned a list of random numbers (e.g., Array(0) = random(0,100)). I need to find which element/array position has the lowest value without sorting the array (position in the array is important for another variable later on). I've spent a good amount of time searching to figure out what the code is to find the minimum value of a list of variables, but haven't found anything yet. There is no obvious documentation of a general "find min" and "find max" function outside of the summation object. (Note that a summation object won't help because it will return the minimum of a set of values, but will not, as far as I can tell, indicate which variable (or observation) the minimum value is linked to). There's got to be a find min/max ability in there somewhere! Can anyone point me in the right direction? Thanks! Colleen --------------------------------------- Colleen Parks, Ph.D. Psychology Department University of California One Shields Ave. Davis, CA 95616 cmparks at ucdavis.edu 530.754.9439 Fredrik Ull?n Associate Professor Stockholm Brain Institute Dept Woman and Child Health Neuropediatric Research Unit (ALB, Q2:07) Karolinska Institutet SE-171 76 Stockholm Sweden personal web page www.fredrikullen.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From pauls_postbus at hotmail.com Wed Jun 28 19:54:30 2006 From: pauls_postbus at hotmail.com (Paul Gr) Date: Wed, 28 Jun 2006 21:54:30 +0200 Subject: find minimum In-Reply-To: <008401c69ae1$e027ed70$a35aeda9@Kylab1A> Message-ID: hello colleen, It is not very difficult to create those functions and add them to the user script section. The only drawback is that you will have to create separate functions for each data type you use as base type for the array's. For unspecified data types (variants) you could use the following function: function FindMinIndex( a() ) as integer dim i as integer dim iMinIndex as integer dim vMinValue iMinIndex = LBound(a) vMinValue = a(iMinIndex) for i = LBound(a)+1 to UBound(a) if a(i) At 20:01 2006-06-28, Colleen Parks wrote: > > Hi, > > I've got an array to which I've assigned a list of random numbers >(e.g., Array(0) = random(0,100)). I need to find which element/array >position has the lowest value without sorting the array (position in the >array is important for another variable later on). I've spent a good >amount of time searching to figure out what the code is to find the minimum >value of a list of variables, but haven't found anything yet. There is no >obvious documentation of a general "find min" and "find max" function >outside of the summation object. (Note that a summation object won't help >because it will return the minimum of a set of values, but will not, as far >as I can tell, indicate which variable (or observation) the minimum value >is linked to). There's got to be a find min/max ability in there >somewhere! Can anyone point me in the right direction? > > Thanks! > Colleen > > > --------------------------------------- > Colleen Parks, Ph.D. > Psychology Department > University of California > One Shields Ave. > Davis, CA 95616 > > cmparks at ucdavis.edu > 530.754.9439 > Fredrik Ull?n > Associate Professor > Stockholm Brain Institute > Dept Woman and Child Health > Neuropediatric Research Unit (ALB, Q2:07) > Karolinska Institutet > SE-171 76 Stockholm > Sweden > personal web page www.fredrikullen.com > From Anna_Abramson at brown.edu Thu Jun 29 22:28:29 2006 From: Anna_Abramson at brown.edu (Abramson, Anna) Date: Thu, 29 Jun 2006 18:28:29 -0400 Subject: Clicks on a visual analog scale Message-ID: Hello, A couple of quick questions that maybe someone can offer some help on.. 1. Does anyone know how to modify the visual analog mouse click setup so that a subject can click and unclick until he settles on one final choice?? 2. Is there a way to have a selected box on a visual analog scale change so the subject can see his/her choice---ie, box is highlighted, Xed, changes color? I know how to do this on the Grid, but I cant seem to apply it to the visual mouse click. 3. Is it possible to have multiple rows where the subject must choose one box per row--so the program allows multiple clicks, one per row? THANK YOU. From leisha at decisionresearch.org Thu Jun 29 23:16:26 2006 From: leisha at decisionresearch.org (Leisha Wharfield) Date: Thu, 29 Jun 2006 16:16:26 -0700 Subject: Clicks on a visual analog scale In-Reply-To: <471F15E271937A4DA89AC12211DDAD9804AFFFAD@MAIL2.AD.Brown.Edu> Message-ID: Dear Anna, I'm not familiar with a visual analog scale that has boxes on it. But you can make them change color. I did it by throwing a different graphic up on a slide after determining whether the mouse click had touched an object on the screen. The subject could change his or her mind over & over. The slide ended with a space bar, so that once a subject clicks on an object, their selection is a different color and the screen also reads something like "Press the space bar to continue." You could also use just the mouse by providing a clickable "Submit" button or something similar. You could have multiple rows, too, I'm sure, & throw up an error screen if the subject tries to advance without providing a click for each row. You could have code in an inline object after the slide that would determine whether an object had been clicked in all three rows before the space bar was used. If not, the subject gets a prompt like "Please click on your choice in row 2," or something like that. If you want to get fancy about it, you could highlight that row. Leisha Wharfield Decision Research Eugene, Oregon, USA leisha at decisionresearch.org Abramson, Anna wrote: >Hello, >A couple of quick questions that maybe someone can offer some help on.. >1. Does anyone know how to modify the visual analog mouse click setup so that a subject can click and unclick until he settles on one final choice?? > >2. Is there a way to have a selected box on a visual analog scale change so the subject can see his/her choice---ie, box is highlighted, Xed, changes color? I know how to do this on the Grid, but I cant seem to apply it to the visual mouse click. > >3. Is it possible to have multiple rows where the subject must choose one box per row--so the program allows multiple clicks, one per row? > >THANK YOU. > > > > > From pauls_postbus at hotmail.com Fri Jun 30 15:55:59 2006 From: pauls_postbus at hotmail.com (Paul Gr) Date: Fri, 30 Jun 2006 17:55:59 +0200 Subject: Clicks on a visual analog scale In-Reply-To: <471F15E271937A4DA89AC12211DDAD9804AFFFAD@MAIL2.AD.Brown.Edu> Message-ID: hello, Perhaps the following eprime script is useful for all of you who would like to implement interactive mouse click region in eprime: http://www.psy.vu.nl/download/paul/memory.zip This script implements the well known 'memory' game where one has to select pairs of matching cards from an array of non-facing cards. Note that the inline scripting of this test is not very trivial though! A small readme is provided along with the script. best, Paul Groot Vrije Universiteit van Asmterdam >From: "Abramson, Anna" >To: >Subject: Clicks on a visual analog scale >Date: Thu, 29 Jun 2006 18:28:29 -0400 > > >Hello, >A couple of quick questions that maybe someone can offer some help on.. >1. Does anyone know how to modify the visual analog mouse click setup so >that a subject can click and unclick until he settles on one final choice?? > >2. Is there a way to have a selected box on a visual analog scale change so >the subject can see his/her choice---ie, box is highlighted, Xed, changes >color? I know how to do this on the Grid, but I cant seem to apply it to >the visual mouse click. > >3. Is it possible to have multiple rows where the subject must choose one >box per row--so the program allows multiple clicks, one per row? > >THANK YOU. > > From leisha at decisionresearch.org Fri Jun 30 16:45:07 2006 From: leisha at decisionresearch.org (Leisha Wharfield) Date: Fri, 30 Jun 2006 09:45:07 -0700 Subject: Clicks on a visual analog scale In-Reply-To: Message-ID: Thanks for this resource, Paul. Leisha Paul Gr wrote: > hello, > > Perhaps the following eprime script is useful for all of you who would > like to implement interactive mouse click region in eprime: > http://www.psy.vu.nl/download/paul/memory.zip > This script implements the well known 'memory' game where one has to > select pairs of matching cards from an array of non-facing cards. > Note that the inline scripting of this test is not very trivial though! > A small readme is provided along with the script. > > best, > > Paul Groot > Vrije Universiteit van Asmterdam > > >> From: "Abramson, Anna" >> To: >> Subject: Clicks on a visual analog scale >> Date: Thu, 29 Jun 2006 18:28:29 -0400 >> >> >> Hello, >> A couple of quick questions that maybe someone can offer some help on.. >> 1. Does anyone know how to modify the visual analog mouse click setup >> so that a subject can click and unclick until he settles on one final >> choice?? >> >> 2. Is there a way to have a selected box on a visual analog scale >> change so the subject can see his/her choice---ie, box is >> highlighted, Xed, changes color? I know how to do this on the Grid, >> but I cant seem to apply it to the visual mouse click. >> >> 3. Is it possible to have multiple rows where the subject must choose >> one box per row--so the program allows multiple clicks, one per row? >> >> THANK YOU. >> >> > > > >