Best Way to Acquire Data from NI DAQ device in Ignition

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!

Kevin.Herron, bkarabinchak.psi, PGriffith, Does anyone have any insights on this?

I'd really appreciate your input!

Thanks in advance!

1 Like

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.

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.