+++++++++++++++++++
GENERAL INFORMATION
+++++++++++++++++++

1) Read your lab manual.

2) Examine the CVIPlab.c, threshold_lab.c, CVIPlab.h and understand how 
they work.

3) Use man pages to find out how existing CVIPtools C functions work.

4) The CVIPlab.tmpl contains the list of libraries to be linked 
with CVIPlab.c

5) The Imakefile can be modified to link files other than the threshold 
by changing the SRCS, OBJS and BINS. If you modify the Imakfile, you 
must create a new makefile by typing:

xmkmf
make depend

6) To compile the CVIPlab program, simply type: 

make

7) The .cshrc files contains information used to initialize the environment 
every time a command tool (shell) is invoked. 
Specifically, the CVIPlab information is contained in the CVIPlab_cshrc
file, which is sourced in the .cshrc

Changes to the .cshrc file take effect by typing (in your home directory):   
source .cshrc 

++++++++++++++++++++++++++++++++
ADDING A NEW FUNCTION TO CVIPLAB
++++++++++++++++++++++++++++++++

1) create a file similar to threshold_lab.c for the new function
(note: appending '_lab' to function names will avoid naming conflicts.)

2) add the new_function_setup to CVIPlab.c, and to the CVIPlab menu

3) add the function prototype to the CVIPlab.h header file:

extern Image *new_function(new_function parameters...)

4) add the name to the Imakefile in these two lines:

SRCS =  CVIPlab.c threshold.c new_function.c
OBJS =  CVIPlab.o threshold.o new_function.o

5) xmkmf

6) make depend

7) make

