Yokogawa¶

Yokogawa7651 Power Supply¶

class instruments.yokogawa.Yokogawa7651(filelike)

The Yokogawa 7651 is a single channel DC power supply.

Example usage:

>>> import instruments as ik
>>> import quantities as pq
>>> inst = ik.yokogawa.Yokogawa7651.open_gpibusb("/dev/ttyUSB0", 1)
>>> inst.voltage = 10 * pq.V

class Channel(parent, name)

Class representing the only channel on the Yokogawa 7651.

This class inherits from PowerSupplyChannel.

Warning

This class should NOT be manually created by the user. It is designed to be initialized by the Yokogawa7651 class.

current

Sets the current of the specified channel. This device has an max setting of 100mA.

Querying the current is not supported by this instrument.

Units: As specified (if a Quantity) or assumed to be of units Amps. Quantity with units Amp
mode

Sets the output mode for the power supply channel. This is either constant voltage or constant current.

Querying the mode is not supported by this instrument.

output

Sets the output status of the specified channel. This either enables or disables the output.

Querying the output status is not supported by this instrument.

Type: bool
voltage

Sets the voltage of the specified channel. This device has a voltage range of 0V to +30V.

Querying the voltage is not supported by this instrument.

Units: As specified (if a Quantity) or assumed to be of units Volts. Quantity with units Volt
class Yokogawa7651.Mode

Enum containing valid output modes for the Yokogawa 7651

current = <Mode.current: 5>
voltage = <Mode.voltage: 1>
Yokogawa7651.trigger()

Triggering function for the Yokogawa 7651.

After changing any parameters of the instrument (for example, output voltage), the device needs to be triggered before it will update.

Yokogawa7651.channel

Gets the specific power supply channel object. Since the Yokogawa7651 is only equiped with a single channel, a list with a single element will be returned.

This (single) channel is accessed as a list in the following manner:

>>> import instruments as ik
>>> yoko = ik.yokogawa.Yokogawa7651.open_gpibusb('/dev/ttyUSB0', 10)
>>> yoko.channel[0].voltage = 1 # Sets output voltage to 1V

Return type: Channel
Yokogawa7651.current

Sets the current. This device has an max setting of 100mA.

Querying the current is not supported by this instrument.

Units: As specified (if a Quantity) or assumed to be of units Amps. Quantity with units Amp
Yokogawa7651.voltage

Sets the voltage. This device has a voltage range of 0V to +30V.

Querying the voltage is not supported by this instrument.

Units: As specified (if a Quantity) or assumed to be of units Volts. Quantity with units Volt