From 11:00 PM CDT Friday, May 10 – 02:30 PM CDT Saturday, May 11 (04:00 AM UTC – 07:30 PM UTC), ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Linux Users

cancel
Showing results for 
Search instead for 
Did you mean: 

visaconf does not see my TDS2004B

Thanks!

0 Kudos
Message 11 of 14
(445 Views)

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

0 Kudos
Message 12 of 14
(445 Views)

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
(444 Views)

@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
(443 Views)