Motion Control and Motor Drives

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I make MG17Piezo ActiveX automated without using jog to move the Nanomax stage

If you use while loop, you do not control the loop with iterations, but you do with stop condition. use graterthan command, as position reaches to max goven in input, while loop stops. 

0 Kudos
Message 31 of 39
(3,769 Views)

So I can delete this from the code and I should remove the iteration from the while loop? Can you send me a picture of how it should be done?

 

Thanks

 

Tania

0 Kudos
Message 32 of 39
(3,768 Views)

I've attached the proposed changes. What do I put in place of the stepsize multiplied by iteration inside the loop?

 

Thanks

 

Tania

0 Kudos
Message 33 of 39
(3,766 Views)

Does the picture I sent seem alright? Are those the only sections I need to delete?

 

Many thanks,

 

Tania

0 Kudos
Message 34 of 39
(3,762 Views)

1. you can delete top left part of the loop, as it does nothing for while loop.

2.  second one, i think you do not need to delete this one as it will update your position in the loop as it runs. Only you have to modify (add increment one to 'i' so that initial position is equal to step size.

3. If you can use DAQ functions instead of DAQ assistant, it will be more accurate and convenienet. for this, forst write code for DAQ and inport this as subVI into the main program .

 

if you want more details, skype me to mahendarkumbham or email me to mahendarkumbham@gmail.com 🙂

 

mahendar

0 Kudos
Message 35 of 39
(3,759 Views)
So regarding point 2 I just leave the iteration bit as it is. How do I add the add increment one to i bit to the code? Isn't it doing that by itself?

Thanks,

Tania
0 Kudos
Message 36 of 39
(3,756 Views)

Hi Mahendar,

 

Hope you're well!

 

I am currently using the setvolt code that you showed me for the open loop. If I am to carry out a 2-D scan in both x and y, how can I add that to the code?

 

Kind Regards,

 

Tania

0 Kudos
Message 37 of 39
(3,708 Views)

Hi Tania,

 

Did you know how to control the stage to scan a 2-D image ? I have the same problem . If you had figured out it , could you share your labview code with me?

Thank you very much!

 

Kind Regards,

 

Zhangxin

0 Kudos
Message 38 of 39
(3,648 Views)

Hi Zhangxin,

 

I just saw your post and I haven't figured it out till now. Have you figured it out by any chance?

 

Kind Regards,

 

Tania

0 Kudos
Message 39 of 39
(3,612 Views)