LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error while loading CyUSB.dll assembly using .net palette

Hi all,

 

I am trying to load the CyUSB.dll into labVIEW using the .net constructor node. When I browse the CyUSB.dll file, the class window displays an error "An error occured trying to load the assembly."

A .net exe is being able to load the same file and run successfully without any errors..

 

Has anyone faced this before? Can anyone help me solve this issue? Any help would be highly appreciated..

 

untitled.PNG

Warm Regards,
Nitz

0 Kudos
Message 1 of 4
(3,527 Views)

Do you have the correct version of the .NET framework on your machine that corresponds to the version the .NET assembly was written for?

Chris
Certified LabVIEW Architect
Certified TestStand Architect
Message 2 of 4
(3,514 Views)

Hi Chris,


I was able to load the dll to the Contructor node. This issue was because the dll was being used by another application. When I closed it and tried loading it worked. 

But the issue I'm facing now is not all the functions are accessible and from the programmers manul of CyUSB, I have found out that the USB Device List must be used to get the device communication working. But I'm having a tough time communicating with the device. The system throws an error when using the get_item function.

 

I would be glad if you could help me figure out a way to communicate to the device. I want to capture the data from the board and display it in LabVIEW.

Warm regards,
Nitz

0 Kudos
Message 3 of 4
(3,510 Views)

I'm facing the same problem with a .NET DLL, LabVIEW 2015 and Windows 10.

The DLL can be loaded on one PC, but it gives me an error on the other one. Both PCs have the same LabVIEW version installed and run on Windows 10.

 

Does anyone have any idea?

0 Kudos
Message 4 of 4
(3,142 Views)