Since the pump broke I’ve been working on the reactor controller / data acquisition system. This will allow us to record:
Voltage reading (via voltage dividers and ammeter shunts); low power voltage reading from magnetometer, thermocouple, pressure gauge, etc; on the output side: voltage control of power supplies, servos for needle valves, triggering IGBTs; Our ion gauge has the option of digital over RS485.
I purchased an NI USB-6008 (manual, driver):

Unfortunately the driver for this does not work with Snow Leopard yet. I’ve already upgraded my main laptop to Snow Leopard and I really don’t want to downgrade to Leopard so I dug up and old G4 running Tiger. Had to swap out a broken CD drive:

This G4 will be a challenge to upgrade to Leopard as it lacks a DVD drive, although it may be possible to install without DVD.
I was able to install the driver NI-DAQmx_Base. I opened up NIdatalogger and performed a successful grab of voltage data on the analog input:

I would like to get this ruby adapter working. So far I can’t get it to build on Tiger (it makes it further on Snow Leopard). I’m working with the creator to get it installed and working:
make -f Makefile.swig install
swig -ruby -Fstandard -I/Applications/National\ Instruments/NI-DAQmx\ Base/includes -o daqmxbase_wrap.c daqmxbase.i
make: swig: Command not found
make: *** [daqmxbase_wrap.c] Error 127
make -f Makefile.swig install
swig -ruby -Fstandard -I/Applications/National\ Instruments/NI-DAQmx\ Base/includes -o daqmxbase_wrap.c daqmxbase.i
make: swig: Command not found
make: *** [daqmxbase_wrap.c] Error 127
—————-
UPDATE:
I just needed to install
SWIG. Although this took roughly 6 hours! It installed without a problem.
I AM UP AND RUNNING with data acquisition in my native programming language ruby.
Like this:
Like Loading...