LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

compile the CIN source code

I am using Labview 7.1.
I am trying to use CIN with C source compiled either with Microsoft Visual C++ 6.0 or Visual C++ 2005 Express edition.
In both cases I am totally unable to compile the code even with the simplest C source file provided in the CIN examples of Labview.
I follow exactly the steps indicated in the documentation "Using external code in Labview".
But I get an error message according to which at the custom build step some path is wrong!
Is there somewhere somebody able to explain step by step the procedure to get this working with both Microsoft compilers?
Thanks in advance and regards.
Didier.
0 Kudos
Message 1 of 5
(3,260 Views)
Didier;
I created a workaround. Download the VI "CIN Custom Step" from my website: http://www.jyestudio.com/visecurity/resources.html Make sure you read the instructions. I hope this help.

Regards; Enrique
www.vartortech.com
0 Kudos
Message 2 of 5
(3,252 Views)

Dear Enrique,

It's black magic! It works!

Thanks a lot; still is there a way to understand the rational behind all this?

Thanks anyhow.

regards,

Didier.

0 Kudos
Message 3 of 5
(3,246 Views)
I just finished working on getting the CINs to work correctly in VS.NET 2005 - you can hear about it on my blog
 
 
I haven't tried with VC 6, but the VS.NET 2003 with the shipping makefile and 2005 with the updated one worked fine for all the LV CIN examples. Also, my updates fix a problem at runtime with the new RTEs in VS.NET 2005 - not compile problems. Did you try changing anything with the examples, or just follow the steps in the manual?
 
Also, I did try out the changes for 2005 with LV 7.1 and they seemed to work fine also.
0 Kudos
Message 4 of 5
(3,238 Views)
This VI works great for Labview 7.1 and Visual C++ 2005 Express Edition, thanks!
0 Kudos
Message 5 of 5
(3,146 Views)