取消
显示结果 
搜索替代 
您的意思是: 

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 项奖励
11 条消息(共 16 条)
2,127 次查看

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 项奖励
12 条消息(共 16 条)
2,123 次查看

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 项奖励
13 条消息(共 16 条)
2,122 次查看

Are we on a Windows 10 PC? 

Could it be .net 2.5/3 version problem?

 

0 项奖励
14 条消息(共 16 条)
2,116 次查看

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

0 项奖励
15 条消息(共 16 条)
2,114 次查看

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 项奖励
16 条消息(共 16 条)
2,104 次查看