public static MCACommand SetBias(ushort highVoltage, BiasInhibitInput inhibitInput) { return new MCACommand(CommandName.CMD_SET_BIAS, highVoltage, (uint)inhibitInput); }
public void SetHighVoltage(ushort value, BiasInhibitInput inhibitSignal) { if (HasPowerModule == false) { return; } if (value > MaximumHighVoltage) { throw new ArgumentOutOfRangeException(); } MCAResponse response = Client.Send(MCACommand.SetBias(value, inhibitSignal)); if (response == null) { throw new MCADeviceLostConnectionException(); } }