So, you are trying to compile the CIN code in CVI for use with LabVIEW, correct? If so, there are detailed instructions on how to build the LabVIEW LSB file with CVI in the file cvilvsb.h in the LabVIEW\CINTools directory. YOU HAVE TO HAVE THE FULL VERSION OF LABVIEW TO COMPILE CINs, not the base version.
If you are still having problems after reading the instructions in cvilvsb.h, you should probably contact our support engineers via http://www.ni.com/ask who will be happy to help you.
Best Regards,
Chris Matthews
National Instruments