10-30-2013 09:51 AM
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.
10-30-2013 10:02 AM
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
10-30-2013 10:09 AM
I've attached the proposed changes. What do I put in place of the stepsize multiplied by iteration inside the loop?
Thanks
Tania
10-30-2013 01:13 PM
Does the picture I sent seem alright? Are those the only sections I need to delete?
Many thanks,
Tania
10-30-2013 01:23 PM
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
10-30-2013 02:37 PM
12-03-2013 02:46 AM
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
04-21-2014 08:44 AM
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
07-04-2014 08:56 AM
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