LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Instruments do not show up anymore using the GPIB-USB-HS

Solved!
Go to solution

Hello folks. I am using my NI GPIB-USB-HS box to talk to a gauss meter in an old VSM machine. The instruments were showing up fine in NI-MAX just a few days ago but now they do not and the option to scan for instruments doesn't seem to be there anymore either. 

 

noscan.png

 

I have noticed that when plugging into my laptop that has LabVIEW 2019 SP1, the ready indicator is orange.

 

IMG_20200228_145708.jpg

 

IMG_20200228_145715.jpg

When plugging the NI GPIB USB into the internal computer of the VSM I get a green light on Ready though.

 

IMG_20200228_145634.jpg

IMG_20200228_145651.jpg

 

The VSM internal computer is running a runtime version of LabVIEW 5.1 and seems to be able to identify the instruments and can see the GPIB bus they are on.  The Laptop is running LabVIEW 2019 SP1 and could do the same just a few days ago through NI MAX and LabVIEW. To the best of my knowledge I have not changed anything but ran the sample GPIB programs that come with LabVIEW. Any ideas? I appreciate anyone's effort reading this.

 

 

0 Kudos
Message 1 of 11
(4,007 Views)

Per this manual it seems that green/amber indicate the link speed of the USB connection.  Green is USB 1.1 and amber is USB 2.0.

 

If you're only getting 1.1, then that might be the problem.  Is there another USB port you can use?  Or reinstall/update the drivers for the USB port it's on?

 

USB 1.1 is slow enough compared to GPIB speed that it might actually be timing out or overfilling a buffer in a weird way somewhere.

0 Kudos
Message 2 of 11
(3,998 Views)

Oddly enough its its usb 1.1 computer that is the only one seeing the instruments. Both computers with Labview 2019 Sp1 do not see the instruments but the one with labview runtime 5.1 and usb 1.1 does. I did not know that amber just meant a different usb speed, that is good to know.

0 Kudos
Message 3 of 11
(3,986 Views)
Solution
Accepted by topic author crash_override

Guess I was reading it backwards then.

 

Do you have NI-488.2 installed on the LabVIEW 2019 computers?  If so, is it the most recent version (19.5) or an older one?

0 Kudos
Message 4 of 11
(3,978 Views)

Yes indeed. I tried downloading them again and the installer says something along the lines of "nothing to be installed"

0 Kudos
Message 5 of 11
(3,974 Views)

In your screenshot of MAX I notice that it shows a bunch of hardware IDs after the GPIB device.  I don't have those on my PC for my GPIB-USB-HS, I have "GPIB0" instead.  That seems off to me.

 

Can you go to Device Manager and verify it shows up under "NI GPIB interfaces" with no "exclamation mark" or other issues indicated? 

 

Maybe try some other settings in MAX to set it to have a GPIB interface ID (e.g. GPIB0 or other ID) since it ought to have one...

0 Kudos
Message 6 of 11
(3,964 Views)

I do remember it saying GPIB a few days ago also now that you say that. The new title it has in NI Max is different.

 

cb8202098198a773160ac3d38cca9364.png

 

Device manager looks fine though. I'm wondering if I shorted the device out when I was plugging it in yesterday. I couldn't tell if I heard a electrical short sound or it was just from plugging the two rods on each side of the gpib-usb attaching.

0 Kudos
Message 7 of 11
(3,960 Views)
Solution
Accepted by topic author crash_override

That's actually quite specifically NOT fine according to your screenshot.  Instead of showing up under "NI GPIB interfaces", it shows up as "Other devices" and does have a small yellow exclamation mark over its icon in Device Manager.

 

This is what mine looks like:

 

GPIB in device manager.PNG

Message 8 of 11
(3,948 Views)

Oh yes sorry. This computer does not have labview or 488.2 on it yet. I'm installing that now and will report back.

0 Kudos
Message 9 of 11
(3,942 Views)

Ok I have installed LabVIEW and 488 and now it looks like it might work.

I don't know why but the two other computers with labview 2019 did not work. One was a laptop, the other a desktop.

83bc4768600279843149697335f7a3a0.png

 

4df0eec00b3e079b3683d301bf7ed697.png

 

I won't know until I go in tomorrow if it definitely works with the gaussmeter but I will update tomorrow.

0 Kudos
Message 10 of 11
(3,876 Views)