Millisecond Forums

ipaddress problem

https://forums.millisecond.com/Topic9958.aspx

By Shona - 3/16/2013


Hi, 


I am having trouble recording ipaddresses. My data script is pasted below. When I try to run my script, sometimes it works but other times an error message pops up saying "computer.ipaddress.1" is not a valid setting and "computer.macaddress.1" is not a valid setting. What am I doing wrong?


Thanks!


Shona


<data>


/file = "AMP_rawdata.iqdat"


/columns = [computer.ipaddress.1,computer.macaddress.1, date, time, subject, blockcode, blocknum, trialcode, trialnum, response, correct, latency, trialdata, trialdata, trial.primeA_RW.percentcorrect, trial.primeA_LW.percentcorrect, trial.primeA_random.percentcorrect, trial.primeB_RW.percentcorrect, trial.primeB_LW.percentcorrect, trial.primeB_random.percentcorrect, trial.primeC_RW.percentcorrect, trial.primeC_LW.percentcorrect, trial.primeC_random.percentcorrect, trial.primeD_RW.percentcorrect, trial.primeD_LW.percentcorrect, trial.primeD_random.percentcorrect,  trial.primeE_RW.percentcorrect, trial.primeE_LW.percentcorrect, trial.primeE_random.percentcorrect]


/separatefiles = true


</data>



By Dave - 3/16/2013

Those properties are unfortunately broken in the current release. You'll need to remove them from your <data> element.

By Erik - 8/6/2013

Hi Dave,


I conducted an online study with Version 4.0.2. in June. Because of an error message when using "computer.ipaddress.1" I changed my script to


<data>
/ columns = [date, time, computer.ipaddress,  subject, blocknum, blockcode, trialnum, trialcode, stimulusitem, stimulusnumber, stimulusnumber, 
response, latency, correct, percentcorrect, display.width, display.height ]
</data>


Unfortunately for this reason no single Ip adress was recorded in my data... Is there any way to get now the ip addresses? Maybe they were recorded "somewhere else"? I would be happy if I could obtain ip or mac addresses.


Best regards,


Erik

By Dave - 8/6/2013

Not really, unfortunately. One *could* try to extract ip addresses from, say, server logs (i.e., you couldn't do it yourself and neither could I as I have no access to those), but then still there'd be no straightforward sure-fire way to map them to participants' data sets.