Using sliders or line marking as responses in E-Prime
 
PST User Forum
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        


12»»

Using sliders or line marking as responses in... Expand / Collapse
Author
Message
Posted 12/10/2008 4:05:23 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 12/10/2008 4:45:22 PM
Posts: 1, Visits: 3
Has anyone written or aware of a program that allows participants to respond via slider or by clicking on a location on a line?

I have been using a paper measure in which participants report their confidence by putting a mark on a line spanning from "Not" to "Very." I've been using a line because I have them make this judgment multiple times and I would prefer to avoid their remembering their previous assessment.

I am moving towards computerizing my task, but would like to keep the line-marking format as similar to the paper form as possible. As such, what I was hoping to accomplish was to create a display of multiple such lines on screen (as participants make multiple judgments) and for them to be able to click on each line or click and drag a slider to indicate their response. My hope was to make the responses stay visible on each line and be manipulable until they pressed a final "Submit" button. Further, I would need E-Prime to save each response value (preferably as a proportion of the total line length).

I was hoping that someone on the forum may have used a similar methodology or have some advice as to how to go about programming this interface into E-Prime.

Thank you in advance for any comments you might have.
Post #2559
Posted 1/8/2009 12:09:26 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 2/14/2010 1:51:11 PM
Posts: 1, Visits: 18
Hi there,

I'm facing the same problem: Trying to have eprime to identify and collect the location of a mouse click on a line.

I used the following script:

'Designate "theState" as the Default Slide State, which is the
'current, ActiveState on the Slide object "Stimulus"
Dim theState as SlideState
Set theState = Stimulus.States ("Default")

Dim ptMouse As Point
Dim strHit As String

'Find coordinates of mouse click
Mouse.GetCursorPos ptMouse.x, ptMouse.y

c.SetAttrib "MouseX", ptMouse.x
c.SetAttrib "MouseY", ptMouse.y

The problem that remains is that eprime is not able to give the correct coordinates...
I hope someone has some great ideas to fix this...

Post #2626
Posted 1/9/2009 12:50:22 PM
Forum Guru

Forum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum Guru

Group: Moderators
Last Login: 8/29/2011 7:31:10 AM
Posts: 146, Visits: 995
Hello,

I would recommend taking a look at <sample>39</sample> for a very basic version of a rating scale. For a more complicated version that uses a slider to collect the subject's rating, please take a look at the attached file. This is a modified version of the Visual Analog Sample that I created using techniques described in <sample>53</sample>. Essentially, a Slide sub-object is moved in relation to the subject's mouse cursor movement once the "slider" is clicked. When the subject releases the left mouse button, their rating is logged based on a 1-100 scale.

Please let me know if you have any questions.

  Post Attachments 
VASSlider.es (257 views, 23.34 KB)

Post #2630
Posted 1/26/2009 5:43:00 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 1/27/2009 5:58:36 PM
Posts: 3, Visits: 6
Would it be possible to have such a scale but to use a 10-key keypad to move the "slider" to the desired location then "submit" the answer by pressing another button? An example of this method being pressing '1' button to move slider left, '2' button to move slider right, and '8' button to submit answer and bring up next question.
Post #2673
Posted 2/9/2009 1:45:44 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 6/26/2009 7:17:41 AM
Posts: 1, Visits: 9
Hello,

I try to implement the VASSlider, but I hit a error message if I try to set the "Allowable"-List in the CollectorRelease to {-1}. The error message is:

"Value contains releases and Device is not accepting releases"

I set the mouse as a device exactly< as it is in the example script. Anybody any ideas?
Post #2699
Posted 2/16/2009 2:59:51 PM
Forum Guru

Forum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum Guru

Group: Moderators
Last Login: 8/29/2011 7:31:10 AM
Posts: 146, Visits: 995
Hello,

Can you attach the ES file that is giving you issues to a response? If you do not feel comfrotable doing this, please create a request on our support site and attach it there.

Post #2730
Posted 3/2/2009 5:34:10 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 12/3/2009 5:30:21 AM
Posts: 2, Visits: 20
I am getting the same error message. did you get any advise from support?

thank you for letting me know.

Post #2796
Posted 3/2/2009 8:45:12 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 12/3/2009 5:30:21 AM
Posts: 2, Visits: 20
just saw that it can be changed by editing the device in the Experiment Object directly. The mouse properties can be edited via the devices tab - the Collection Mode needs to be changed from the default 'Presses Only'  to 'Presses and Releases'.

hope this helps.

Post #2797
Posted 3/2/2009 8:49:15 AM
Forum MVP

Forum MVPForum MVPForum MVPForum MVPForum MVPForum MVPForum MVPForum MVP

Group: Forum Members
Last Login: 2 days ago @ 5:27:05 PM
Posts: 707, Visits: 2,733
No need to bother Matt or PST Support. The meaning of this error is simple, though obscure. You just need to set the Collection Mode of the Keyboard Device to Presses and Releases. You do that from the Property Pages of the Experiment object (e.g., Edit > Experiment), go to the Devices tab, double-click on Keyboard, and change Collection Mode to Presses and Releases. Please see the "{key} nomenclature" topic in the online E-Basic Help.

-- David McFarlane, Professional Faultfinder
Post #2798
Posted 3/2/2009 8:52:04 AM
Forum MVP

Forum MVPForum MVPForum MVPForum MVPForum MVPForum MVPForum MVPForum MVP

Group: Forum Members
Last Login: 2 days ago @ 5:27:05 PM
Posts: 707, Visits: 2,733
Oops, I forgot to include the quote to make it clear what I was referring to, let's try that again (sure wish I could delete or edit previous posts):

Andrej (2/9/2009)
I try to implement the VASSlider, but I hit a error message if I try to set the "Allowable"-List in the CollectorRelease to {-1}. The error message is:

"Value contains releases and Device is not accepting releases"

I set the mouse as a device exactly< as it is in the example script. Anybody any ideas?

No need to bother Matt or PST Support. The meaning of this error is simple, though obscure. You just need to set the Collection Mode of the Keyboard Device to Presses and Releases. You do that from the Property Pages of the Experiment object (e.g., Edit > Experiment), go to the Devices tab, double-click on Keyboard, and change Collection Mode to Presses and Releases. Please see the "{key} nomenclature" topic in the online E-Basic Help.

-- David McFarlane, Professional Faultfinder
Post #2799
« Prev Topic | Next Topic »

12»»

Permissions Expand / Collapse

All times are GMT -5:00, Time now is 4:08pm

Powered By InstantForum.NET v4.1.4 © 2012
Execution: 0.156. 10 queries. Compression Disabled.
 
Privacy | Terms of Use | Terms and Conditions | Legal Trademarks | Authorized Use | Quality Policy
Copyright 2012 Psychology Software Tools, Inc. All Rights Reserved
Email: Info@pstnet.com | Telephone: 412.449.0078 | Fax: 412.449.0079