LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error Reading Header File When Creating a CIN

Hello everyone. I am a college student new to LabView and Im using the software to create a real time data acquisition system for EMG signal analysis for a research project. However, Im having difficulty building a CIN for my C code. I am using Microsoft Visual Studio.NET 2003 and running LabView 7.1 on Windows XP. I am using the "Using External Code in LabView" (April 2003 Edition) manual and I am attempting to do the steps located in section 3-15 under Visual C++ IDE. However, I keep getting fatal error C1083: Cannot open include file: 'extcode.h': No such file or dir. I have followed all of the directions in the manual and even explicitly tried adding extcode.h to my project  but I still get this error. My version of Visual Studio is different then the one described so I was wondering if there is something different that I have to do in this process. Any help would be greatly appreciated. Thanks for your time.
Pat
0 Kudos
Message 1 of 3
(2,743 Views)
Is there a particular reason you're not using a Call Library Function Node to call a DLL instead of using a CIN? Calling DLLs from Call Library Function Node are usually a much more user-friendly process, which I would recommend, unless you need to take advantage of the extra features listed on page 1-4 of Using External Code in LabVIEW.
Jarrod S.
National Instruments
0 Kudos
Message 2 of 3
(2,732 Views)
hi there
 
try to enclose all paths you specify in your VC++ - project with apostrophes (think of CINTOOLSDIR!) .
 
 
best regards
chris
Best regards
chris

CL(A)Dly bending G-Force with LabVIEW

famous last words: "oh my god, it is full of stars!"
0 Kudos
Message 3 of 3
(2,721 Views)