# Comedi data acquisition

The Comedi libraries provide a convenient method for interacting with data acquisition cards, but are restricted to Linux compatible operating systems.

pymeasure.instruments.comedi.getAI(device, channel, range=None)

  Returns the analog input channel as specified for a given device

pymeasure.instruments.comedi.getAO(device, channel, range=None)

  Returns the analog output channel as specified for a given device

pymeasure.instruments.comedi.readAI(device, channel, range=None, count=1)

  Reads a single measurement (count==1) from the analog input channel of the device specified. Multiple readings can be preformed with count not equal to one, which are seperated by an arbitrary time

pymeasure.instruments.comedi.writeAO(device, channel, voltage, range=None)

  Writes a single voltage to the analog output channel of the device specified