Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stream pupil diameter #1

Open
peabody124 opened this issue Dec 18, 2013 · 3 comments
Open

Stream pupil diameter #1

peabody124 opened this issue Dec 18, 2013 · 3 comments

Comments

@peabody124
Copy link
Contributor

The current software only exports the pupil diameter as a control but we
need it included in the data stream and then out an analog output. There
are a few steps to achieve this.

  1. The fifo currently has a 16 bit x and y position. To hold more data we
    need to switch to a 64-bit fifo
  2. Pack the number of pixels into the stream. You can see how this is done
    in the existing FPGA software
    screen shot 2013-12-18 at 12 30 46 am
  3. Unpack the data in the host software
  4. Add an analog channel to the output

For recording that data in parallel with the existing eye trackers then add three
analog channels ot the StateSystemAnalog task for the optical X, Y and pupil
area.

@peabody124
Copy link
Contributor Author

I went ahead and did 1 and 2 and kicked off compilation. On S3 in the /lab/users/james/Labview/EyeTrackerFPGA - S3 directory

@saumilpatel
Copy link
Member

Dear James,

Which code did you start with ? Remember, there was a fix that was made so that on setup 3 we did not have to run two different eye trackers. I am hoping you started with the fixed code. The fix was trivial, just had to name one of the clock references properly so can be incorporated easily easily if you started with a non-fixed version.

Best,

Saumil
On Dec 18, 2013, at 1:06 AM, James Cotton [email protected] wrote:

The current software only exports the pupil diameter as a control but we
need it included in the data stream and then out an analog output. There
are a few steps to achieve this.

• The fifo currently has a 16 bit x and y position. To hold more data we need to switch to a 64-bit fifo
• Pack the number of pixels into the stream. You can see how this is done in the existing FPGA software
• Unpack the data in the host software
• Add an analog channel to the output
For recording that data in parallel with the existing eye trackers then add three
analog channels ot the StateSystemAnalog task for the optical X, Y and pupil
area.


Reply to this email directly or view it on GitHub.

Saumil Patel, Ph.D.
Research Assistant Professor
Baylor College of Medicine
Houston, TX-77030
[email protected]
[email protected]
www.saumilresearch.org

@saumilpatel
Copy link
Member

you did start with the fixed code...
On Dec 18, 2013, at 1:15 AM, James Cotton [email protected] wrote:

I went ahead and did 1 and 2 and kicked off compilation. On S3 in the /lab/users/james/Labview/EyeTrackerFPGA - S3 directory


Reply to this email directly or view it on GitHub.

Saumil Patel, Ph.D.
Research Assistant Professor
Baylor College of Medicine
Houston, TX-77030
[email protected]
[email protected]
www.saumilresearch.org

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants