# NIDAQ template

**URL:** <https://mworks.discourse.group/t/nidaq-template/341>\
**Category:** Support\
**Created:** [April 3, 2018, 1:30pm UTC](https://mworks.discourse.group/t/nidaq-template/341 "2018-04-03T13:30:10Z")\
**Posts on this page:** 4\
**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:** [April 3, 2018, 1:30pm UTC](https://mworks.discourse.group/t/nidaq-template/341/1 "2018-04-03T13:30:10Z")

</div>

Hi Chris,

I was wondering if you have a template mwel file to use NIDAQ. I have a joystick that monkeys will use to control the movement of image sequence (as opposed to left and right arrow for humans) and I will be using NIDAQ to interface it with Mworks. If there was a template in mwel for using an I/O device, it would be very helpful.

Thanks,  
Sujay

---

<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:** [April 3, 2018, 1:50pm UTC](https://mworks.discourse.group/t/nidaq-template/341/2 "2018-04-03T13:50:10Z")

</div>

Hi Sujay,

I’ve attached an MWEL example that uses a [NIDAQ device](https://mworks.github.io/documentation/0.8/components/nidaq_device.html) with one [analog input channel](https://mworks.github.io/documentation/0.8/components/nidaq_analog_input_voltage_channel.html) and one [digital input channel](https://mworks.github.io/documentation/0.8/components/nidaq_digital_input_channel.html). If you have any questions, please let me know.

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:** [April 3, 2018, 1:50pm UTC](https://mworks.discourse.group/t/nidaq-template/341/3 "2018-04-03T13:50:10Z")

</div>

Attachment: [nidaq\_template.mwel.zip](https://mworks.discourse.group/uploads/short-url/vMDxVEitgnjiOIHrcwhtUoTfw7F.zip) (443 Bytes)

---

<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, 9:48pm UTC](https://mworks.discourse.group/t/nidaq-template/341/4 "2022-07-19T21:48:05Z")

</div>


