# MWorks and eye coils

**URL:** <https://mworks.discourse.group/t/mworks-and-eye-coils/680>\
**Category:** Support\
**Created:** [July 22, 2011, 5:12pm UTC](https://mworks.discourse.group/t/mworks-and-eye-coils/680 "2011-07-22T17:12:49Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![cstawarz](https://yyz1.discourse-cdn.com/flex031/user_avatar/mworks.discourse.group/cstawarz/32/3_2.png) [@cstawarz](https://mworks.discourse.group/u/cstawarz)\
**Post date:** [July 22, 2011, 5:12pm UTC](https://mworks.discourse.group/t/mworks-and-eye-coils/680/1 "2011-07-22T17:12:49Z")

</div>

Hi Antonino,

Jim DiCarlo forwarded me your question about using eye coils with MWorks. I’d be happy to help you get started.

To begin, can you tell me how you’re planning to get the signal from your eye coils in to MWorks? In Jim’s lab, we use the [ITC-18](https://mworks.discourse.group/kb/installation/setup-for-using-the-itc-18) for most I/O tasks, whereas some folks in John Maunsell’s use [LabJacks](http://labjack.com/) (for which they’ve written a [custom MWorks plugin](https://github.com/maunsell/LabJackU6)). What I/O hardware are you planning to use?

Cheers,  
Chris Stawarz

---

<div class="post-metadata">

**Author:** ![cstawarz](https://yyz1.discourse-cdn.com/flex031/user_avatar/mworks.discourse.group/cstawarz/32/3_2.png) [@cstawarz](https://mworks.discourse.group/u/cstawarz)\
**Post date:** [July 27, 2011, 2:35pm UTC](https://mworks.discourse.group/t/mworks-and-eye-coils/680/2 "2011-07-27T14:35:57Z")

</div>

Hi Antonino,

Do you still need assistance with using eye coils with MWorks? If so, please let me know, and I’ll do my best to help you get up and running.

Regards,  
Chris Stawarz

---

<div class="post-metadata">

**Author:** ![cstawarz](https://yyz1.discourse-cdn.com/flex031/user_avatar/mworks.discourse.group/cstawarz/32/3_2.png) [@cstawarz](https://mworks.discourse.group/u/cstawarz)\
**Post date:** [July 29, 2011, 1:15am UTC](https://mworks.discourse.group/t/mworks-and-eye-coils/680/3 "2011-07-29T01:15:21Z")

</div>

Hi Christopher,  
thanks for your E-mail and sorry for my late reply! Yes, I still need  
assistance with using eye coils with MWorks. In the present  
configuration I am using a LabJack as I/O card. Is there any  
driver/software already developed in MWorks for this configuration?  
Thanks in advance for any information/help that you will be able to provide.  
Best, Antonino Casile

---

<div class="post-metadata">

**Author:** ![cstawarz](https://yyz1.discourse-cdn.com/flex031/user_avatar/mworks.discourse.group/cstawarz/32/3_2.png) [@cstawarz](https://mworks.discourse.group/u/cstawarz)\
**Post date:** [July 29, 2011, 3:51pm UTC](https://mworks.discourse.group/t/mworks-and-eye-coils/680/4 "2011-07-29T15:51:05Z")

</div>

Hi Antonino,

> In the present configuration I am using a LabJack as I/O card. Is there any  
> driver/software already developed in MWorks for this configuration?

As I mentioned previously, John Maunsell’s lab uses LabJacks with MWorks. Since I don’t have access to a LabJack device and played no role in developing their plugin, I have to refer you to John’s lab for help setting that up. I believe the appropriate person to contact is Mark Histed.

Once you have eye position data flowing into MWorks, you can use standard components for calibration and monitoring. MWorks comes with an example experiment that shows how to set this up, which you’ll find in `/Library/Application Support/MWorks/Examples/TemplateExperiments/Calibration`. The example is old and kind of messy, but it does demonstrate how to use the standard eye calibrator and eye monitor components. I encourage you to take a look at that. If it’s not clear, I’ll be happy to walk you through it or answer any questions you have.

Chris

---

<div class="post-metadata">

**Author:** ![cstawarz](https://yyz1.discourse-cdn.com/flex031/user_avatar/mworks.discourse.group/cstawarz/32/3_2.png) [@cstawarz](https://mworks.discourse.group/u/cstawarz)\
**Post date:** [August 13, 2011, 8:23pm UTC](https://mworks.discourse.group/t/mworks-and-eye-coils/680/5 "2011-08-13T20:23:29Z")

</div>

I talked to Antonino about this. For the record: he has a custom LabJack plugin of his own that is more like the ITC18 plugin - it supports arbitrary channels, etc.  
Our plugin is more specific - it has methods like “openSolenoid” etc which have digital channel IDs hardcoded.

---

<div class="post-metadata">

**Author:** ![cstawarz](https://yyz1.discourse-cdn.com/flex031/user_avatar/mworks.discourse.group/cstawarz/32/3_2.png) [@cstawarz](https://mworks.discourse.group/u/cstawarz)\
**Post date:** [August 14, 2011, 4:10pm UTC](https://mworks.discourse.group/t/mworks-and-eye-coils/680/6 "2011-08-14T16:10:09Z")

</div>

Hi All,  
yes I can confirm. The driver that I developed is fully integrated in  
the MWorks driver structure. In addition, I spent (and I am still  
spending) quite some time in optimizing the access to the USB bus.  
So far the driver supports all the Labjack digital I/O channels, but in  
the next days I am planning to add the analog channels as well.  
It goes without saying, that I can provide the source files to whomever  
needs them or add them to the MWorks repository.  
Best, Tonino

---

<div class="post-metadata">

**Author:** ![cstawarz](https://yyz1.discourse-cdn.com/flex031/user_avatar/mworks.discourse.group/cstawarz/32/3_2.png) [@cstawarz](https://mworks.discourse.group/u/cstawarz)\
**Post date:** [July 19, 2022, 11:46pm UTC](https://mworks.discourse.group/t/mworks-and-eye-coils/680/7 "2022-07-19T23:46:32Z")

</div>


