fluidlab.instruments.powersupply.tti_cpx400dp

tti_cpx400dp

class fluidlab.instruments.powersupply.tti_cpx400dp.TtiCpx400dp(interface=None)[source]

Driver for the power supply TTI CPX400DP

Dual 420 watt DC Power Supply.

Default interface is GPIB, but the device can work also with LAN, RS-232 and USB connection. USB connection is actually a USB-Serial converter.

e.g. on linux with USB connection:

with TtiCpx400dp('/dev/ttyACM0') as tti:
    tti.onoffall.set(True)
    v = tti.vdc.get(channel=1)
    print(v)

On Windows or Linux with GPIB connection:

with TtiCpx400dp('/dev/ttyACM0') as tti:
    tti.onoffall.set(True)
    v = tti.vdc.get(channel=1)
    print(v)
idc Get actual current/Set current setpoint on specified channel. Channel is 1 or 2. = <TtiCpx400dpUnitValue object>
onoff Toogle output ON/OFF for specified channel. Channel is 1 or 2. = <BoolValue object>
onoffall Toogle output ON/OFF for both channels simultaneously. = <BoolValue object>
vdc Get actual voltage/Set voltage setpoint on specified channel. Channel is 1 or 2. = <TtiCpx400dpUnitValue object>

Classes

TtiCpx400dp([interface])

Driver for the power supply TTI CPX400DP

TtiCpx400dpUnitValue(name[, doc, ...])