Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

usb-gpib-hs+ support under Red Hat 7?

Hi,

 

I would like to know if the NI USB GPIB HS+ is supported under Red Hat 7.0 (kernel 3.10.0-123.8.1.el7.x86_64).

I would like to use it for normal GPIB control and I understand that the analyzer capability is only available under Windows.

 

I successfully installed the NI 488.2 15.1 package. From a terminal, when I run "lsusb", I can see the NI USB GPIB HS+ (as well from the dmesg output).

But when I run the /usr/local/natinst/ni4882/bin/gpibtsw  tool to check the installed GPIB controllers, nothing is reported.

 

According to the documentation published on the NI web page, my USB GPIB HS+ is supported. But is there a problem with

Red Hat 7.0 although it is listed as supported in the system requirements? Or is there something special that needs to be done with the USB GPIB HS+ (which works fine as an analyzer on my Windows 7 laptop)?

 

Thanks in advance for your support.

 

NI-488.2 15.1 for Linux

The following devices are supported for use with this download:

  • AT-GPIB/TNT (PnP)
  • GPIB-ENET/100
  • GPIB-ENET/1000
  • GPIB-USB-B
  • GPIB-USB-HS
  • GPIB-USB-HS+
  • NI ExpressCard-GPIB
  • NI PCIe-GPIB
-------------------
System Requirements
-------------------
This release of NI-488.2 for Linux software supports the following
distributions:

CentOS 7
openSUSE 13.1
openSUSE 13.2
Red Hat Enterprise Linux 6
Red Hat Enterprise Linux 7
Scientific Linux 6

 

 

Pierre

Message 1 of 16
(6,143 Views)

If you are not running Red Hat Enterprise Linux 7, then you have your answer.

0 Kudos
Message 2 of 16
(6,141 Views)

Thanks for your reply. I am running Red Hat Enterprise 7.0 as shown in /etc/redhat-release (by the way, in a bare metal installation on a HP desktop, not in a Virtual Machine):

 

$ more /etc/redhat-release
Red Hat Enterprise Linux Workstation release 7.0 (Maipo)

0 Kudos
Message 3 of 16
(6,139 Views)

Have you tried rebooting your PC?

0 Kudos
Message 4 of 16
(6,136 Views)

Yes, I rebooted my workstation,  this is necessary for completing the NI 488.2 software installation.

0 Kudos
Message 5 of 16
(6,134 Views)

pgauthier wrote:

But when I run the /usr/local/natinst/ni4882/bin/gpibtsw  tool to check the installed GPIB controllers, nothing is reported.

 

 

Perhaps you are not executing the command properly?  Perhaps you need to execute   ./usr/local/natinst/ni4882/bin/gpibtsw

 

0 Kudos
Message 6 of 16
(6,122 Views)

Sorry, what I meant when nothing is reported is that the NI  tool actually executes, the GUI comes up  but the GUI does not list any GPIB interfaces.

 

See attached picture.

 

Running the Linux dmesg command shows that the USB GPIB HS+ is connected and recognized. It also appears in the output of the lsusb command.

 

[ 5114.629798] usb 2-1.5: new high-speed USB device number 6 using ehci-pci
[ 5114.716810] usb 2-1.5: New USB device found, idVendor=3923, idProduct=7618
[ 5114.716816] usb 2-1.5: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 5114.716820] usb 2-1.5: Product: GPIB-USB-HS+
[ 5114.716824] usb 2-1.5: Manufacturer: National Instruments
[ 5114.716827] usb 2-1.5: SerialNumber: 019B2226

 

 

0 Kudos
Message 7 of 16
(6,117 Views)

Perhaps you can just ignore and go on with your project and write a simple *IDN?  query and see if the instrument responds.

0 Kudos
Message 8 of 16
(6,111 Views)

I already tried that but my simple C program reports that no GPIB controllers are present...same result as the NI troubleshooting tool,

which I normally trust when checking installation of NI GPIB PCie cards. 

 

Thanks again for replying to my post.

 

 

0 Kudos
Message 9 of 16
(6,107 Views)

I suppose there is always the possibility that your device is broken.

 

Do you have another one?

0 Kudos
Message 10 of 16
(6,105 Views)