Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

What is the 'Scan for Instruments' sequence for a GPIB-USB-HS+

I am recreating a GPIB interface for a system. I have a problem getting the GPIB-USB-HS+ to recognise the device when I 'Scan for Instruments'. It seems to occasionally recognises a device and let me start using the NI-VISA tools. When this happens I can then send write and read commands sucessfully.

My question is this, what is the sequence does the system use to scan for devices on the bus?

I have attached a trace of the results that I am getting. It appears to be scanning each primary and seconary address, but I can't see it initiating an *idn? command. When I get a device show up from a scan then it says that it didn't get a response from the "*idn? command sent.

Is there any way of getting the system to only check the primary address that I am using?

 

 

0 Kudos
Message 1 of 2
(2,765 Views)

There are prior command formats for requesting the identity of an instrument.  I believe that the bus goes out and performs a status poll at each address.  If it obtains a status response, it then will perform the current standard query of:

*IDN?\n

As some instruments do not respond to that, you may need to inquire with one of these prior commands:

ID?\n
U0X\r\n
Help the Community (and future reviewers) by marking posts as follows:
If it helped - KUDOS
If it answers the issue - SOLUTION
Message 2 of 2
(2,738 Views)