guidance needed for writing "buffered non-cumulative event counting" function for NI 660x card driver

Hello,

My supervisors have bought an NI6602 card and I am working to get the 
card to do the "buffered non-cumulative event counting" function in Linux.

I have downloaded and installed comedi+comedilib. I have also downloaded 
relevant ni660x files from Mr Klaas Gadeyne's website: 
http://people.mech.kuleuven.ac.be/~kgadeyne/software/pprts/drivers/comedi/ni660x/

I would like to ask for some advice and guidance:
========================================================================
1) How do I test to see if comedi is installed correctly?
    -I don't have other cards other than NI6602.
    -And I have not yet learnt how to add the 660x driver into comedi.

2) How to I use the "patch" function in Linux to patch the ni660x files
    I have downloaded?

3) Am I on the right path if I start working by:
    -testing the card driver's "encoder" function to see how a working
     function is like?
    -And then work on the event counting function?
========================================================================

I am really new to driver writing and appreciate all your advice and 
guidance. Thanks ;o).

Sincerely,
Andrew

Received on 2003-10-28Z16:08:56