rey.ch
April 3, 2025, 1:52pm
1
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!
rey.ch
April 7, 2025, 8:23am
2
Kevin.Herron , bkarabinchak.psi , PGriffith , Does anyone have any insights on this?
I'd really appreciate your input!
Thanks in advance!
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.
1 Like
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 to stand up an OPC UA server that exposes the data you want.
1 Like
rey.ch
April 8, 2025, 9:44am
6
Thanks but I can't use LabVIEW.
rey.ch
April 8, 2025, 9:48am
7
My bad! I didn't know thanks for pointing that out