Exemplo n.º 1
0
        public static GPIB Open(string GPIBAddress)
        {
            if (GRM == null)
            {
                GRM = new Ivi.Visa.Interop.ResourceManager();
            }

            GPIB gpib = new GPIB();

            gpib.Session = GRM.Open(GPIBAddress,
                                    AccessMode.NO_LOCK,
                                    2000,
                                    "");

            gpib.FIO488    = new FormattedIO488();
            gpib.Message   = (IMessage)gpib.Session;
            gpib.FIO488.IO = gpib.Message;

            return(gpib);
        }
Exemplo n.º 2
0
        public static GPIB Open(string GPIBAddress)
        {
            if (GRM == null)
            {
                GRM = new Ivi.Visa.Interop.ResourceManager();
            }

            GPIB gpib = new GPIB();

            gpib.Session = GRM.Open(GPIBAddress,
                                   AccessMode.NO_LOCK,
                                    2000,
                                    "");

            gpib.FIO488 = new FormattedIO488();
            gpib.Message = (IMessage) gpib.Session;
            gpib.FIO488.IO = gpib.Message;

            return gpib;
        }