• Measure temperature with a Keithley 2700 and 7700 multiplexer in C#

    I am trying to figure out the proper syntax to get the Keithley multimeter to return the temperature from channel 1 on the first slot (@101). I am connected to the Keithley 2700 through a USB to Serial connection. I can query the DMM for the serial number. So I know I am connected and can send commands. But I don't understand how to format the command to measure the temperature (or any of the resistances, for that matter).

       public string GetTemperature(string comPort)
       {
           string msg = "MEAS:TEMP?:@101"; // I also tried "*TEMP? @101"
           string response = string.Empty;
           SerialPort sp = new SerialPort();
           sp.PortName = comPort;
           if (!sp.IsOpen)
               sp.Open();
           while (sp.BytesToRead > 0)
           {
               response += sp.ReadExisting();
           }
           sp.DiscardInBuffer();
           sp.Close();
           return response;
       }

    I get no errors. It just returns an empty string. 
    Can anyone help?

    Thanks.
     
  • RE: Code Examples for reading data from DMM 2700

    Thank you for your reply, Jake. I looked at the link you sent which is the link I had. It requires a 3rd party type library (VISA COM 5.9) which I don't have. I was hoping for something that did not require a resource that may or may not be available a year from now. 

    Scott

  • Code Examples for reading data from DMM 2700

    I am looking for examples of connecting to and reading data from the model 7708 multiplexers in a Keithley model 2700 DMM using RS232.
  • Code Example for Model DMM 2700

    I am looking for a code example to connect to and read data through a DMM Model 2700 with two model 7708 switches attached. I did not find a specific example on your GitHub site. What would be the closest model on the site to the 2700? I have the manual but it does not have an example I can build from. Is there any other reference material I can download?