Back
Login
Register
Login
Register
Millisecond Forums
Home
»
Millisecond Forums
»
Inquisit 4
»
Saving (survey) data to a server location
Saving (survey) data to a server location
Post Reply
Like
142
Saving (survey) data to a server location
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
RSS Feed
Goto Topics Forum
Author
Message
Dave
Dave
posted 10 Years Ago
ANSWER
Post Details
Share Post
Group: Administrators
Posts: 13K,
Visits: 104K
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).
Reply
Like
126
Max
Max
posted 10 Years Ago
ANSWER
Post Details
Share Post
Group: Forum Members
Posts: 16,
Visits: 118
Max (5/23/2014)
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.
arrrghhh, the raw folder is one level above, but it's still not working.
Attachments
Screen Shot 2014-05-23 at 15.27.54.png
(
1K views,
21.00 KB
)
Reply
Like
111
Max
Max
posted 10 Years Ago
ANSWER
Post Details
Share Post
Group: Forum Members
Posts: 16,
Visits: 118
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.
Attachments
Screen Shot 2014-05-23 at 15.07.06.png
(
1K views,
94.00 KB
)
Screen Shot 2014-05-23 at 15.22.12.png
(
985 views,
26.00 KB
)
Reply
Like
121
Dave
Dave
posted 10 Years Ago
ANSWER
Post Details
Share Post
Group: Administrators
Posts: 13K,
Visits: 104K
To save the data to a subfolder relative to the the script's location, use
<data>
[...]
/ file = "./raw/"
/ separatefiles = true
</data>
Reply
Like
130
Max
Max
posted 10 Years Ago
ANSWER
Post Details
Share Post
Group: Forum Members
Posts: 16,
Visits: 118
Okay got it. It is working so far.
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
"C:\Users\me\rive\UB\Documents\Kfbn\000_data\001_scripts\03a_behavioral-task-pretest\2014-04-22_behavioral-task-pretest.iqx"
and the data should be saved here:
Raw file "C:\Users\ws1\rive\UB\Documents\Kfbn\000_data\03a_behavioral-task-pretest\raw
\
"
Summary file "C:\Users\ws1\rive\UB\Documents\Kfbn\000_data\03a_behavioral-task-pretest\sum
\
"
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.
Is it possible use a relative path in the file argument? This is what we tried, unfortunately it is not working.
Raw file: "/
file = "..
\..
\
000_data\03a_behavioral-task-pretest\raw
\
"
Sum file
: "/
file = "..
\..
\
000_data\03a_behavioral-task-pretest\sum
\
"
A relative path would offer much more flexibility and it would save time when copying the script to different locations (>> no adaptation needed).
ATB Max
Tags
data
data storage
file path
relative file path
Reply
Like
124
Dave
Dave
posted 10 Years Ago
ANSWER
Post Details
Share Post
Group: Administrators
Posts: 13K,
Visits: 104K
> Do we have to face any issues when 20 workstations try to write to the same "demographics.iqdat"?
Yes, this could cause problems such as corrupted data files, data loss, data recorded out of order, ...
> If so, how can we prevent this?
You can force the creation of separate file by setting the <survey> element's /separatefiles attribute to 'true'.
Reply
Like
126
Max
Max
posted 10 Years Ago
ANSWER
HOT
Topic Details
Share Topic
Group: Forum Members
Posts: 16,
Visits: 118
Dear Inquisit's,
we have a laboratory with 20 workstations + one server. We'd like to save the data to the server directly instead of collecting it from the workstations.
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?
ATB, Max
Tags
data
iqdat
server
survey
Reply
Like
142
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Post Reply
Like
142
Post Quoted Reply
Reading This Topic
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Facebook
Explore
Messages
Mentions
Search