I am using the Mirametrix S2 gaze tracking device. API docs (v1.1) say that the ENABLE_SEND_GPI allows the tracking client to insert data into the gaze. Copying some example code, I tried the following:
sock.send('<SET ID="ENABLE_SEND_GPI" STATE="1" />\r\n') sock.send('<SET ID="GPI_NUMBER" VALUE="1" />\r\n') sock.send('<SET ID="GPI1" VALUE="INTERVAL" />\r\n')
I get the following in response:
<ACK ID="ENABLE_SEND_GPI" STATE="1" /> <ACK ID="GPI_NUMBER" VALUE="1" /> <ACK ID="GPI1" ERR="Invalid GPI ID" />
I tried many different combinations of identifiers, but only the ones that get the answer are GPI1 via GPI10 , and each one is rejected for an Invalid GPI ID . What am I doing wrong?
source share