AnsweredAssumed Answered

34980A simple switching and DMM measurements...

Question asked by zaius55 on Oct 13, 2015
Hello,

I'm using the IVI-C driver with the 34921A and am attempting to make simple 4-wire continuity measurements.  I am only using one side of the double pull single throw switches so I need to make four connections to actually make my measurements.  

I see some old examples that have a dmmconfigure call (this appears to be missing now).  If I use the following with a blank switch path string will this return 1 measurement?  

---------------------- BEGIN CODE ------------------------

        // Connect Commons for 4 wire Ohm
     CHECK_MUX(Ag34980a_SetAttributeViBoolean(MuxSession_s, "slot1com1", AG34980A_ATTR_IS_CONFIGURATION_CHANNEL, VI_TRUE));
     CHECK_MUX(Ag34980a_SetAttributeViBoolean(MuxSession_s, "slot1com2", AG34980A_ATTR_IS_CONFIGURATION_CHANNEL, VI_TRUE));
     
     CHECK_MUX(Ag34980a_Connect(MuxSession_s,CHANNEL_LIST[0], "abus1"));
     CHECK_MUX(Ag34980a_Connect(MuxSession_s,CHANNEL_LIST[1], "abus1"));
     CHECK_MUX(Ag34980a_Connect(MuxSession_s,CHANNEL_LIST[2], "abus2"));
     CHECK_MUX(Ag34980a_Connect(MuxSession_s,CHANNEL_LIST[3], "abus2"));     
     
     CHECK_MUX(Ag34980a_MeasureFResistance(
                     MuxSession_s,
                    "",
                             AUTO_RANGE,
                        AG34980A_VAL_RESOLUTION_BEST,
                                   RetValBufSize,                                   
                             &ContinuityMeasurements[i],
                        ReValActualSize));

     CHECK_MUX(Ag34980a_WaitForOperationComplete (MuxSession_s, 30000));
          
     CHECK_MUX(Ag34980a_Disconnect(MuxSession_s, CHANNEL_LIST[0], "abus1"));
     CHECK_MUX(Ag34980a_Disconnect(MuxSession_s, CHANNEL_LIST[1], "abus1"));
     CHECK_MUX(Ag34980a_Disconnect(MuxSession_s, CHANNEL_LIST[2], "abus2"));
     CHECK_MUX(Ag34980a_Disconnect(MuxSession_s, CHANNEL_LIST[3], "abus2"));


-------------------------------------- END CODE ---------------------------  

Outcomes