setVoltage method
Implementation
void setVoltage(double voltage) {
if (_handle == null || !isAttached) {
throw StateError('VoltageOutput not open or not attached');
}
bindings.checkPhidgetError(
bindings.voltageOutputSetVoltage(_handle!, voltage), 'setVoltage');
}