Linux Users

Reply
This is an open group. Sign in and click the "Join Group" button to become a group member and start posting.

Re: visaconf does not see my TDS2004B

Thanks!

0 Kudos
Message 11 of 14
(157 Views)

Re: visaconf does not see my TDS2004B

Just in case anyone's interested, Ethernet connections with 2010.0 work perfectly.

0 Kudos
Message 12 of 14
(157 Views)

Re: visaconf does not see my TDS2004B


Ox@NI wrote:

On some Linux distributions, when using USB TMC (Test & Measurement Class)Instruments, they may not be accessible by a user other than 'root' if the

class of the instrument is defined at the interface level. If this is the case, access may be granted by using the "AddUsbRawPermissions.sh" script.

 

Try using that script to see if you can get the device to show up.


man 7 udev

 

#1: add a group for the access to the device

#2: add a udev rule that sets proper permissions on the devices

#3: properly package this, so no manual intervention (eg. hacks like having to call some scripts manually) is required.

 

Linux Embedded / Kernel Hacker / BSP / Driver development / Systems engineering
0 Kudos
Message 13 of 14
(156 Views)

Re: visaconf does not see my TDS2004B


@Shawn B.

More likely the problem is that Linux now has a native usbtmc driver "/sbin/modinfo usbtmc".  I'd bet that the native driver is claiming the device since NI-VISA normally only picks up unclaimed devices.


Why not just using these mainline drivers directly ?

 

Linux Embedded / Kernel Hacker / BSP / Driver development / Systems engineering
0 Kudos
Message 14 of 14
(155 Views)
Reply
This is an open group. Sign in and click the "Join Group" button to become a group member and start posting.