Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem while addressing the gpib device through 7210

Hi,
 
   I configured the 7210  as active system controller. Now i need to address the gpib device to make it listener and send the gpib commands to it. Acording to the manual of 7210, I need to address the device first by sending the addressing commands MTA and MLA.  I think i can send the device address by sending MLA command and making it listener.  But how can the device know that 7210 is the talker and its address (plus system controller)??. I have chosen the primary dual addressing mode by writing 0x31 to ADMR and 0x00 to ADR0 in 7210 initialization. Can i use MTA command ( sending MTA0 to the device) to  to configure 7210 as talker?
 
Is it correct to follow the below sequence to address the 7210  as talker and gpib device the listener?
 
1. configure 7210 as active system controller
2. send UNT ; send untalk command to make the device the listener
2. Send MLA5  // addressing device as the listener with address 5
3. Sending MTA0 // addressing 7210 as the talker with the address 0
4. making 7210 to go to standby controller state
5. send GPIB commands
 
please help me to configure 7210 as talker correctly?
 
0 Kudos
Message 1 of 2
(3,044 Views)

Hello 500017,


500017 wrote:
But how can the device know that 7210 is the talker and its address (plus system controller)??.


I believe you are asking how the instrument on the GPIB will know that 7210 will be the talker.  The answer is that it doesn't have to know.  It just knows to drive the NRFD and NDAC handshaking lines because it is addressed as listener.  It also knows that if DAV happens to assert, data is availble from the talker (IEEE 488 limits the number of talkers to one).
 
How are you using normal dual addressing? Are you implementing one or two logical devices with this setup?  You could also post what you are writing to ADR1 to address this question.
 
The steps you are taking are good except for the absence of UNL.  It looks like you are not unaddressing listeners from the previous communication.  These will remain listeners since they are not commanded to un-listen.  This does not matter if there is only one instrument on the bus.  When sending GPIB commands, what are you sending?  Is this a command like *IDN? or DCL?
 
I hope this helps,
Steven T.
0 Kudos
Message 2 of 2
(3,035 Views)