Millisecond Forums

IP Addresses

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

By dwestwoo - 2/16/2013

Hi everyone


Recently I developed an experiment that has a Survey and then a dot probe task hosted by online Inquisit server. Im trying to find a way so that the data includes the participants IP addresses so I can match the Survey and the Dot Probe task.


Would appreciate any help that can be thrown my way.



By Dave - 2/16/2013

You should log suitable computer properties to the data file then. There's computer.ipaddress, but computer.macaddress may be preferrable (IPs change, MACs don't, etc.). Details can be found in the documentation.


Regardless, as long as you designed / set up things properly and people complete both tasks in the same session, you should not need any of the above. You should be able to match data based on participants' subjectid.


Finally note that the data file names contain the IP address, i.e., you should also be able to match files from both tasks based on the respective file names.

By dwestwoo - 2/17/2013

Hi Dave



Thank you for the help , I tried entering in ' computer.ipaddress' and I was told that it still didnt record the IP address. And the survey isnt on the Millesecond site so we need a good way to match the survey and the dot probe.



Any idea why it didnt bother to record the IP Address


Here is the line of code



<data>


/columns = [computer.ipaddress,computer.macaddress,date,time,subject, blockcode, trialcode, trialnum, latency, response,stimulusitem, stimulusnumber, pretrialpause, posttrialpause]


</data>


By Dave - 2/17/2013

As detailed in the documentation, those are *collection* properties. Any given computer may have multiple network interfaces and thus multiple IPs and MACs at the same time. To retrieve them for the 1st device, use


computer.ipaddress.1, computer.macaddress.1


and so forth for any other interfaces.


Regardless, relying on those properties to match data does not strike me as a good solution. Instead you should seek to implement something along the lines of what is detailed in the "How to interoperate Inquisit with only survey packages" topic in the Inquisit documentation.


Regards,


~Dave