PH 415 Computer Interfacing
OSU logo
The content of this page is undergoing revision and will be moved to another site soon.
Python Programming

Table of Contents

Introduction

Matplotlib and Pylab

  • Try the simple plot, which requires numpy and pylab. Numpy is the basic package for scientific computing. The pylab module is part of the Matplotlib package which provides Matlab style graphing functionality.

Numpy and SciPy

Ctypes

  • This sample program demonstrates communicating with PCI, USB and GPIB instruments via visa32.dll.

GUI Programming

Converting Data Structures

  • To convert a binary block of data to 32 bit integers in Python/Numpy, read this.

Using Windows COM and ActiveX