# Best Way to Acquire Data from NI DAQ device in Ignition

**URL:** <https://forum.inductiveautomation.com/t/best-way-to-acquire-data-from-ni-daq-device-in-ignition/104648>\
**Category:** Ignition\
**Created:** [April 3, 2025, 1:52pm UTC](https://forum.inductiveautomation.com/t/best-way-to-acquire-data-from-ni-daq-device-in-ignition/104648 "2025-04-03T13:52:22Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![rey.ch](https://avatars.discourse-cdn.com/v4/letter/r/3ec8ea/32.png) [@rey.ch](https://forum.inductiveautomation.com/u/rey.ch)\
**Post date:** [April 3, 2025, 1:52pm UTC](https://forum.inductiveautomation.com/t/best-way-to-acquire-data-from-ni-daq-device-in-ignition/104648/1 "2025-04-03T13:52:22Z")

</div>

Hey everyone, I'm trying to acquire sensors data from an NI USB-6211 device using Ignition, but I’ve run into some challenges.

The NI USB-6211 requires NI-DAQmx, a driver provided by NI that offers APIs in

- **.NET**
- **ANSI C**
- **Python (based on CPython)**

However, NI-DAQmx does **NOT** provide a Java API and since Ignition runs on Java, I need a workaround.

I've been considering a few possible approaches:

- Using the Ignition Module SDK + JNI
- Using a Python script and wrapping it with Flask
- Using a Python script with MQTT

which one is the best way to **interface with NI-DAQmx and acquire data** in Ignition ? And is there a better way to do this?

Open to any suggestions!

Thanks!

---

<div class="post-metadata">

**Author:** ![rey.ch](https://avatars.discourse-cdn.com/v4/letter/r/3ec8ea/32.png) [@rey.ch](https://forum.inductiveautomation.com/u/rey.ch)\
**Post date:** [April 7, 2025, 8:23am UTC](https://forum.inductiveautomation.com/t/best-way-to-acquire-data-from-ni-daq-device-in-ignition/104648/2 "2025-04-07T08:23:19Z")

</div>

[Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron), [bkarabinchak.psi](https://forum.inductiveautomation.com/u/bkarabinchak.psi), [PGriffith](https://forum.inductiveautomation.com/u/PGriffith), Does anyone have any insights on this?

I'd really appreciate your input!

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![Matrix\_Engineering](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/matrix_engineering/32/19781_2.png) [@Matrix\_Engineering](https://forum.inductiveautomation.com/u/Matrix_Engineering)\
**Post date:** [April 7, 2025, 10:18am UTC](https://forum.inductiveautomation.com/t/best-way-to-acquire-data-from-ni-daq-device-in-ignition/104648/3 "2025-04-07T10:18:33Z")

</div>

> **[Product](https://www.ni.com/en-gb/shop/product/labview-opc-ua-toolkit.html?srsltid=AfmBOoopgOOP5MrUyyaRvrFyTEjHTnx0QNCmb64HaamUGDNHxN-VxWI5)**
>
> Template page for every B2B supported Product Page. Covers: Software, Tools Network, Courses, Training

---

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [April 7, 2025, 5:20pm UTC](https://forum.inductiveautomation.com/t/best-way-to-acquire-data-from-ni-daq-device-in-ignition/104648/4 "2025-04-07T17:20:30Z")

</div>

> [@rey.ch](#):
>
> [Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron), [bkarabinchak.psi](https://forum.inductiveautomation.com/u/bkarabinchak.psi), [PGriffith](https://forum.inductiveautomation.com/u/PGriffith), Does anyone have any insights on this?

The forum is manned by volunteers with a few IA staff contributing quite a lot. It is not an official support channel. Please don't ping individual users unless it is specifically related to a post they have made. (You failed anyway. You have posted links to their profile pages instead of pinging them!) Most of the good forum members read all the posts and will reply to any that they are interested in.

Thank afterwards rather than in advance.

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [April 7, 2025, 5:41pm UTC](https://forum.inductiveautomation.com/t/best-way-to-acquire-data-from-ni-daq-device-in-ignition/104648/5 "2025-04-07T17:41:00Z")

</div>

> [@rey.ch](#):
>
> - Using a Python script and wrapping it with Flask
> - Using a Python script with MQTT

These would be easiest. Also consider using [this Python OPC UA library](https://github.com/FreeOpcUa/opcua-asyncio) to stand up an OPC UA server that exposes the data you want.

---

<div class="post-metadata">

**Author:** ![rey.ch](https://avatars.discourse-cdn.com/v4/letter/r/3ec8ea/32.png) [@rey.ch](https://forum.inductiveautomation.com/u/rey.ch)\
**Post date:** [April 8, 2025, 9:44am UTC](https://forum.inductiveautomation.com/t/best-way-to-acquire-data-from-ni-daq-device-in-ignition/104648/6 "2025-04-08T09:44:30Z")

</div>

Thanks but I can't use LabVIEW.

---

<div class="post-metadata">

**Author:** ![rey.ch](https://avatars.discourse-cdn.com/v4/letter/r/3ec8ea/32.png) [@rey.ch](https://forum.inductiveautomation.com/u/rey.ch)\
**Post date:** [April 8, 2025, 9:48am UTC](https://forum.inductiveautomation.com/t/best-way-to-acquire-data-from-ni-daq-device-in-ignition/104648/7 "2025-04-08T09:48:13Z")

</div>

My bad! I didn't know thanks for pointing that out

---

<div class="post-metadata">

**Author:** ![rey.ch](https://avatars.discourse-cdn.com/v4/letter/r/3ec8ea/32.png) [@rey.ch](https://forum.inductiveautomation.com/u/rey.ch)\
**Post date:** [April 8, 2025, 9:48am UTC](https://forum.inductiveautomation.com/t/best-way-to-acquire-data-from-ni-daq-device-in-ignition/104648/8 "2025-04-08T09:48:59Z")

</div>

I will. Thank you Kevin

---

<div class="post-metadata">

**Author:** ![Gustavo\_Cardoso](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/gustavo_cardoso/32/85783_2.png) [@Gustavo\_Cardoso](https://forum.inductiveautomation.com/u/Gustavo_Cardoso)\
**Post date:** [August 27, 2025, 11:13pm UTC](https://forum.inductiveautomation.com/t/best-way-to-acquire-data-from-ni-daq-device-in-ignition/104648/9 "2025-08-27T23:13:54Z")

</div>

Hi @rey.ch. Have you made any advance on this? I’m facing the same problem now.

---

<div class="post-metadata">

**Author:** ![rey.ch](https://avatars.discourse-cdn.com/v4/letter/r/3ec8ea/32.png) [@rey.ch](https://forum.inductiveautomation.com/u/rey.ch)\
**Post date:** [August 28, 2025, 9:12am UTC](https://forum.inductiveautomation.com/t/best-way-to-acquire-data-from-ni-daq-device-in-ignition/104648/10 "2025-08-28T09:12:40Z")

</div>

Hey @Gustavo_Cardoso, yeah, since it’s a small-scale app, the easiest way I found was to read the data using Python and send it to Ignition via MQTT. Let me know if I can help further.
