LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

.NET 4.0 - Function CDotNetInvokeGenericMember return with -6571

Solved!
Go to solution

Calling .NET assambly throws an exception in Function "CDotNetInvokeGenericMember". I invoked the beamgage automation interface, which properly work with Labview 2012, but not with Labwindows/CVI. Initializing assembly and creating target was OK.

0 Kudos
Message 1 of 3
(3,205 Views)

Hi raama,

 

which version of CVI do you use?

in which version of LabVIEW did the assembly call work?

 

Did you try this sample code?

Sample Code for Calling .NET Assemblies: http://zone.ni.com/reference/en-XX/help/370051V-01/cvi/libref/cvidotnet_sample_code/

 

Best regards

Suse

______________________________
Certified LabVIEW Developer (CLD)
Message 2 of 3
(3,173 Views)
Solution
Accepted by topic author raama

I found the solution by myself. The reason was, some Dll's called by the assembly DLL where not found. I registered only the assembly DLL. The folder of Labview Example was below the assembly folder.

0 Kudos
Message 3 of 3
(3,161 Views)