LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Building an LSB File using MS Visual Studio .NET

Hi there...

I have a C file which I'm porting over from a Linux platform where I call it as a CIN & I want to just re-compile this under Windows XP so that I can use the same code on both platforms. I've been told I can do this using MS Visual Studio .net... which I have installed on my machine. However, I'm just wondering does anybody know how I actually go about building up the Project in MS Visual Studio so I can compile my .c file to a .lsb file?
0 Kudos
Message 1 of 4
(3,011 Views)
Michael,

Just checking to make sure you've digested Chapter 3 of the Using External Code in LabVIEW manual, and that you've seen the How To Create a CIN in Microsoft Visual C++.NET KnowledgeBase entry that provides some .NET-specific info and a custom wizard that may be useful.

Regards,
John
0 Kudos
Message 2 of 4
(3,001 Views)
Heya...

Had seen the Chapter 3 stuff ok, I've been trying it with Visual C++ Version 6.0 but have gotten to the linking stage & it keeps bombing out on me with an error of: -

Linking...
Creating library Debug/Adice.lib and object Debug/Adice.exp
Running LVSB Utility for Adice Interface CIN code Build for Windows
Error executing c:\windows\system32\cmd.exe.
Adice.dll - 1 error(s), 7 warning(s)

Followed the link to the KnowledgeBase article as well... the text wasn't really all that much help 🙂 but the Custom Aplication Wizard download at the end of the document was excellent... followed the instructions in the Readme.1st file, & have just managed to get my CIN compiled up in Visual Studio .NET... most excellent.

Many thanks for the links & information... & to Wayne S. Pelouch, who wrote the Application Wizard for the CIN compilations...

M.J
0 Kudos
Message 3 of 4
(2,992 Views)
Lookers like Johnner got you going, but I'll cross reference this thread for others that might be having problems with CINs and VS.NET...

http://forums.ni.com/ni/board/message?board.id=170&message.id=120422
0 Kudos
Message 4 of 4
(2,987 Views)