Syntax for specifying data file upload to Millisecond.com


Author
Message
lakeside
lakeside
Guru (5.9K reputation)Guru (5.9K reputation)Guru (5.9K reputation)Guru (5.9K reputation)Guru (5.9K reputation)Guru (5.9K reputation)Guru (5.9K reputation)Guru (5.9K reputation)Guru (5.9K reputation)
Group: Forum Members
Posts: 34, Visits: 121
I am unable to get my web script to upload data files to Millisecond.com. Please advise. Logs indicate running with MonkeyMode = true produces no finished time stamp. Running manually, produces a finished time stamp but no data. No errors are present. An Inquisit data upload window flashes after the script with no errors. Data are not being written to my computer desktop.

 Additional information:

Script URL: http://research.millisecond.com/keatingd/ModIGTwave2v1.web?subjectid=46
Plugin: Inquisit Web Player 4.0.9

<data>
/file = "https://www.millisecond.com/"
/columns = [date, time, script.subjectid, script.groupid, script.elapsedtime, computer.availablememory,
                    blockcode, blocknum, values.count_igtblocks, trialcode, trialnum, values.cardoffered, values.groupnumber,
                    values.defaultresponse, values.targetdeck,
                    response, values.response, latency, values.forcedwins1, values.forcedwins2, values.forcedwins3, values.forcedwins4,
                    values.gain, values.loss, values.netchange, expressions.feedback, values.currenttotal, values.nettotal_block,
                    expressions.percent_goodplay_block, values.number_goodplay_block, values.total_gooddeck_block,
                    expressions.percent_badplay_block, values.number_badplay_block, values.total_baddeck_block,
                    expressions.netscore_block;
                    expressions.percent_goodplay, values.number_goodplay, values.total_gooddeck,
                    expressions.percent_badplay, values.number_badplay, values.total_baddeck;
                    expressions.netscore_total]
</data>




Dave
Dave
Supreme Being (781K reputation)Supreme Being (781K reputation)Supreme Being (781K reputation)Supreme Being (781K reputation)Supreme Being (781K reputation)Supreme Being (781K reputation)Supreme Being (781K reputation)Supreme Being (781K reputation)Supreme Being (781K reputation)
Group: Administrators
Posts: 10K, Visits: 51K
Saving to the millisecond.com server is the default behavior.

Simply delete the /file attribute in your <data> element. You only need to specify that if you want your data saved somewhere else.

Edited 4 Years Ago by Dave
lakeside
lakeside
Guru (5.9K reputation)Guru (5.9K reputation)Guru (5.9K reputation)Guru (5.9K reputation)Guru (5.9K reputation)Guru (5.9K reputation)Guru (5.9K reputation)Guru (5.9K reputation)Guru (5.9K reputation)
Group: Forum Members
Posts: 34, Visits: 121
Thank you. I would suggest stating this in the documentation. Page 144 of the manual does not state the /file attrribute should not be used to upload data to Millisecond.com. It actually lists https://www.millisecond.com as an example URL when discussing the /file attribute. This is a case of hiding the obvious.

Dave
Dave
Supreme Being (781K reputation)Supreme Being (781K reputation)Supreme Being (781K reputation)Supreme Being (781K reputation)Supreme Being (781K reputation)Supreme Being (781K reputation)Supreme Being (781K reputation)Supreme Being (781K reputation)Supreme Being (781K reputation)
Group: Administrators
Posts: 10K, Visits: 51K
Thanks for the feedback. I agree that using https://www.millisecond.com/ as an example address in the 2nd part of the "Gathering Data Over the Web" topic is not ideal and perhaps confusing. While Inquisit Web's default behavior is mentioned in the 1st part,

> "Option 1 (saving the data to millisecond.com) is the default behavior of Inquisit Web, [...]"

the remainder of the topic, which includes the flawed example URL,  is only applicable if option 1 is not desired or feasible.

> "While option 1 is appropriate for the vast majority of experimenters, in some cases it may be necessary or desirable to leverage some
> of the other remote data features of Inquisit. The means by which data is saved to a server is controlled by the following attributes on the
> data element. [...]"

The contrast between the two scenarios certainly can (and should) be made more explicit / salient. Thanks again.

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search