LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Thorlab motion control, kinesis, labview

Solved!
Go to solution

Hi,

I am trying to connect Thorlab travel stage to labview. Prior I have used Kinesis. I am using the kinesis labview guide to do it.

There is an error, when İ try to select assembly and control. 

"Error occured trying to load the assembly."

How can İ solved this Problem? 

0 Kudos
Message 1 of 3
(82 Views)
Solution
Accepted by topic author Natig

Most common problems:

 

1. You might be trying to access the wrong bit-ness of DLL.  If you are using 32-bit LabVIEW, you need to download "Kinesis 32 bit for 64 bit Windows".  For 64 bit LabVIEW, you need to download "Kinesis 64 bit for 64 bit Windows".

2. Windows might have blocked access to the DLLs after you copied them from one location to another.  Right-click the file, select Properties, then see if it shows the blocked message:

Kyle97330_0-1732125077521.png

3. You are either trying to access the DLLs in their home location in Program Files or you didn't copy all 100+DLLs from the folder to the LabVIEW code folder you will be using.

4. If you have an older version of LabVIEW you might need to add a .exe.config file to allow LabVIEW to use the most recent .NET frameworks.  I can't remember the exact version that made this unnecessary, I think it was somewhere between 2015-2019.

Message 2 of 3
(45 Views)

Thanks a lot. It works now. Problem was different bits. 

0 Kudos
Message 3 of 3
(26 Views)