To install the digitize program and driver we need to: 1) check out the source 2) compile it 3) install it Step 1) To check out the source, change to a directory where you would like the source (e.g. ~/build), and do a: % cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/digitize login press enter at the CVS password: prompt, then % cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/digitize checkout digitize you should see something like: cvs server: Updating digitize U digitize/Digitize U digitize/Makefile U digitize/chanview.c . . . Step 2) To compile the source, you need gcc and gmake (or just make on most linux systems). % cd digitize % gmake [make on linux] digitize gcc -c -Wall -O -g digitize.c gcc -c -Wall -O -g rdfrawfile.c gcc -c -Wall -O -g xdov.c gcc -c -Wall -O -g dui.c gcc -c -Wall -O -g res.c yacc -d gram.y gcc -c -Wall -O -g y.tab.c gcc -Wall -O -g -o digitize \ digitize.o rdfrawfile.o xdov.o dui.o res.o y.tab.o \ -L/usr/X11R6/lib -lXext -lX11 -lm when this is done, we need to build the driver. on solaris, the driver is called "ni": % gmake ni . . . on linux, the driver is called niedrv.o, and is made by: % gmake niedrv.o gcc -Wall -c -I/lib/modules/2.4.21/build/include -D__KERNEL__ nie.c ld -r -o niedrv.o nie.o Step 3) To install the driver we must become root: % /bin/su Password: [root password goes here] % /bin/csh ./install-drv.csh . . . % exit this will install the driver. now we can run the digitize program by typing: ./digitize sample.info t.log t.raw 1 to use the national instruments card to see and save live data. to use dovtest on an already existing rawfile, we can type: ./digitize -rawfile rawfilename.rdf sample.info t.log t.raw 1 where rawfilename is the filename of the rawfile to view as if it were coming off of the eeg hardware.