mindwanderingjeremy
|
|
Group: Forum Members
Posts: 18,
Visits: 43
|
+x+x+x+x+x+x+x+x+xAh yes, great thats a lot easier thanks! Some explanations about what the code you have is actually supposed to do would be nice. For example, this construct here is pretty unclear to me <trial 0backNT> ... / ontrialbegin = [ {if(list.NTselect == 1 || list.NTselect == 2) ... </trial> list.NTselect has no value, it does not sample any item from that list. It's only after all that conditional logic that you actually sample an item from that list, here. ... {if(list.NTselect == 11 || list.NTselect == 12) {values.cxpos = 25; values.sxpos = 75; trial.0backNT.insertstimulusframes(picture.bluecircle, values.onset); trial.0backNT.insertstimulusframes(picture.bluesquare, values.onset)}}; trial.0backNT.insertstimulustime(shape.eraser, parameters.stimulusPresentationtime); list.NTselect.nextvalue; ] Why? Help me understand the reasoning here please, so I can tell you how to express it in correct syntax. I am attempting to tell the code to use certain conditions based on a number selected randomly from that list. I have 12 possible iterations of each trial type based on which shapes are presented on which side and which is the correct response. I thought that the list would automatically select a number given I have the list parameters set to random and select per trial. But I have no idea how to use inquisit code so I am merely guessing based on other experiments in the millisecond database how to do this. Attached is a file with numerous syntax mistakes fixed, largely based on guesses. Is this a joke? How do you mean Ah, forgot one more. Aha thank you. This looks more like my code. Yeah, I'm an idiot and attached the wrong file earlier. (The pitfalls of having all files named experiment.iqx and working on twelve things at once.) Sorry about that. hahaha thats okay, the beauties of working online. I thought you had sent me that other code as a prank due to my confusion. Stimulus presentation works great now so thank you so much for your help!
|
|
|
Dave
|
|
Group: Administrators
Posts: 13K,
Visits: 104K
|
+x+x+x+x+x+x+x+xAh yes, great thats a lot easier thanks! Some explanations about what the code you have is actually supposed to do would be nice. For example, this construct here is pretty unclear to me <trial 0backNT> ... / ontrialbegin = [ {if(list.NTselect == 1 || list.NTselect == 2) ... </trial> list.NTselect has no value, it does not sample any item from that list. It's only after all that conditional logic that you actually sample an item from that list, here. ... {if(list.NTselect == 11 || list.NTselect == 12) {values.cxpos = 25; values.sxpos = 75; trial.0backNT.insertstimulusframes(picture.bluecircle, values.onset); trial.0backNT.insertstimulusframes(picture.bluesquare, values.onset)}}; trial.0backNT.insertstimulustime(shape.eraser, parameters.stimulusPresentationtime); list.NTselect.nextvalue; ] Why? Help me understand the reasoning here please, so I can tell you how to express it in correct syntax. I am attempting to tell the code to use certain conditions based on a number selected randomly from that list. I have 12 possible iterations of each trial type based on which shapes are presented on which side and which is the correct response. I thought that the list would automatically select a number given I have the list parameters set to random and select per trial. But I have no idea how to use inquisit code so I am merely guessing based on other experiments in the millisecond database how to do this. Attached is a file with numerous syntax mistakes fixed, largely based on guesses. Is this a joke? How do you mean Ah, forgot one more. Aha thank you. This looks more like my code. Yeah, I'm an idiot and attached the wrong file earlier. (The pitfalls of having all files named experiment.iqx and working on twelve things at once.) Sorry about that.
|
|
|
mindwanderingjeremy
|
|
Group: Forum Members
Posts: 18,
Visits: 43
|
+x+x+x+x+x+x+xAh yes, great thats a lot easier thanks! Some explanations about what the code you have is actually supposed to do would be nice. For example, this construct here is pretty unclear to me <trial 0backNT> ... / ontrialbegin = [ {if(list.NTselect == 1 || list.NTselect == 2) ... </trial> list.NTselect has no value, it does not sample any item from that list. It's only after all that conditional logic that you actually sample an item from that list, here. ... {if(list.NTselect == 11 || list.NTselect == 12) {values.cxpos = 25; values.sxpos = 75; trial.0backNT.insertstimulusframes(picture.bluecircle, values.onset); trial.0backNT.insertstimulusframes(picture.bluesquare, values.onset)}}; trial.0backNT.insertstimulustime(shape.eraser, parameters.stimulusPresentationtime); list.NTselect.nextvalue; ] Why? Help me understand the reasoning here please, so I can tell you how to express it in correct syntax. I am attempting to tell the code to use certain conditions based on a number selected randomly from that list. I have 12 possible iterations of each trial type based on which shapes are presented on which side and which is the correct response. I thought that the list would automatically select a number given I have the list parameters set to random and select per trial. But I have no idea how to use inquisit code so I am merely guessing based on other experiments in the millisecond database how to do this. Attached is a file with numerous syntax mistakes fixed, largely based on guesses. Is this a joke? How do you mean Ah, forgot one more. Aha thank you. This looks more like my code.
|
|
|
Dave
|
|
Group: Administrators
Posts: 13K,
Visits: 104K
|
+x+x+x+x+x+xAh yes, great thats a lot easier thanks! Some explanations about what the code you have is actually supposed to do would be nice. For example, this construct here is pretty unclear to me <trial 0backNT> ... / ontrialbegin = [ {if(list.NTselect == 1 || list.NTselect == 2) ... </trial> list.NTselect has no value, it does not sample any item from that list. It's only after all that conditional logic that you actually sample an item from that list, here. ... {if(list.NTselect == 11 || list.NTselect == 12) {values.cxpos = 25; values.sxpos = 75; trial.0backNT.insertstimulusframes(picture.bluecircle, values.onset); trial.0backNT.insertstimulusframes(picture.bluesquare, values.onset)}}; trial.0backNT.insertstimulustime(shape.eraser, parameters.stimulusPresentationtime); list.NTselect.nextvalue; ] Why? Help me understand the reasoning here please, so I can tell you how to express it in correct syntax. I am attempting to tell the code to use certain conditions based on a number selected randomly from that list. I have 12 possible iterations of each trial type based on which shapes are presented on which side and which is the correct response. I thought that the list would automatically select a number given I have the list parameters set to random and select per trial. But I have no idea how to use inquisit code so I am merely guessing based on other experiments in the millisecond database how to do this. Attached is a file with numerous syntax mistakes fixed, largely based on guesses. Is this a joke? How do you mean Ah, forgot one more.
|
|
|
mindwanderingjeremy
|
|
Group: Forum Members
Posts: 18,
Visits: 43
|
Look Dave, I understand it may be frustrating for you when someone is unclear about what theyre asking. I am trying my best to be as clear as possible given my complete lack of understanding of how inquisit works. I am attempting to learn this code on the fly to get an experiment running with no guidance. To revert back to my original question, I am not asking for you to fix my code for me, I am asking if it is possible to use conditional if statements in the trial parameters which refer to list numbers as a way of modifying which stimulus is presented in each trial. If you can do this, what are the syntax rules for using conditional if statements in trial parameters. If you cannot do this then I can think of another way of doing it.
|
|
|
Dave
|
|
Group: Administrators
Posts: 13K,
Visits: 104K
|
+x+x+x+x+xAh yes, great thats a lot easier thanks! Some explanations about what the code you have is actually supposed to do would be nice. For example, this construct here is pretty unclear to me <trial 0backNT> ... / ontrialbegin = [ {if(list.NTselect == 1 || list.NTselect == 2) ... </trial> list.NTselect has no value, it does not sample any item from that list. It's only after all that conditional logic that you actually sample an item from that list, here. ... {if(list.NTselect == 11 || list.NTselect == 12) {values.cxpos = 25; values.sxpos = 75; trial.0backNT.insertstimulusframes(picture.bluecircle, values.onset); trial.0backNT.insertstimulusframes(picture.bluesquare, values.onset)}}; trial.0backNT.insertstimulustime(shape.eraser, parameters.stimulusPresentationtime); list.NTselect.nextvalue; ] Why? Help me understand the reasoning here please, so I can tell you how to express it in correct syntax. I am attempting to tell the code to use certain conditions based on a number selected randomly from that list. I have 12 possible iterations of each trial type based on which shapes are presented on which side and which is the correct response. I thought that the list would automatically select a number given I have the list parameters set to random and select per trial. But I have no idea how to use inquisit code so I am merely guessing based on other experiments in the millisecond database how to do this. Attached is a file with numerous syntax mistakes fixed, largely based on guesses. Is this a joke? How do you mean
|
|
|
mindwanderingjeremy
|
|
Group: Forum Members
Posts: 18,
Visits: 43
|
+x+x+x+xAh yes, great thats a lot easier thanks! Some explanations about what the code you have is actually supposed to do would be nice. For example, this construct here is pretty unclear to me <trial 0backNT> ... / ontrialbegin = [ {if(list.NTselect == 1 || list.NTselect == 2) ... </trial> list.NTselect has no value, it does not sample any item from that list. It's only after all that conditional logic that you actually sample an item from that list, here. ... {if(list.NTselect == 11 || list.NTselect == 12) {values.cxpos = 25; values.sxpos = 75; trial.0backNT.insertstimulusframes(picture.bluecircle, values.onset); trial.0backNT.insertstimulusframes(picture.bluesquare, values.onset)}}; trial.0backNT.insertstimulustime(shape.eraser, parameters.stimulusPresentationtime); list.NTselect.nextvalue; ] Why? Help me understand the reasoning here please, so I can tell you how to express it in correct syntax. I am attempting to tell the code to use certain conditions based on a number selected randomly from that list. I have 12 possible iterations of each trial type based on which shapes are presented on which side and which is the correct response. I thought that the list would automatically select a number given I have the list parameters set to random and select per trial. But I have no idea how to use inquisit code so I am merely guessing based on other experiments in the millisecond database how to do this. Attached is a file with numerous syntax mistakes fixed, largely based on guesses. Is this a joke?
|
|
|
mindwanderingjeremy
|
|
Group: Forum Members
Posts: 18,
Visits: 43
|
+x+xAh yes, great thats a lot easier thanks! Some explanations about what the code you have is actually supposed to do would be nice. For example, this construct here is pretty unclear to me <trial 0backNT> ... / ontrialbegin = [ {if(list.NTselect == 1 || list.NTselect == 2) ... </trial> list.NTselect has no value, it does not sample any item from that list. It's only after all that conditional logic that you actually sample an item from that list, here. ... {if(list.NTselect == 11 || list.NTselect == 12) {values.cxpos = 25; values.sxpos = 75; trial.0backNT.insertstimulusframes(picture.bluecircle, values.onset); trial.0backNT.insertstimulusframes(picture.bluesquare, values.onset)}}; trial.0backNT.insertstimulustime(shape.eraser, parameters.stimulusPresentationtime); list.NTselect.nextvalue; ] Why? Help me understand the reasoning here please, so I can tell you how to express it in correct syntax. I am attempting to tell the code to use certain conditions based on a number selected randomly from that list. I have 12 possible iterations of each trial type based on which shapes are presented on which side and which is the correct response. I thought that the list would automatically select a number given I have the list parameters set to random and select per trial. But I have no idea how to use inquisit code so I am merely guessing based on other experiments in the millisecond database how to do this.
|
|
|
Dave
|
|
Group: Administrators
Posts: 13K,
Visits: 104K
|
+xAh yes, great thats a lot easier thanks! Some explanations about what the code you have is actually supposed to do would be nice. For example, this construct here is pretty unclear to me <trial 0backNT> ... / ontrialbegin = [ {if(list.NTselect == 1 || list.NTselect == 2) ... </trial> list.NTselect has no value, it does not sample any item from that list. It's only after all that conditional logic that you actually sample an item from that list, here. ... {if(list.NTselect == 11 || list.NTselect == 12) {values.cxpos = 25; values.sxpos = 75; trial.0backNT.insertstimulusframes(picture.bluecircle, values.onset); trial.0backNT.insertstimulusframes(picture.bluesquare, values.onset)}}; trial.0backNT.insertstimulustime(shape.eraser, parameters.stimulusPresentationtime); list.NTselect.nextvalue; ] Why? Help me understand the reasoning here please, so I can tell you how to express it in correct syntax.
|
|
|
mindwanderingjeremy
|
|
Group: Forum Members
Posts: 18,
Visits: 43
|
Ah yes, great thats a lot easier thanks!
|
|
|