Edit optec.h to select the serial port for your filter wheel.

Build the executables:

make clean
make

Install the executables and set_camera_filter link in /usr/local/bin/

make install


If you want to remove the executables, then

make uninstall

To use the IFW filter wheel from within xmccd, you need a copy of prefs.ccd
in /usr/local/observatory/prefs/.  This file sets the number of filters and
their text identifiers.  Examples can be found in the prefs directory of xmccd.

By default, XmCCD will try to automatically configure an SBIG filter wheel on
SBIG cameras.  On Apogee cameras, it will assume that there is no filter wheel present unless an external filter
wheel is specified in the configuration file.

XmCCD will try to run "set_camera_filter" as an external program.  
Make install will create a link for this program in /usr/local/bin/.








