Hi guys.
Currently i'm trying to control the "Stage" movement of an optical tweezer set. I am able to achieve x and y-axes control. Moving on, I hope to achieve a circular movement.
As of now, I'm getting the x and y values from the (Marz Get Pos SubVi) and subsequently i control the radius (R) manually through my front panel.
To make it move around in a circular motion, I created a feedback loop of an increment function to supply value (A) in terms of radians (As the Cosine/Sine function only accepts radians values) into the Cosine and Sine function which is my new x= RCos^A while my new y= RSine^A.
Finally, I was hoping to change this A in term radians setting the circular motion, i want it to be a function of time. When i set a value of t=2s, my program must be able to tell me the location of x and y at t=2secs.
As attached is my connection so far, kindly enlighten me on how i could convert using radians into time instead. Thank you in advance. Feel free to ask any questions.
Best Regards,
Scott