﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>Millisecond Forums » Millisecond Forums » Inquisit 4  » Saving (survey) data to a server location</title><generator>InstantForum 2017-1 Final</generator><description>Millisecond Forums</description><link>https://forums.millisecond.com/</link><webMaster>Millisecond Forums</webMaster><lastBuildDate>Wed, 29 Apr 2026 20:05:01 GMT</lastBuildDate><ttl>20</ttl><item><title>Saving (survey) data to a server location</title><link>https://forums.millisecond.com/Topic13338.aspx</link><description>Dear Inquisit's,&lt;div&gt;we have a laboratory with 20 workstations + &amp;nbsp;one server. We'd like to save the data to the server directly instead of collecting it from the workstations.&lt;div&gt;Hypothetically all subjects answer the same survey and finish at the same time. Do we have to face any issues when 20 workstations try to write to the same "demographics.iqdat"? If so, how can we prevent this?&lt;div&gt;&lt;span style="font-size: 10pt;"&gt;ATB, Max&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</description><pubDate>Fri, 23 May 2014 06:37:05 GMT</pubDate><dc:creator>Max</dc:creator></item><item><title>RE: Saving (survey) data to a server location</title><link>https://forums.millisecond.com/Topic13353.aspx</link><description>Sorry, didn't realize you were asking about OSX. That's currently broken / not possible (a bug report for that already exists, so no need for further action).&lt;br/&gt;</description><pubDate>Fri, 23 May 2014 06:37:05 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>RE: Saving (survey) data to a server location</title><link>https://forums.millisecond.com/Topic13352.aspx</link><description>[quote][b]Max (5/23/2014)[/b][hr]Sorry Dave, I tried it for the standard Stroop task but couldn't get it working. See attached screenshot for the folder structure and the error message.&amp;nbsp;&lt;div&gt;&lt;br/&gt;&lt;/div&gt;&lt;div&gt;&lt;br/&gt;&lt;/div&gt;[/quote]&lt;br/&gt;&lt;div&gt;&lt;br/&gt;arrrghhh, the raw folder is one level above, but it's still not working.&lt;/div&gt;</description><pubDate>Fri, 23 May 2014 06:28:35 GMT</pubDate><dc:creator>Max</dc:creator></item><item><title>RE: Saving (survey) data to a server location</title><link>https://forums.millisecond.com/Topic13351.aspx</link><description>Sorry Dave, I tried it for the standard Stroop task but couldn't get it working. See attached screenshot for the folder structure and the error message.&amp;nbsp;&lt;div&gt;&lt;br/&gt;&lt;/div&gt;&lt;div&gt;&lt;br/&gt;&lt;/div&gt;</description><pubDate>Fri, 23 May 2014 06:23:43 GMT</pubDate><dc:creator>Max</dc:creator></item><item><title>RE: Saving (survey) data to a server location</title><link>https://forums.millisecond.com/Topic13350.aspx</link><description>To save the data to a subfolder relative to the the script's location, use&lt;div&gt;&lt;div&gt;&lt;br/&gt;&lt;/div&gt;&amp;lt;data&amp;gt;&lt;br/&gt;[...]&lt;br/&gt;&lt;strong&gt;/ file = "./raw/"&lt;/strong&gt;&lt;br/&gt;/ separatefiles = true&lt;br/&gt;&amp;lt;/data&amp;gt;&lt;br/&gt;&lt;/div&gt;</description><pubDate>Fri, 23 May 2014 05:16:39 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>RE: Saving (survey) data to a server location</title><link>https://forums.millisecond.com/Topic13349.aspx</link><description>Okay got it. It is working so far. &lt;div&gt;&lt;br/&gt;&lt;/div&gt;One question remains if we decide to save the data to a local folder: Is it possible to work with relative paths too? E.g. the script is located in&amp;nbsp;&lt;div&gt;"C:\Users\me\rive\UB\Documents\Kfbn\000_data\001_scripts\03a_behavioral-task-pretest\2014-04-22_behavioral-task-pretest.iqx" &lt;div&gt;&lt;span style="font-size: 10pt;"&gt;and the data should be saved here:&lt;div&gt;Raw file "C:\Users\ws1\rive\UB\Documents\Kfbn\000_data\03a_behavioral-task-pretest\raw&lt;span style="font-size: 10pt;"&gt;\&lt;/span&gt;&lt;span style="font-size: 10pt;"&gt;"&lt;div&gt;Summary file "C:\Users\ws1\rive\UB\Documents\Kfbn\000_data\03a_behavioral-task-pretest\sum&lt;span style="font-size: 10pt;"&gt;\&lt;/span&gt;&lt;span style="font-size: 10pt;"&gt;"&lt;div&gt;The "ws1" is the number of the workstation, i.e. for workstation 2 it needs to be replaced by "ws2", for no. 3 with "ws3" and so on.&lt;/div&gt;&lt;div&gt;Is it possible use a relative path in the file argument? This is what we tried, unfortunately it is not working.&lt;div&gt;Raw file: "/&amp;nbsp;&lt;span style="font-size: 10pt;"&gt;file = "..&lt;/span&gt;\..&lt;span style="font-size: 10pt;"&gt;\&lt;/span&gt;&lt;span style="font-size: 10pt;"&gt;000_data\03a_behavioral-task-pretest\raw&lt;/span&gt;&lt;span style="font-size: 10pt;"&gt;\&lt;/span&gt;&lt;span style="font-size: 10pt;"&gt;"&lt;div&gt;Sum file&lt;span style="font-size: 10pt;"&gt;: "/&amp;nbsp;&lt;/span&gt;&lt;span style="font-size: 10pt;"&gt;file = "..&lt;/span&gt;&lt;span style="font-size: 10pt;"&gt;\..&lt;/span&gt;&lt;span style="font-size: 10pt;"&gt;\&lt;/span&gt;&lt;span style="font-size: 10pt;"&gt;000_data\03a_behavioral-task-pretest\sum&lt;/span&gt;&lt;span style="font-size: 10pt;"&gt;\&lt;/span&gt;&lt;span style="font-size: 10pt;"&gt;"&lt;div&gt;&lt;div&gt;A relative path would offer much more flexibility and it would save time when copying the script to different locations (&amp;gt;&amp;gt; no adaptation needed).&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;div&gt;ATB Max&lt;/div&gt;&lt;/span&gt;&lt;/div&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/span&gt;&lt;/div&gt;&lt;/span&gt;&lt;/div&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;</description><pubDate>Fri, 23 May 2014 01:48:22 GMT</pubDate><dc:creator>Max</dc:creator></item><item><title>RE: Saving (survey) data to a server location</title><link>https://forums.millisecond.com/Topic13339.aspx</link><description>&amp;gt;  Do we have to face any issues when 20 workstations try to write to the same "demographics.iqdat"?&lt;div&gt;&lt;br/&gt;&lt;/div&gt;Yes, this could cause problems such as corrupted data files, data loss, data recorded out of order, ...&lt;div&gt;&lt;br/&gt;&lt;/div&gt;&lt;div&gt;&amp;gt; If so, how can we prevent this?&lt;div&gt;&lt;div&gt;&lt;div&gt;&lt;br/&gt;&lt;/div&gt;You can force the creation of separate file by setting the &amp;lt;survey&amp;gt; element's /separatefiles attribute to 'true'.&lt;br/&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</description><pubDate>Wed, 21 May 2014 08:25:14 GMT</pubDate><dc:creator>Dave</dc:creator></item></channel></rss>