04-24-2018 02:17 PM
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?
04-24-2018 02:54 PM
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
04-24-2018 03:00 PM
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?
04-24-2018 03:47 PM
Are we on a Windows 10 PC?
Could it be .net 2.5/3 version problem?
04-24-2018 03:50 PM
It is windows 10, however it was working previously so not sure why it would break?
04-25-2018 06:45 AM
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.