Labview CIN with VS2005

Labview CIN with VS2005:

 

1. creat a new empety project

2. add CIN objects and libraries to the project. Select cin.obj, labview.lib, lvsb.lib, and lvsbmain.def from the Cintools subdirectory. You need these files to build a CIN.

3. open the project properties.

4. in general page, set both "output directory" and "intermediate directory" as "./debug"; set "configuration type" as "dynamic library (dll)";

5. in general section of C/C++ page, set "additional include directories" as "C:/Program Files/National Instruments/LabVIEW 7.1/cintools/" (the directory of the cintools)

6. in code generation of C/C++ page, set "runtime library" as "Multi-threaded DLL (/MD)"; set "struct member alignment" as "1 byte (/Zp1)

7. Add <CINTOOLSDIR>/lvsbmain.def (or ./lvsbmain.def) to the Linker»Input»Module Definition File field.

8. in custom build step page, set "command line" as " "C:/Program Files/National Instruments/LabVIEW 7.1/cintools/lvsbutil"  "$(TargetName)"  -d "$(SolutionDir)$(OutDir)" ";

set "outputs" as "$(OutDir)$(TargetName).lsb"

9. build the project

 
评论 3
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值