LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LABview Project dependency paths

Wow, thanks for going the extra mile! And yes they are thorlabs controls, but all the software for them should be within the .dll's in the ZIP. I had some difficulty loading them in initially but this guide helped me out - https://www.thorlabs.com/Software/Motion%20Control/Kinesis/Kinesis-labview.pdf (around page 14). Does this help? 

0 Kudos
Message 11 of 16
(1,265 Views)

OK, that was very helpful.  You have three Thorlab dlls in your Project -- Benchtop.PiezoCLI, GenericPiezoCLI, and Controls.  When I try to browse to them and add them, I get the (unhelpful) message "An error occurred trying to load the assembly."

 

Just as a Reality Test, BenchtopPiezo is 119KB on my disk, Controls is 108KB, and GenericPiezo is 231.

 

It is definitely true that if you move the dlls relative to the Project, things are going to "break".  Is there any possibility that what you "moved back" were the "wrong" (different version, different bittedness, etc.) files?

 

Sorry, I'm stuck.

 

Bob Schor

0 Kudos
Message 12 of 16
(1,261 Views)

Its definitely possible, I will check again tomorrow (night time here in the UK), however I suspect they are correct as I only have one version on disk etc. Maybe a full rebuild is in order...If I could do it once I can do it again.

 

Just to check, if the correct DLL files are in the same folder as the project there should be no problems, ie it automatically searches there first?

0 Kudos
Message 13 of 16
(1,260 Views)

Are we on a Windows 10 PC? 

Could it be .net 2.5/3 version problem?

 

0 Kudos
Message 14 of 16
(1,254 Views)

It is windows 10, however it was working previously so not sure why it would break?

0 Kudos
Message 15 of 16
(1,252 Views)

Ive rewritten it using APT drivers as a single VI (not in a a labview project) and its currently working so dont waste any more time on this!

Thanks to all for the help.

0 Kudos
Message 16 of 16
(1,242 Views)