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

Function Reference: Exodriver vs. LabjackUD


  • Please log in to reply
3 replies to this topic

#1 ctodd

ctodd
  • Members
  • 23 posts

Posted 19 March 2012 - 11:26 PM

I'm working with a U3 under Linux using the Exodriver. Under the U3 User's Guide, all of the functions listed belong to the UD Driver. Are all of these functions supported under the Exodriver? If not, is there an Exodriver function reference? Specifically I'm trying to use ListAll() and it looks like the function is not available. Chris

#2 LabJack Support

LabJack Support
  • Admin
  • 8677 posts

Posted 20 March 2012 - 01:03 PM

The Exodriver is a USB driver that only provides communication functionality (open, write, read, close), and does not provide the LabJackUD functions documented in 4 of the User's Guide such as ListAll. Exodriver functions are documented in its header file, labjackusb.h. The commands/responses you send/receive are documented in section 5 of the User's Guide. The C examples demonstrate the use of the Exodriver and command/responses.

If you can use the Python language, we provide a cross-platform library which provides high-level functions:

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

#3 Gabriel Klein

Gabriel Klein
  • Members
  • 7 posts

Posted 04 February 2014 - 06:25 AM

Not really "cross-platform" :(
 
def AddRequest(Handle, IOType, Channel, Value, x1, UserData):
    """AddRequest(handle, ioType, channel, value, x1, userData) Windows Only """
    if os.name == 'nt':
       ....
    else:
       raise LabJackException(0, "Function only supported for Windows")


#4 LabJack Support

LabJack Support
  • Admin
  • 8677 posts

Posted 04 February 2014 - 01:04 PM

The LabJackPython modules provide a cross-platform interface, but they also provide functions/methods that are only available for the Windows UD driver and Linux/Mac OS X Exodriver. In the case of AddRequest, it is a wrapper function to the UD drivers AddRequest function which is not available in the Exodriver.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users