Reactor Controller / Data Acquisition

17 09 2009

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):

IMG_4042

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:

IMG_4038

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:

NIdatalogger

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.

Actions

Information

3 responses

18 09 2009
FAMULUS

Problem:
The USB-6008/9 is reading around 1.4V in referenced single-ended (RSE) mode when no signal is connected. Is this expected?

Solution:
Yes, when there is no signal connected to the analog input of the USB-6008/9, a reading of around 1.4V in RSE mode is expected. This is due to the internal resistor network.

http://digital.ni.com/public.nsf/allkb/C7C4AB4BD256EF0386257013001650E7

23 09 2009
FAMULUS

UPDATE: looks like there is now a hack to get this installer running on Snow Leopard:

http://forums.ni.com/ni/board/message?board.id=250&thread.id=51512

6 06 2010
QUADRUPLE BUBBLE!!!! « Prometheus Fusion Perfection

[…] we were having problems with transient voltages spikes or EMFs crashing the data acquisition (DAQ) card. Today was a big test for the new transient voltage suppression system . It FAILED big […]

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s




%d bloggers like this: