Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

GPIB-USB-HS works selectively

Solved!
Go to solution

 

Situation

 

-an old HP3962A works nicely using a PCI-GPIB card on a PC. Labiew code.

- a K2000 dvm works nicely using a GPIB-USB-HS hub, on a laptop. Laview code.

 

Problem:

 

NIMAX does not recognize the HP3962 when using the GPIB-USB-HS hub, on the laptop, although it recognizes seveal other instrument, like the K2000 dvm.

 

Thank you for suggestions, Philippe

 

 

0 Kudos
Message 1 of 7
(5,593 Views)

note added after my original post: I seem to remember that several "languages" can be used over the GPIB hardware. 

 

- the K2000 dvm (Keitley 2000) communicates with the so-called SCPI language over GPIB. This dvm can also be set to "talk" lang199.

- now, I'm not sure which "language" the HP3962A spectrum analyzer is using, but this intrument was perhaps available before the SCPI agreement took place. 

 

would this explain why a "lang199 only" instrument is not recognized by NIMAX ?

 

thanks you all for more advice, Philippe

0 Kudos
Message 2 of 7
(5,555 Views)

Filou2 wrote:

would this explain why a "lang199 only" instrument is not recognized by NIMAX ?


What exactly do you mean by "not recognized"?  If you are using GPIB, the instrument should be detected (able to detect something is at the instrument's address).  If it doesn't know SCPI, then the IDN? will fail and the instrement won't be able to be named.  But you should still be able to talk to the instrument using MAX, assuming you know the commands to send.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 3 of 7
(5,553 Views)
Actually, the idn command along with others such as tst, rst, etc., is defined by IEEE-488.2 and not scpi but the advice is correct. If the instrument is listed and only fails the id query, then just ignore the message. The actual detection of an instrument is done with very low level GPIB commands that have nothing to do with scpi.
Message 4 of 7
(5,549 Views)

Hi

You are using old instruments but relative easy ones.

One problem could be the default settings or a very long gpib cable.

In MAX I suggest to changes the default settings for bus speef from 500ns to 2 microseconds. The instruments determine the speed anyhow and like me, old instruments are not so fast...

 

greetings from the Netherlands
Message 5 of 7
(5,547 Views)

thank you all for input (kudos follw).

 

"HP3562A not recognized" refers to the observation that the GPIB-USB-HS is recognized as GPIB0  by NIMAX but not this particular attached instrument. Other instruments, like the said K2000, are recognized. Cable length is 1.5 meter. I'll play with bus speed, as suggested.  I shall look into the "passport issue" as well.

 

I wish you all a nice day, Philippe

0 Kudos
Message 6 of 7
(5,525 Views)
Solution
Accepted by Filou2

after removing the 1.5 m long GPIB cable, and connecting the GPIB-USB-HS unit directly to the old HP3562A unit, NIMAX does recognize this instrument (low level).

Direct com over NIMAX does not process, but the (old) LabView code written for reading out the data works.

Perhaps bus speed was the issue.

Solved for now, thank you all.

0 Kudos
Message 7 of 7
(5,510 Views)