There are two variants currently supported - the older DI-194, with eight bit resolution, and the newer DI-194RS, with 10 bit resolution. Both have four analog input channels and three digital inputs, which can be read at up to 240Hz on a single channel. As of 4/2003, cost is about $25USD. The analog ports fixed range, reading from -10VDC to +10VDC.
The device is self-powered off of the serial port, making for a very compact and self contained tool.
However, the included Windows software is limited and platform-specific. I wanted to write a program for Unix (specifically, Linux) to use this device for my own needs.
http://www.tcrobots.org/software/dataq/dataq.c
http://www.tcrobots.org/software/dataq/makefile
This almost worked. I used their code as a basis for this project, and am in their debt. The authors are listed as
Author: Anthony Hanson and Mike Hage Date: April 1st, 2001
The data format the device returns is annoyingly scrambled; see the dataform.html file in the doc subdirectory for the information as provided by Dataq.
Read the di_open function if you want to learn the details.
If you have an old DI-194, then you have to send an 'enable code', which I cribbed from the original source. The software does this automatically based on the serial number - the RS's return ten ASCII zeros, the 194's return an ASCII number.
Grace http://plasma-gate.weizmann.ac.il/Grace/ is also pretty spiffy.
This is an interactive test program, with online help, to exercise and test your DI-194 and its connection. Read, reset, etc, etc.
di_source
Built on the library, this sets up a TCP port and, upon connection, streams data from the DI-194 to the TCP port. For example, you can telnet to the port and watch the data go by. This is the start of a networked DAQ app.
di_tempd
Special-purpose version of di_source, for reading a LM35CAZ temp sensor and telling the temp to whomever connects.
di_simplest
Hello, world type of code. Open, program, print one set of readings per second. A good place to start.
gtkdaq
Built on the library, this throws up an oscilloscope-style screen to plot data in realtime. Relies on the GTKDatabox library.
Determine other modes. WinDAQ can run at other rates; how?
Post to the net.
1.3