Valkertown Blog

I used to write about electronics…

Valkertown Blog header image 5

Entries Tagged as 'swig'

Finally publishing DS1M12 python code

November 26th, 2008 Comments

Well it’s done, I have published my work on the DS1M12 Python Swig Wrapper.
It’s located on the mercurial repos, it’s hosting two files that maybe I will have to delete since they come from the original source that I do not own. Also everything is build around Python 2.5, going to try building it [...]

Tags:   · · · · · ·

DS1M12 usb osciloscope in linux and python

October 1st, 2008 Comments

Well, today in the afternoon I was given a task, make the Usb Instruments DS1M12 usb osciloscope in linux, it was quite a surprise
to find out it had some kind of support for Linux and I started my work with their sources.
I found it requires two downloads one from USB Instruments itself and another from [...]

Tags:   · · · · · · ·

Swig Python

January 21st, 2008 Comments

Bueno, hace poco jugue un poco con Swig,
para generar modulos de python desde c en particular.
Resulta una tarea muy simple
Escribi un Makefile que ilustra los pasos de una forma más o menos
simple, este Makefile esta más bien orientado a Slackware 12 pero
se puede saber facilmente que partes deben ser modificadas para otros
*nix.

#Makefile

MODULE=anything

all:
swig -Wall -python [...]

Tags:   · ·