getDataRate method
Implementation
double getDataRate() {
final pRate = calloc<Double>();
try {
bindings.voltageInputGetDataRate(_handle!, pRate);
return pRate.value;
} catch (e) {
throw PhidgetException('An error occurred getting the data rate: $e');
} finally {
calloc.free(pRate);
}
}