LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

CIN compiling error as following!!

I have add the command in projiect seting like"C:\Program Files\National Instruments\LabVIEW 6.1\cintools\ $(TargetName)-d $(WkspDir)\$(OutDir)" and "
$(OutDir)$(TargetName).lsb",but still get the error! What should i do??




--------------------Configuration: VI_name - Win32 Debug--------------------
Performing Custom Build Step on .\Debug\VI_name.dll
'C:\Program' is not recognized as an internal or external command,
operable program or batch file.
Error executing c:\winnt\system32\cmd.exe.

VI_name.dll - 1 error(s), 0 warning(s)
0 Kudos
Message 1 of 3
(2,696 Views)
gpibssx;

Probably you are having a problem with the custom step in order to create the CIN. For some reason, some people have bad experiences with the custom step. You have to be very careful writing the command.

I wrote a small VI to take care of that. Just ignore the custom step and when VC++ finish, run the VI to create the .lsb file. You can download the VI from here:

http://www.jyestudio.com/lview.shtml

Its name is CIN Custom Step. I hope this help.

Regards;
Enrique
www.vartortech.com
0 Kudos
Message 2 of 3
(2,696 Views)
Goto your project settings and try this out
1-Goto C++ Tab, Choose Preproccesor and type "C:\Program Files\National Instruments\LabVIEW 6.1\cintools" in "Additional Include directories"

2-Goto CustomBuilds tab, under Commands type WITH quotes
"C:\Program Files\National Instruments\LabVIEW 6.1\cintools\lvsbutil" $(TargetName) -d "$(WkspDir)\$(OutDir)"

your Output type is correct
Good luck

Arafiq
0 Kudos
Message 3 of 3
(2,696 Views)