Skip to content

Python interface for DC power supply GPD-3303S

License

Notifications You must be signed in to change notification settings

HerrDings/PyGPD3303S

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyGPD3303S

Python interface for DC power supply Manufactured by GW Instek

  • GPD-2303S
  • GPD-3303S
  • GPD-4303S

Requirements

  • PySerial

Installation

At the time beeing: manually. Sorry for that.

Device Driver

GPD-3303S uses a USB to serial converter chip provided by FTDI. If you have not installed its device driver, please download and install it on your machine first.

macOS and most Linux distributions support FTDI chips without installing a device driver.

Example

>>> import gpd3303s
>>> gpd = gpd3303s.GPD3303S() # or .GPD2303S() or .GPD4303S()
>>> gpd.open('/dev/ttyUSB0') # Open the device
>>> gpd.setVoltage(1, 1.234) # Set the voltage of channel 1 to 1.234 (V)
>>> gpd.enableOutput(True) # Output ON
>>> v = gpd.getVoltageOutput(1) # read the actual voltage

About

Python interface for DC power supply GPD-3303S

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%