Jump to content

As of July 17, 2015, the LabJack forums here at forums.labjack.com are shut down. New registrations, topics, and replies are disabled. All forums are in a read-only state for archive purposes.

Please visit our current forums at labjack.com/forums to view and make new posts. To post on the current forums, use your labjack.com login account. Your old LabJack forums login credentials have been retired. There are no longer separate logins for labjack.com and LabJack forums.


Photo

UE9 + ethernet + linux


  • Please log in to reply
3 replies to this topic

#1 DavidB

DavidB
  • Members
  • 2 posts

Posted 23 July 2012 - 10:42 PM

I am trying to work out the best solution to use the UE9pro directly over ethernet on linux in a custom application via an API. There seems to be everything else but what I need. I haven't downloaded anything yet so maybe there are answers in the source documentation. The UD looks like the API I want however it is windows only. The UE9 instructions point to the Exodriver however it looks like it is usb only. There is this alpha LJM Driver which might do the trick but there is no documentation on what it really is that I can find. LJFuse. It isn't clear on the webpage if this is for ethernet connection (although a comment says no), or addresses issues like response time through the layers. LJSocket absracts a USB UE9. So ... it seems the best technique is custom code to reimplement the UD API on top of linux modbus. Perhaps start with the UD source release and recode to talk to the linux modbus driver?

#2 LabJack Support

LabJack Support
  • Admin
  • 8677 posts

Posted 24 July 2012 - 09:35 AM

I believe the Exodriver does support Ethernet, but am marking this for someone else here to comment on that.

LJM is nice, but definitely alpha and we are only testing on the new T7 device at the moment. Worth considering, but my suggestion would be that rather than use any driver at all you just do direct Modbus (which will require that you upgrade to UE9 Comm firmware V1.43):

http://labjack.com/support/modbus

What programming language are you using?

#3 LabJack Support

LabJack Support
  • Admin
  • 8677 posts

Posted 24 July 2012 - 02:28 PM

The Exodriver is USB only, though it still provides helpful example code on setting up low-level functions. Here are some cross-platform, low-level function TCP examples written in C which doesn't require a driver:

http://labjack.com/s...ive-tcp-example

If you don't mind using Python, we provide a high-level interface (LabJackPython) that supports both USB and ethernet:

http://labjack.com/s...t/labjackpython

LJFuse is USB only.

#4 DavidB

DavidB
  • Members
  • 2 posts

Posted 24 July 2012 - 03:34 PM

Programming lanugage C/C++ The c-native-tcp-example should be appropriate for my purposes. Thanks.


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users