Scientific software development, stage lighting, and stuff

Python threads are easy (with example)

Tuesday, August 19th, 2008 Posted in Software development | No Comments »

It's remarkably easy to spawn a Python thread.  However, before doing so, I caution you that a Python thread is not the same thing as an OS thread.  Python threads run within the Python interpreter, but the Python interpreter always ...

Redirecting text output from Python functions

Saturday, August 16th, 2008 Posted in Uncategorized | No Comments »

Two posts ago, I described how I wrote a function in Python that reads in a binary file from Labview. In my last post, I described using wxPython to write a GUI to process the data from those binary ...

Fun with threads in Python and wxPython

Monday, August 11th, 2008 Posted in Software development | No Comments »

I have finally gotten back to programming in the last couple of days.  Our project has finally started to generate a lot of data, so I've been refactoring and improving my code that reads data stored in LabView binaries.  Today ...

Reading Labview binary files with Python

Wednesday, June 25th, 2008 Posted in Software development | 1 Comment »

My research group uses Labview 7.1 to write custom data acquisition (DAQ) software. I code everything else in Python, so I need to get data from Labview into Python for processing. Our DAQ program produces Labview binary files, so ...