AnsweredAssumed Answered

Need Help Getting 34901A in 4W Mode (Remotely with C)

Question asked by 1megahurts on Apr 2, 2014

I'm having trouble getting a 34901A card (inserted into 34972A) to operate as expected in 4W mode using C#.  Simple code segment below does not (A) open the bank switch nor (B) close channel 11 automatically with channel 1 (which is the implied behavior).  What am I missing?  Thanks!

DMM has been disabled manually though the front panel menus (could not find the C# command for that).
Alos, could not find a specific "set_close_4W" command.  Only the general CLOSE command used below.

            Agilent34970 daq1 = new Agilent34970();

            // initialize the instrument
            daq1.Initialize("USB0::0x0957::0x2007::MY49014960::0::INSTR", false, true, "simulate=false");

            // set all channels to 4W mode

            // confirm if channel is in 4W mode - this part works!
            if (daq1.Route.get_FWire(101)) Console.WriteLine("CONFIRM");            

            // close channel 1 - should also close channel 11 - doesn't work
            daq1.Route.set_Close(101, true);