Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

9914 Controller

I am using a NI9914 ASIC as a controller.  I can set the device as a controller however after sending the required MLA MTA commands any attempt to actually send data to the Listening device seems not to trigger the change in setup of the instrument.
 
The  initialization of the command sends the Untalk and then Unlisten commands followed by MTA0 MLA1 which results in the instrument Listen indicator illuminating.
 
I've attempted to use the setup string "S0 F3 R3 T1" with and without a terminating CRLF which resulted in no change, my code applies EOI before transmitting last character.
 
If I configure the 9914 with the LWT bit in ACCRB any command other than the untalk or unlisten results in the device timing out.
 
Using the 9914 simply as a talker listener the system function flawlessly so I am assuming that the control and data lines are configured properly.
 
The 9914 has a set of 75160 and 75162 transceivers conneted to the device.  When the 9914 is configured as a controller the SC pin of the 75162 is asserted to enable the control of the IFC and REN lines.
 
Both sic and sre commands are asserted for at least 1ms during intialization.
 
Also if I place the controller back into standby mode do I need to drive the SC pin of the 75162 low?  It appears that if I attempt to send the configuration string with the controller in standby mode the program times out.
 
Can any one provide some insight.
 
 
0 Kudos
Message 1 of 3
(3,471 Views)

Hello sma,

It sounds like the mla and mta commands are happening since your instrument illuminates its listener indicator.  Do you have any way of finding out if your the data bytes get sent out as well?  If the instrument is addressed correclty and the byts get put onto the bus, the instrument will have to handshake in order to receive more bytes.  Since the instrument is receiving the bytes, you may not be sending a correct command to the instrument.

How are you using the 9914 as a talker/listener and not the controller in this system?  Is there another device sending commands when the 9914 is not the controller?

Steven T.

0 Kudos
Message 2 of 3
(3,452 Views)
The issue was resolved by resequencing my initialization routine and ensuring that the REN line was initialized into the correct state.
0 Kudos
Message 3 of 3
(3,449 Views)