LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

ActiveX

Hi,
 
I am getting more and more familiar with Thorlabs rotation stage (CR1/M-Z6E + TDC001), running it from LabView (ActiveX). But now I have some question.

My requirement is to rotate a stepper motor for a selectable angle (say about 1 degree) and then stay idle for a selectable duration (say about a second) to do some measuremets from the same LabView Front Panel and Block Diagram. Then rotate another 1 degree and stay idle for a second, measure again and so forth till it is switched off.

(How) is it possible to programe move sequences for MG17Motor (ActiveXObject) in LabView allowing several positions to be visited without user intervention, as with the APTUser Software?
How to make this measurements in only one "Run" without user intervention (no BUTTONS)!
Is there any other way to operate this buttons except usig them?
Is it posssible to programme sequence of movements as with the standalone APTUser Software?

Kikica
0 Kudos
Message 1 of 4
(4,554 Views)
I don't know how your "APTUser Software" works but this is a simple way to program a sequence of events...

1. Create a cluster on the front panel which describes the actions that need to be performed each step. (Angle, Delay, Measurements)
2. Put that cluster in an array
3. Feed the array into a for loop which will perform all the actions you've defined in the array.


I take it from your post that you are able to perform these actions as a response to a button click.
If your program uses an event structure, you can programmatically trigger the events by using the "value (signalling)" property node for the control that fires the event.

Troy - CLD "If a hammer is the only tool you have, everything starts to look like a nail." ~ Maslow/Kaplan - Law of the instrument
0 Kudos
Message 2 of 4
(4,525 Views)
Hello,

I am looking for a labview example showing how to control a DC thorlabs motor with a t-cube TDC001.

Regards
0 Kudos
Message 3 of 4
(4,373 Views)
Dear pdupre,

From the product page for the T-cube, it looks like communication is still done through ActiveX.

http://www.thorlabs.com/NewGroupPage9.cfm?ObjectGroup_ID=2419


I believe your question is answered here:

How to "communicate" the DC servo driver/controller for rotation stage, Thorlabs
http://forums.ni.com/ni/board/message?board.id=250&message.id=36919&requireLogin=False

Unfortunately, I do not know of any existing examples for the T-Cube specifically.

Best Regards,

~Nate


0 Kudos
Message 4 of 4
(4,331 Views)