Welcome! Log In Create A New Profile

Advanced

About reading in eye-data via serial port in ML

Posted by harishneuro 
harishneuro
About reading in eye-data via serial port in ML
August 24, 2019 05:33AM
Hi,
I thought it is best to post this question as a separate topic. Our ISCAN tracker can send a bunch of eye-data parameters via serial port and although I am able to open a serial port on my ML experimental PC and read in and parse this data in the experiment matlab script. It will be great if I can write a matlab function/hook that can help ML directly read eye data from serial port, unpack it and use the x,y signal. The advantage of such a function is that we can experiment with different possibilities (pupil x,y or pupil-CR xy). Is this possible in ML ?

best,
Harish
Re: About reading in eye-data via serial port in ML
August 24, 2019 12:09PM
You can't keep monitoring serial ports all the time at the script level. NIMH ML supports TCP/IP, so try it instead if you are interested in digital signal transfer.
https://monkeylogic.nimh.nih.gov/docs_TCPIPEyeTracker.html

The National Institute of Mental Health (NIMH) is part of the National Institutes of Health (NIH), a component of the U.S. Department of Health and Human Services.