Empirisoft Support

    Welcome to Empirisoft Support
Results 1 to 6 of 6

Thread: DirectRT creating copies of input files (case 15758)

  1. #1
    Join Date
    Feb 2008
    Posts
    19

    DirectRT creating copies of input files (case 15758)

    Sorry if there's already a thread on this that I missed.

    Why does DirectRT sometimes create copies of input files? For an experiment I just programmed, there's a copy of the input file for each participant in the main experiment folder (of the format ExperimentName_1.csv, ExperimentName_2.csv). This does not happen for all of my programs, and I would prefer to stop it from happening. What have I inadvertently done to cause this, and how can I fix it?

    Thanks!
    Last edited by jason_reed; 08-26-2014 at 10:36 AM.

  2. #2
    Join Date
    Feb 2013
    Posts
    1,078
    If you could please upload a copy of your original .csv input file, I will be happy to look at it to figure out what is generating the other copies.
    Jason Reed
    Empirisoft Software Support Specialist

  3. #3
    Join Date
    Feb 2008
    Posts
    19
    Thanks -- file attached!

    Quote Originally Posted by jason_reed View Post
    If you could please upload a copy of your original .csv input file, I will be happy to look at it to figure out what is generating the other copies.
    Attached Files Attached Files

  4. #4
    Join Date
    Feb 2013
    Posts
    1,078
    It's because of the rand(250-750) in column K. As it says in the Using Random Values seciton of the DirectRT manual (http://www.empirisoft.com/directrt/h...m_values.htm):

    "When asked to run an input file DirectRT will first scan the file for any instances of the rand() keyword. It will generate the random value as requested and replace the request with the randomized value. DirectRT will then save the results as a new input file--it will share the same name as the origional file but will have the subject ID appended to it. So if your file is called "myfile.csv" and your subject ID is 22, then the new input file will be called "myfile_22.csv" and this is the file that DirectRT will run.In fact, this is a good way to check if you're getting the randomization values you want--after the session, you can open the revised input file and see the actual random values that DirectRT generated. The log data file will also be a good source of information on what random values were generated."

    The additional files contain the actual random value chosen and used when your DirectRT input file ran for the Subject ID appended to the name of the original. The only way to stop the creation of those additional files would be to not use the random number function in the spreadsheet.
    Jason Reed
    Empirisoft Software Support Specialist

  5. #5
    Join Date
    Feb 2008
    Posts
    19
    Oh!! Faulty memory -- I thought I'd read that the randomized value was entered into the _log.csv data file rather than a copy of the input file. Thank you for your prompt reply!

    Quote Originally Posted by jason_reed View Post
    It's because of the rand(250-750) in column K. As it says in the Using Random Values seciton of the DirectRT manual (http://www.empirisoft.com/directrt/h...m_values.htm):

    "When asked to run an input file DirectRT will first scan the file for any instances of the rand() keyword. It will generate the random value as requested and replace the request with the randomized value. DirectRT will then save the results as a new input file--it will share the same name as the origional file but will have the subject ID appended to it. So if your file is called "myfile.csv" and your subject ID is 22, then the new input file will be called "myfile_22.csv" and this is the file that DirectRT will run.In fact, this is a good way to check if you're getting the randomization values you want--after the session, you can open the revised input file and see the actual random values that DirectRT generated. The log data file will also be a good source of information on what random values were generated."

    The additional files contain the actual random value chosen and used when your DirectRT input file ran for the Subject ID appended to the name of the original. The only way to stop the creation of those additional files would be to not use the random number function in the spreadsheet.

  6. #6
    Join Date
    Feb 2013
    Posts
    1,078
    My pleasure. Good luck!
    Jason Reed
    Empirisoft Software Support Specialist

Similar Threads

  1. DirectRT is not creating a destination folder for data files (case 11400)
    By bwshellard in forum DirectRT v2018: Troubleshooting
    Replies: 7
    Last Post: 04-25-2014, 05:02 PM
  2. Upgrade from DirectRT 2010 to DirectRT 2012 input files no longer run(case 5390)
    By jholzinger in forum DirectRT v2018: Troubleshooting
    Replies: 4
    Last Post: 02-19-2013, 11:31 AM
  3. Can't run any input files
    By jwayand in forum DirectRT Older Versions: Troubleshooting
    Replies: 2
    Last Post: 08-03-2010, 11:31 AM
  4. Administer multiple input files
    By jarvis24 in forum DirectRT Older Versions: Suggestions
    Replies: 1
    Last Post: 04-02-2007, 12:10 PM
  5. DirectRT generating extra copies of my input file?
    By jarvis24 in forum DirectRT Older Versions: Troubleshooting
    Replies: 1
    Last Post: 09-19-2006, 12:48 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •