Empirisoft Support

    Welcome to Empirisoft Support
Results 1 to 12 of 12

Thread: visual analog scale (VAS)

  1. #1
    Join Date
    Dec 2007
    Posts
    11

    visual analog scale (VAS)

    Is there any way to implement a VAS in DirectRT (without MediaLab)?

  2. #2
    Join Date
    Nov 2005
    Posts
    3,328
    Not with a moving slider, but you could work it out if you are ok with subjects simply clicking on a point on an image-based continuum. It would be done via setting up cursor regions.

    e.g., see www.empirisoft.com/directrt/help/lightgun_touchscreen_cursor.htm

  3. #3
    Join Date
    Dec 2007
    Posts
    11
    Could you create ten bmp files (more to increase the resolution) showing the indicator bar in increments from left to right, depending on the left or right button being selected, the appropraite bmp would be selected (giving the impression that the bar is moving to the left or right)?

  4. #4
    Join Date
    Nov 2005
    Posts
    3,328
    Hmm, not sure I'm able to picture this. However, if you are asking if you could change or update the image based on where they click, then yes. You would see brief flash equal to the trial interval, but you could set up conditional jumps.

  5. #5
    Join Date
    Dec 2007
    Posts
    11
    I think it would be easy to conceptulize if you think about a child's flip book, the main difrence being this could scroll either up or down depending on the the arrow key that is pressed.

    If this is imposble to do in DirectRt, how would it look (accepting a screen refresh bettween frames) if you had unique trial for each frame.

    I have attached 11 images that could be used to make a proof of concept.
    Attached Files Attached Files

  6. #6
    Join Date
    Dec 2007
    Posts
    11
    Did this make any sense?

    if you pressed the right arrow key it would be like the flip (scrolled through) book is moving being fliped to the right and if you pressed the left arrow key it would be like the book is being fliped (scrolled through) to the left.

  7. #7
    Join Date
    Nov 2005
    Posts
    3,328
    It did. You could do this in theory but it would be complicated and require many trials to cover the contingencies. Say you are using the 11 point scale you attached and the cursor is set in the middle (50) at the start. You would need 2 trials to follow the initial trial--one that shows it set at 40 in case "left" is pressed and one that shows it set at 60 in case "right is pressed". This is where is gets complicated. You then need to have each of those two trials followed by two such trials to handle the new contingencies. And then so, and so on. I can imagine this being done but it's hard to picture it being any fun.

    I do think this would be a useful feature for DirectRT. In the mean time though (since it's currently not), I'd do it in MediaLab using the existing custom items that do this sort of thing. Or, in DirectRT, I'd go with a numeric key or mouse click that jumps to where they click (one time only) rather than trying to scroll with the arrow keys--they would be pretty easy.

    Hope that helps.

  8. #8
    Join Date
    Nov 2008
    Posts
    10

    Similar idea

    Hi there,

    I am also attempting something similar. I have figured out how to present an image of a line. I will ask participants to click anywhere below the line (with the tails representing different extremes). I have created my cursor areas corresponding to different regions of the line.

    My problem is that I can't seem to figure out a way to get the data file or the log file to tell me which area the participant has clicked (i.e. the actual value of the 'area ID'). I want them to be able to click ANY of them (say there are 10) and then know which one they have selected on every trial.

    Thanks !

    Heath Matheson

  9. #9
    Join Date
    Mar 2009
    Posts
    401
    Heath;
    I think I understand what you're trying to do.

    Within this post I've attached two files:

    cursor.zip is an edited version of the sample file:
    'C:\DirectRT\Samples\6 v2006\cursor\cursor.csv' . The edited version contains an input file that may help point you in the direction you're aiming.

    original.zip is the original version of the sample file:
    'C:\DirectRT\Samples\6 v2006\cursor\cursor.csv' . Noticing the difference between the input files may help.

    Also --
    Out of curiosity, what version of DirectRT are you running? You should be able to find a four-digit version number by navigating to the 'Help->About' menu item.
    Attached Files Attached Files
    Last edited by Trevor Newell; 09-03-2010 at 01:04 PM.

  10. #10
    Join Date
    Nov 2008
    Posts
    10
    Hi thanks! I will take a look. In the meantime my version is :
    DirectRT Precision Timing Software
    Version 2006.2.0.28

  11. #11
    Join Date
    Nov 2008
    Posts
    10
    Are there elements in the newer version that would make this easier?

  12. #12
    Join Date
    Nov 2005
    Posts
    3,328
    v2010 uses pretty much the same method as prior versions. Is there any part in particular you were having trouble with? Happy to help. Also, the new version (v2010) will have HTML capability built into it at some point during its release (something along the lines of custom items in MediaLab which will make this kind of thing much easier). DirectRT v2010 is supposed to be posted this week and that HTML functionality should come along in the following months (it will be a free update of course for 2010 users when it becomes available). Hope that helps.

Similar Threads

  1. Visual Basic .XLA message
    By jarvis24 in forum DirectRT Older Versions: Troubleshooting
    Replies: 1
    Last Post: 01-17-2007, 04:32 PM
  2. Visual Analog Scale (VAS)
    By jarvis24 in forum MediaLab Older Versions: How Do I...
    Replies: 1
    Last Post: 11-09-2006, 03:04 PM
  3. Visual Probe in DirectRT
    By surpass in forum DirectRT Older Versions: How Do I...
    Replies: 1
    Last Post: 10-17-2006, 04:54 PM
  4. Divided Visual Fields
    By Shears in forum DirectRT Older Versions: How Do I...
    Replies: 1
    Last Post: 09-13-2006, 02:31 PM
  5. Rosenberg Self Esteem Scale
    By jarvis24 in forum MediaLab Older Versions: Sharing Area
    Replies: 0
    Last Post: 04-21-2006, 11:55 AM

Posting Permissions

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