LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Kinesis Thorlabs Cage Rotator

Solved!
Go to solution

Hello everyone! 

 

Does anyone have an expample of any LabVIEW program for the cage rotator of Thorlabs, namely K10CR2/M. 

They have a guide for the Kinesis software, but I am not able even to success with basic stuff.

 

Thank you

 

0 Kudos
Message 1 of 6
(222 Views)

What specific problems do you have with "basic stuff"?

 

Also, have you seen this thread?

https://forums.ni.com/t5/Motion-Control-and-Motor-Drives/Control-of-Thorlabs-K10CR1-cage-rotor-devic...

 

It's for the CR1, not the CR2, but they did post a block diagram.  Their problem was a bit more complex but the code example they posted (as a png, unfortunately) indicates they got it working.  It might be a starting point that helps you.

0 Kudos
Message 2 of 6
(201 Views)

Ok, to be more specific, I am struggling even with the connection to the device. I am trying to set up an even simpler program, which should give the position of the motor. When I run the program, it first says, "No suitable device is found", and then an error from LabVIEW. I followed the instructions of the Kinesis LabView Guide, and I can't find the problem. 

The installed Kinesis program works fine, though.

0 Kudos
Message 3 of 6
(162 Views)
Solution
Accepted by topic author This_Is_Mecco

Ok this one seemed to have the same issues you are having. Look at this tread:

https://forums.ni.com/t5/LabVIEW/Using-Labview-with-kinesis-to-control-Thorlabs-BPC303/td-p/3763105

Tim
GHSP
0 Kudos
Message 4 of 6
(151 Views)

Thank you for sharing this thread with me. 

Now I have the program, based on the suggestions, and it works well (see screen).

Though I didn't type in the serial number in a way 7XXXXXX, it didn't work for me. Just the number works fine. 

Also, if I abort the execution, then the connection to the rotators is lost.

I also wonder if I can avoid using the Cage Rotator Control to do not see the interface of the Kinesis. Is it even possible? I think the LabVIEW process slowly when using this, no? 

 

 

0 Kudos
Message 5 of 6
(126 Views)

If all you want to do is not see the front panel .Net control, you could simply move it out of the visible portion of the front panel.  An alternate would be to change its "visible" property to false.  There is a property node that will do that from the block diagram (although I could not find one in the "Properties" list on the front panel).  You can also use a block diagram constructor, but this can be a bit of work, so unless there is a compelling reason to take this route, one of the other options may be better.

0 Kudos
Message 6 of 6
(118 Views)