title: How can I easily switch channels and pull data from a Kiethley DMM via GPIB?
body: <p>I am in the process of writing a simple DAQ program that will record data from various sources and save them to a csv file while providing live plotting. It has gone well aside from one problem that has been kicking my butt. </p>
  
  <p>One of the places I have to pull data from is an older Kiethley 2001 DMM with a scan-2001 10 channel scan card in it. Using Pymeasure and a Prologix USB to GPIB adapter, I can easily communicate with the unit but I can't figure out what string of GPIB commands I need to use in order to simply change to a particular channel, record the value on display, then move on to the next channel without interfering with the DMM's current settings. The different channels include voltage readings, amperage, temperature, and resistance that was already set up in the meter prior to this project.</p>
  
  <p>Project is being written in Python3.7 and is being implemented on a Raspberry Pi 3B+</p>
  
  <p>I know the communication is working properly because I can send an IDN? and get the unit information and ROUT:SCAN:INT? will show that all 10 channels are available.</p>
  
  <pre><code>data = keithley.ask(":DISP:DATA?")
  
  print(data) #shows whatever is currently on display at the DMM
  
  chan1 = keithley.ask(":ROUT:SCAN:INT?")
  
  print(chan1) #provides a list of channels and shows all 10 of them
  </code></pre>