I followed the manual, it is not clear enough to carry out things successfully. However, I used the info in the NI site with title "How to build a CIN code resource (.lsb file)", and it was helpful. It explains clearly how to setup things unlike the manual. If anyone interested in taking a look at this page, it's under "NI Developer Zone", type the title I have given and it should display the page for you.