![]() ![]() If the duration is not known in advance (e.g. At the moment it makes a distinction between routines whose duration is known "at compile time", which get non-slip timing applied (and the cherished green routine icon in the flow panel). PSYCHOPY NOT DEFINED CODEOnly paste JavaScript from Both and JS only code components to clarify that these have been manually edited.Apologies for the length of this, but it might be useful to provide context for the problem to then explore how it might be resolved.īuilder has a long-standing issue that leads to unnecessary accumulation of timing errors across consecutive trials. ![]() If the issue is with an Auto code component, then you should paste the contents of the Python side as preformatted text, as well as showing the screenshot. PSYCHOPY NOT DEFINED PLUSSince most of the JavaScript code is generated automatically, either from Builder components or by Auto translations in code components it is most useful to show screen shots from Builder (the flow and the relevant routine, plus the contents of the component with the issue). You should also set your experiment not to save incomplete results using the Dashboard entry for your project so no credits are consumed during testing. Add a final routine with a text component that doesn’t end (possibly unless you press a key such as = which isn’t typically used). Since Pilot tokens expire, the easiest way to allow others to view your experiment is to set it to RUNNING and allocate it a small number of credits. If you have a Browser error near the beginning of your experiment, it is helpful to allow people to try it for themselves. Include the version of PsychoPy you are using and a usable link to your experiment. Give your new topic a useful title such as the text of the error message and/or a short clear description of what is going wrong. Other if you are having issues that aren’t related to a particular experiment. Online experiments if you are planning to run your experiment online.īuilder if you are using PsychoPy Builder for a local experiment.Ĭoding if you are using PsychoPy Coder for a local experiment. ![]() If you are unable to solve the problem with existing solutions already posted on the forum then either add a post to a thread which refers to the same issue and doesn’t have a solution or start a new thread and include a link to the solution you tried or the most similar thread you have come across in your search. If a post you create is solved by a suggestion please mark that response with as the “solution”. If your issue is solved thanks to a solution you found in a thread, we recommend adding a +1 or like reaction to the post that helped you (remember many of those who support our forum are volunteers! so it’s useful to show appreciation and indicate to others seeking help which answer was used by others). You may also find the solution in Wakefield Morys-Carter’s PsychoPy to JS crib sheet. Some threads are marked with a tick before the name to indicate that they contain a solution. Once you have identified the error message or behaviour you are trying to fix, search the PsychoPy forum for other threads discussing the same issue, using keywords from your error message or issue. See Resources in online studies for more information. PSYCHOPY NOT DEFINED HOW TOResources that are selected via code components should be added via Experiment Settings / Online / Additional Resources (see how to Configure the online settings of your experiment) or a Resource Manager Component. Resources (spreadsheets, images, etc.) should be in the same folder as the psyexp file or a sub-folder. Your code is executed in order from left to right (in the flow) and from top to bottom (within each routine).Įxperiment Settings / Online / Output path should be blank. Upload your files to Gitlab by synchronising using PsychoPy Builder, rather than using Git commands.Ĭode components should be set to Auto translate (“Code Type” > Auto > JS) unless you know why you need to use different code for Python and JavaScript.Ĭode components should normally be moved to the top of their respective routines. This folder should only contain subfolders that pertain to the experiment. Make changes via Builder.Įach Builder (psyexp) file should be in its own dedicated local folder, which should not be in an area currently under version control (e.g.a github project, Google drive or Onedrive). Check whether the features you are using are supported online via our Status of online options page.ĭon’t try to edit JavaScript files on Pavlovia directly. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |