jx
New Member
Posts: 1
|
Post by jx on May 11, 2021 9:59:39 GMT
I've seen that some good prewritten examples of those are available in the experiment library, so I want to merge 5-8 tasks into one programming project..However, the files of these prewritten examples have some overlap issues. I have tried to merge 2-3 task codes together, but there are many conflicts (errors and bugs) when I compile it. Specifically, different tasks were written by different logics and combining them together will result in some redefined and unrecognizable codes errors. I tried to revise the error, but according to the error report, the structure of both codes also needs to be rewritten. In this case, I probably need to understand the meaning of each line of the coding. But the meaning of some codes is not mentioned in the tutorial videos.
Is there any solutions that can effectively and perfectly integrate the codes of several tasks into a single programming project and that can avoid code conflicts between each task?
Many thanks in advance
|
|
|
Post by matia on May 12, 2021 11:14:44 GMT
Hello, the most obvious problem, that I can think of is the data collection. For example, variables for Visual search task and Simon task are rather different. The way in which You can (probably) do what you wish is to have all the experiments that you want in your project embedded into survey as separate experiments.
l: SimonTask t: experiment q: Please do the following experiment - Simon
l: VisualSearch t: experiment q: Please do the following experiment - VisualSearchTask
... So instead of someone going through Simon task and then in the next block proceeds to Visual search task, you should define one experiment at a time in the survey. This means that after finishing one experiment, another will have to compile (red rectangle Click to start) but I don't think it should be big deal.
Another potential caveat may be the excess of data files. Because you will end up with a zip file consisting of N*experiments number of datafiles. I mean, it's not a problem, but something to think about. If you do this in this way, I don't think that you should concern with the structure of pre-written experiments, just load them up and you are ready to go Best, Matia
|
|