getDataRate method

double getDataRate()

Implementation

double getDataRate() {
  final pDataRate = calloc<Double>();
  try {
    bindings.stepperGetDataRate(_handle!, pDataRate);
    return pDataRate.value;
  } catch (e) {
    throw PhidgetException("An error occurred getting data rate $e");
  } finally {
    calloc.free(pDataRate);
  }
}