06-25-2015 05:35 PM
Hey everyone,
Trying to automate the keysight E5071c network analyzer, however, NIVISA configuration utility doesn't find the device
My setup:
Red Hat 5
NI-VISA 5.4.4 installed withtout any issues
keysight E5071C, connected via usb.
so far i've tried almost everything, at least as far as i know.
I found the usb device location for my instrument at /dev/usb/usb488-0957-0d49-0-MY46522561.
-I ran the hotplug fix and supplied the vender and product ID, said it worked successfully
-I ran the NI-VISA configuration from the /vxipnp/linux/NIvisa/USB, and it doesn't show any USB devices.Only serial.
-running lsusb -v produces
------------------------------------------------------
Bus 002 Device 007: ID 0957:0d09 Agilent Technologies, Inc.
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 254 Application Specific Interface
bDeviceSubClass 3 Test and Measurement
bDeviceProtocol 1 TMC
bMaxPacketSize0 64
idVendor 0x0957 Agilent Technologies, Inc.
idProduct 0x0d09
bcdDevice 1.00
iManufacturer 1 Agilent Technologies
iProduct 2 E5071C
iSerial 3 MY46522561
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 39
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xc0
Self Powered
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 3
bInterfaceClass 254 Application Specific Interface
bInterfaceSubClass 3 Test and Measurement
bInterfaceProtocol 1 TMC
iInterface 4 tmc488
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x01 EP 1 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0002 1x 2 bytes
bInterval 1
----------------------------------------------------------
-I've also granted r/w permissions to all users on all usb devices.
-i've added....: none /proc/bus/usb usbfs devmode=0666 0 0
to the /etc/fstab file, and rebooted.
-and lastly, according to an NI troubleshooting guide, I added 'blacklist usbtmc' to the /etc/modprobe.d/blacklist file
Any more suggestions?
Thanks for your time!
06-26-2015 01:43 PM
Hi DavidLoganProgrammer,
Are you using a real-time target? If the USB device is a CDC ACM class device, the NI Linux Real-Time OS already has a driver for that device which is preventing NI-VISA from claiming the device.
Here are few resources that might be worth looking into.
USB Device Not Recognized by NI-VISA on NI Linux Real-Time Target
Can I Control a USB Device with NI-VISA on a Real-Time Controller?
Instrument Control in Linux Tutorial
Technical Assistance for Linux and National Instruments Products
What Linux Distributions Do National Instruments Drivers and Software Support?
06-26-2015 03:38 PM
What is a NI Linux Real-Time OS? I do not believe we installed anything from NI prior to the NI-Visa 5.4.4 libraries
06-26-2015 03:40 PM
/sbin/rmmod cdc-acm
ERROR: Module cdc_acm does not exist in /proc/modules
I don't believe that i have a ni linux real time os
06-28-2015 11:31 PM
The USBTMC driver is blocking VISA ? See this document.
07-01-2015 11:36 AM
Hello guys,
I'm trying to control a vacuum gauge using an Agilent controller SGX-600 and so far i haven't found any kind of software for him.I've tried to make a program in labview using visa but a recevie the same error all over again.Can anyone help me.pls
07-01-2015 11:52 AM
07-01-2015 03:30 PM
Hi Mkossman,
I went through those steps, but to no avail. 😞
07-01-2015 11:41 PM
There is one thing, what I think is missing the document: You could verify, that the blacklisting of the USBTMC module really works by running "lsmod". If the module isn't listed anymore there is still a little chance that the driver is compiled hard into the kernel. So checking the kernel configuration could make sense,too. If the USBTMC driver is neither loaded as module nor build into the kernel I have no idea anymore.
07-02-2015 12:06 PM - edited 07-02-2015 12:09 PM
I run lsmod and usbtmc is at the top of the list. So it's there.
My /etc/modprobe.d/blacklist file also has 'blacklist usbtmc' at the top of the file
What should i do now?
thanks