AnsweredAssumed Answered

GPIB and 4395A

Question asked by slowslc on Sep 21, 2006
Latest reply on Sep 25, 2006 by slowslc

I am using the Ivi.Visa.Interop library to control my 4395A.

I get this error while trying to read the name of the instrument. It barfs on the "IDN?" statement and rdg read. Yet this code works well with my HP3458 meter.



addr is being passed as "GPIB0::17";

---------- sample code ----------

           Agilent4395 = new FormattedIO488();

            ResourceManager mgr = new ResourceManager();
            OptionString = "Timeout = 20000 ; TerminationCharacter = 13 ; TerminationCharacterEnabled = TRUE";

                Agilent4395.IO = (IMessage)mgr.Open(addr, AccessMode.NO_LOCK, 2000, OptionString);
                Agilent4395.WriteString("IDN?", true);
                rdg = Agilent4395.ReadString();