setVoltage method

void setVoltage(
  1. double voltage
)

Implementation

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