what to put in my startup scripts

Hi,

I've seen several different instructions about what to put in the startup 
scripts to configure Comedi.  But I'm not sure I understood any of them well 
enough to try them out.  So for the last few weeks I've been doing that 
manually in the terminal.  I'm using RH Linux without RTAI/RTLinux.  I have an 
NI-6036E board.

Here's what I type in my terminal upon startup whenever I'm using Comedi.

# ./sbin/modprobe ni_pcimio
# ./sbin/ldconfig
# cd /usr/local/comedilib-0.7.22
# ./configure --disable-ruby-binding --disable-python-binding
# make
# make install
# cd comedi_config
# ./comedi_config /dev/comedi0 ni_pcimio
# cd ../comedi_calibrate
# ./comedi_calibrate

1) If you can, please tell me exactly, or almost exactly, what I need to put 
in my startup scripts, and where.

2) This is just a general C programming question, but I haven't gotten it to 
work based on the information I have.  How do I run comedi_calibrate from 
within my acquisition code?

Thanks very much.

Heather

Received on 2006-07-01Z13:25:18