There is an entire manual on instrument driver development that comes with CVI. It has all the information you need on writing an instrument driver. The manual is available in PDF form in your cvi\manuals directory and is called instdriv.pdf.
Best Regards,
Chris Matthews
Measurement Studio Support Manager