Can Ignition connect to USB devices?

Hello, I’m pretty new to all of this, and have some questions.
I just purchased a labjack U3, and it’s the model that only has USB connectivity. ( https://labjack.com/products/u3 )

There is a python library for it, but I believe it’s incompatible because it’s written in C? So right now I’m looking for a way to connect to the device through USB and it’s looking like that’s unlikely as well.

Do I have any other options?

Unfortunately after poking around the software section on their website it seems like there are plenty of connectivity options but none of them are usable without writing a custom module for Ignition.

Looks like some of the platforms support Modbus TCP, but there aren’t any examples for the U3. Not sure if its a limitation of hardware, or just no examples written.

https://labjack.com/support/software/examples/modbus

Looks like a pain to write a module for it, at least in a cross-platform way.

From what I found it’s Modbus TCP over their USB connection, using their special socket class in their DLL.

Yeah, looking at this page, it looks like only the T series allows Modbus, and those have ethernet ports to communicate. https://labjack.com/support/software/modbus-client-applications

For USB, I guess the module would be the only likely route.

1 Like

Yea that’s not sounding good. I had to go with the USB only model because anything with ethernet capabilities just cost too much. I have other programs I can use to mess around with it still (labview), but I was hoping to get some more ignition experience with it if possible.

If I was any good at this stuff I WOULD take a crack at creating my own module, but I’m literally on chapter four of “Python Crash Course” right now, so that’s gonna be a no from me. : P

Modules are written in Java anyway, and basically expect that you're already a Java programmer and familiar with Java build systems, or can become familiar quickly,

Well my point still stands then, that I’m not properly equipped!

I suppose I could use external scripting to log changes on the device pins, and then use ignition to read that log. Would be quite limiting but it would give me something to do.

Sounds like the cost of engineering will pay for the Ethernet version of the device (and probably more) :slight_smile:

2 Likes

This is for education purposes, the only money being transferred is coming out of my credit card.

Fair enough. But in that case, why not try using an Arduino or Raspberry Pi with Ethernet and modbus TCP? These would be a far cheaper option and would give you Ethernet. Possibly more playing around required though… Just my 2c

1 Like

I already own a pi that’s running my home HVAC. It’s a bit difficult to program for in labview, so I wanted to try out different hardware that had better compatibilities with THAT software. Ignition was sort of an afterthought, despite it being required for a job I’m looking at.