Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Use LabWindows/CVI to creat CIN for LabVIEW

I am trying use LabWindows/CVI 8.1 to compile C code, which will be using in CIN node.
There was no problem to compile the C code and creat .DLL & .LSB files.
However, when I trid to "load code resource" in LabVIEW 8.2 to incorborate the .LSB file into CIN node, it does not show any error information. But the Run Arrow is still broken Arrow.
Clicked the broken Arrow, it shows that "Object Code is not Loaded".
 
Then I created an Call Libaray Node in LabVIEW, trying to call the .DLL file directly.
THe error is that can not find the function.
 
Please help,
 
 
 
0 Kudos
Message 1 of 2
(2,926 Views)
Hi shuwei

It sounds like you may be creating the LSB and DLL files incorrectly. Do you have other projects that have worked? You may want to get this example working first and then go back to your program to make sure everything is setup the same way:
Creating a DLL in CVI That Can Be Called from LabVIEW

Also, there is a great FAQ on our site that discusses creating DLLs in CVI here:
FAQ: Using Dynamic Link Libraries with LabWindows/CVI

Regards,
0 Kudos
Message 2 of 2
(2,912 Views)