Jump to content
  • 0

Getting productId "NO PERMISSION" from tclDaqDeviceInventory


Charles L.

Question

Hi,

On a CentOS 7 machine, I'm trying to access an USB-3102 device from a C++ program with the "universal library", but the tclDaqDeviceInventory function, even though the device is detected, returns "NO PERMISSION" for productId instead of a valid id.

On a terminal, lsusb command confirms the device can be seen by the USB layer:

Bus 001 Device 008: ID 09db:009b Measurement Computing Corp.

I have tried to compare configuration (user permissions, user groups, etc.) between this machine and another one where the device is properly recognized but I have not managed to find any differences.

Could you please point me to the setting()s that might matter here?

Thanks a lot.
++
Charles

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

Hello,

Please follow the instructions to install the UL for Linux support. https://github.com/mccdaq/uldaq 

The support includes example C programs. Python examples can be downloaded from https://pypi.org/project/uldaq/. These will demonstrate how to discover and control the device. For the USB-3102, the AOut.c or a_out.py is an excellent place to start.

https://www.mccdaq.com/PDFs/Manuals/UL-Linux/c/index.html

https://www.mccdaq.com/PDFs/Manuals/UL-Linux/python/index.html

Best regards,

John

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...