Reply
Page 1 of 2:  1  2  
Thread Tools  
rlaguswl6442
Junior Member
 
Join Date: Sep 2015
Location: South Korea
rlaguswl6442 is on a distinguished road Posts: 28
Having problems with digital output, Posted January 25th, 2017 #1
Hello there,

I am having a problem with setting three different kinds of digital outputs in my task-switching paradigm.

To explain shortly about the task before anything, it's deciding whether the number given is more/less than 5 OR the number given is even/odd.

The change of this criterion is indicated by the rectangle surrounding the number.

I am planning to do an ERP analysis on

1. pre-switching trials(1st,2nd,3rd trials before rule change(rectangle))
2. switching trial itself (rectangle one)
3. post-switching trials (1st,2nd,3rd trials after the rule change(rectangle))

regardless of the changing criterion.

but this stimulus grouping(stimulus list) makes it harder to set digital outputs into certain trials inside the list

I have attached my file as it is complex to say it into words. (I also included the schematic of the experimental paradigm)

Thanks in advance.
Attached Files
File Type: zip taskswitching forum (2).zip (350.2 KB, 4 views)
Reply With Quote
Arman
Support
 
Join Date: Jun 2016
Arman is on a distinguished road Posts: 158
Posted January 27th, 2017 #2
Create a tag set for your stimulus list items; then, within the respective trial's rules, depending on which tag is set - i.e. which list item was presented - you can present a certain digital output event.
Reply With Quote
rlaguswl6442
Junior Member
 
Join Date: Sep 2015
Location: South Korea
rlaguswl6442 is on a distinguished road Posts: 28
Posted February 1st, 2017 #3
I have created three different kinds of tags (Pre-Switch, On Switch, Post-switch) and have tagged them to the matching ones in each stimulus list.

However, the tags keep changing (ex. I have set three post-switches but when I close the setting window, it changes to four post-switches automatically)

So sometimes, four digital outputs pops out and I cannot figure out the reason.

That is my first problem with the experiment.

The second problem is digital outputs don't show up when it is supposed to.
The digital output comes out one event earlier than it is supposed to be.

I would like to get help on this one as it is important/urgent to me. Thanks in advance!
Reply With Quote
rlaguswl6442
Junior Member
 
Join Date: Sep 2015
Location: South Korea
rlaguswl6442 is on a distinguished road Posts: 28
Posted February 1st, 2017 #4
Below is the Attachment!
Attached Files
File Type: zip task.zip (317.3 KB, 4 views)
Reply With Quote
Arman
Support
 
Join Date: Jun 2016
Arman is on a distinguished road Posts: 158
Posted February 3rd, 2017 #5
Before we continue exploring tag sets as a solution, please look at the attached experiment. I have moved your digital output events to the top of the event section and linked them to your trials before the presentation of your stimuli.

As far as I understand your experiment, this method works. Take a look at it; if it doesn't satisfy your requirements, please explain why.
Attached Files
File Type: zip digitalOutputs.zip (121.5 KB, 3 views)
Reply With Quote
rlaguswl6442
Junior Member
 
Join Date: Sep 2015
Location: South Korea
rlaguswl6442 is on a distinguished road Posts: 28
digital output / setting rules?, Posted February 7th, 2017 #6
I am sorry for my poor explanation. Unfortunately it didn't solve my problem.

To put it very simple, I want two kinds of digital outputs to be set on time.

Digital Output A and Digital Output B.

so for every first three numbers between changes, I want to set digital output A
for every last three numbers between changes, I want digital output B to come out.

A-A-A-x-x-B-B-B-"change"-A-A-A-x-x-x-x-x-B-B-B-"change" and so on.

I have done tagging stimulus lists with digital outputs and setting rules in trial windows, However, the digital output doesn't come out at the right time (I have tried moving digital outputs to upwards as you told me)

So basically the digital output A starts at the "second" A not the first!

Please help me out on this one and remind me how it is done!

Thanks in advance. I very much appreciate it!
Attached Files
File Type: zip block4 (2).zip (410.1 KB, 2 views)
Reply With Quote
Arman
Support
 
Join Date: Jun 2016
Arman is on a distinguished road Posts: 158
Posted February 8th, 2017 #7
Thank you for clarifying. I have adjusted your experiment appropriately. See the attachment.

In each list, I've tagged the first two items as post and the three items before the last as pre. Change trials should be presenting post rather than change digital outputs; you can see that tags are not necessary to send change digital output because you can do so using the standard linking method.
Attached Files
File Type: zip tagsAndOutputs.zip (127.8 KB, 10 views)
Reply With Quote
rlaguswl6442
Junior Member
 
Join Date: Sep 2015
Location: South Korea
rlaguswl6442 is on a distinguished road Posts: 28
tagging problem, Posted February 10th, 2017 #8
Thank you so much for your support. You have solved my problem I've dealing with for few weeks..

Though, I have another problem that came up and I am hoping this will be the last.

In the file you have attached, if you look into stimulus list items in 'lm4' for example, the numbers are mostly in size order.

I manually randomized the lm4 items in the list item tab
and tried to re-tag them to fit into my experiment.

However, in the process of canceling and re-tagging, the "already canceled tags" keep coming back to the original settings.

How could I solve this?
I appreciate it. Thank you!
Reply With Quote
Arman
Support
 
Join Date: Jun 2016
Arman is on a distinguished road Posts: 158
Posted February 14th, 2017 #9
Thank you for bringing this to my attention.

A workaround can be to create another tag for the Pre or Post set called "none". Rather than cancelling the tag, select "none". This should suffice because your rules only respond to the "pre" and "post" tags.
Reply With Quote
rlaguswl6442
Junior Member
 
Join Date: Sep 2015
Location: South Korea
rlaguswl6442 is on a distinguished road Posts: 28
Posted February 15th, 2017 #10
I solved the problem. Thank you very much. I appreciate it.
Reply With Quote
Reply « Previous Thread - SuperLab 5 Support - Next Thread »
Page 1 of 2:  1  2  
Tags
digital output, task switching
Thread Tools
Posting Rules
Forum Jump:
Copyright Cedrus Corporation, 1991-2014.
All times are GMT -7. The time now is 10:44 PM.