Instruction manual

Output Mode: Off
Over heat protection: Normal
Output State: OFF
Output current set to: 5.0
Maximum output voltage: 5.0
Output voltage set to: 2.5
Product info:
Model 6821
Serial no. 6369001100
Firmware version 1.58
Set to local control
TimeNow()
Returns a string with the current date and time. This is useful for data logging. Example:
Fri Dec 19 12:01:32 2008
The facilities in python's time module allow you to customize this string.
TurnPSOn()
Turns the power supply on.
TurnPSOff()
Turns the power supply off.
Remote or local control
SetRemoteControl()
Turns on the Rmt annunciator and puts the instrument into remote control. This means the only
power supply keys that are functional are the up and down arrow keys and the Shift + Local key
press.
SetLocalControl()
Returns control back to the front panel.
Maximum
SetMaxVoltage(voltage)
Sets the maximum voltage limit of the power supply. This can also be done in the menu from front
panel.
Output
SetOutVoltage(voltage)
Sets the output voltage of the power supply.
SetOutCurrent(voltage)
Sets the output current of the power supply.
SetCommunicationAddress(address=0)
The address must be an integer between 0x00 and 0xFE. Note: this address is currently
unsupported and should always be set to 0.
B&K 1785, 1786B, 1787B, 1788 Python Library 15 January 2009 Page 7 of 14