11-09-2016 09:04 AM
Hi All,
I need to program the zaber T-RSW60A to do a 360 degree orientation through labveiw .
I can get it do move to a paticular degree but to do the same thing repeatedly is what am having difficulty with.I want to increment the angle automatically after certain amount of timeout.
any suggestions to code this appropriately are welcomed.
Ayesha
Solved! Go to Solution.
11-09-2016 09:01 AM
Hi All,
I need to program the zaber T-RSW60A to do a 360 degree orientation through labveiw .
I can get it do move to a paticular degree but to do the same thing repeatedly is what am having difficulty with.I want to increment the angle automatically after certain amount of timeout.
any suggestions to code this appropriately are welcomed.
Ayesha
11-09-2016 09:06 AM - edited 11-09-2016 09:10 AM
Hi Ayesha,
do the same thing repeatedly is what am having difficulty with.I want to increment the angle automatically after certain amount of timeout.
- To do things "repeatedly" you should use a loop.
- To wait a "certain amount of time" you use a Wait function in the loop.
- To increment a value you need to keep the previous value. To do so you should use shift registers!
This is all very basic LabVIEW stuff…
(Edit: no need to create double posts!)
11-09-2016 09:18 AM
Hi Gerd,
Thank you for your suggestion..
I have attached my vi..which does the rotation for the degrees specified and stops the loop
but after each rotation i want to increment the angle in steps of 45 automatically and finally stop the vi after it completes 360degress.do i have to incorporated another loop with the shift registers.. even if i do that how does the angle gets incremented.
Please advise necessary changes in the vi
Ayesha
11-09-2016 09:22 AM
Hi Ayesha,
I've attached an example where you can input the device number, the size of the step you'd like to make, and the number of milliseconds you'd like to wait each time. It will then step through 360 degrees when you run. This example uses the Zaber T Series Instrument Driver.
Hopefully this example is helpful. You can also contact me at mike@zaber.com for additonal Zaber specific support.
11-09-2016 09:27 AM
Hi Zabercs
Thank you soo much!!!
Very helpful...