def getGlobalSampleRate(): """Get the current sample rate. This assumes one entry in the scan list. This is a global setting for all channels. :returns: Sample rate. """ return hal.getAnalogSampleRate()