Empirisoft Support

    Welcome to Empirisoft Support
Results 1 to 11 of 11

Thread: Multiple images from stim lists

  1. #1

    Multiple images from stim lists

    Good Afternoon,


    I am a student at American University in the Busse Lab. I am currently creating an input file, and I have been unsuccessful in one aspect of the file. I want to have a picture appear on the screen and have a word appear "BIKE". I then want the picture to remain on the screen, while the word "BIKE" changes colors randomly. I want the word to vary from blue, green, and red randomly. When the blue word appears, the participant will strike the valid key and the next screen will appear. I want each trial will be conducted this way. Is there a way I can do this, because I have been unsuccessful.

  2. #2
    Join Date
    Nov 2005
    Posts
    3,321
    The easiest way to do that would to be to create your words as graphics--each the same size. Place the names of those images in a stim file and draw them randomly on each trial. This would be done by listing them as sequential stimuli, e.g., $word, $word, $word, in the case that you have three coloured word images. Make sure that in the location (LOC) column of each that you use a clear value of "0", e.g., ".75,.5,0" if you want the words to appear three quarters of the way down the screen and centered horizontally. The final "0" value is the clear value and tells DirectRT to preserve whatever is on the screen when it displays the picture. Since the word pictures are all the same size, each will overwrite the other but the remainder of the screen will appear constant--i.e., your origional picture will remain onscreen the whole time.

    Finally, to have the words change automatically, use a "!" in the min-max value for the style you are applying to the trial. For example, to have the words switch every 500ms, use a min-max value of "0-500!"

    How you proceed from there will depend on whether or not you want them to see all the colours or if you want the trial to end if and when they respond.

    Hope that helps,
    Blair

  3. #3

    Continued Trouble

    I tried this and it did not work. I created the words as bmp files and saved them. When I attempted to place them in a stim file (I used the stim file provided, which was empty) they appeared but, when I entered the file name (as sequential stimuli, $Slide1, $Slide2, etc) the words $Slide1 appeared and not the image.

    I already created the input file and just need this piece to be placed into the input file. I am not sure what I'm doing wrong or if I need to create a new file all together. Any help you can provide would be greatly appreciated.

  4. #4
    Join Date
    Nov 2005
    Posts
    3,321
    Can you zip the folder into a single file and attach it here or send it to support@emp...? I'll take a look and see if I can tell what's wrong.

  5. #5

    Attached the file

    Thank you for all your help I have attached the zip folder and it contains only the experiment (just a shortcut & the file).



    Monica
    Attached Files Attached Files

  6. #6
    Join Date
    Nov 2005
    Posts
    3,321
    Not sure what's going on without seeing the image or stim list files. Try the revision I've attached and see if that helps. Also, try taking any path info out of your stimlist files. e.g., Instead of something like:

    C:\Documents and Settings\Monica\...\stim1
    C:\Documents and Settings\Monica\...\stim2

    Just use:

    stim1
    stim2

    Also, make sure all your stimuli and stimlists are located in the Stim folder that is located in the same folder as your input file.

    If that doesn't help you, try zipping and attaching your stim folder.
    Attached Files Attached Files

  7. #7

    Attached all Files

    I have revised the experiment slightly for ease. I am still having trouble with my stimlist files. I have 4 graphics saved in a stimlist, with my instructions and debrief. Everything is performing correctly except the graphics ( pic09, pic10, pic1, pic2). They are showing up as pics.txt. on the screen instead of the graphic that I created. I have included all files in the zip folder, any help you can provide would be appreciated.



    Monica
    Attached Files Attached Files

  8. #8
    Join Date
    Nov 2005
    Posts
    3,321
    I'm going through the stim folder, but I don not see any stimlist for the pic images. i.e., your file calls from a stimlist called "pics" but I don't see a pics.txt file in your stim folder. In your case, pics.txt should have content that looks something like this:

    pic1.bmp
    pic2.bmp

    [revised by moderator Sep 20, 2007]

    the above should read:

    pic1
    pic2
    Last edited by jarvis24; 09-20-2007 at 12:41 PM.

  9. #9

    Follow Up question

    Okay I just saved the bmp graphics to the stim folder and also created stimlists in the "stim" folder, is that correct? If so, I simply put it in like a notepad document? I feel like I'm getting closer, thanks so much

    Monica
    Last edited by jarvis24; 09-20-2007 at 12:39 PM.

  10. #10
    Join Date
    Nov 2005
    Posts
    3,321
    Try revising such that the stimlists don't use the .bmp extensions like this:

    pic1
    pic2


    I've attached sample to show you. It may be a bug having to do with the explicit use of ".bmp". If you leave it off in the stimlist, DirectRT assumes it's an image file so that's probably the easiest solution for now. See if it helps.
    Attached Files Attached Files

  11. #11

    It Worked!

    It Worked...thanks A Million!!!!!

Similar Threads

  1. Bitmap names in stim list display as text, not pictures
    By aschum in forum DirectRT Older Versions: Troubleshooting
    Replies: 2
    Last Post: 09-20-2007, 01:39 PM
  2. Importing excel stim lists
    By Shears in forum DirectRT Older Versions: How Do I...
    Replies: 5
    Last Post: 08-09-2006, 01:56 PM
  3. Cycling through images over and over again
    By jarvis24 in forum DirectRT Older Versions: How Do I...
    Replies: 1
    Last Post: 01-24-2006, 01:45 PM
  4. Resizing Images?
    By jarvis24 in forum DirectRT Older Versions: How Do I...
    Replies: 1
    Last Post: 12-07-2005, 04:32 PM
  5. Preloading sequential images?
    By jarvis24 in forum DirectRT Older Versions: How Do I...
    Replies: 1
    Last Post: 11-29-2005, 04:41 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •