04-10-2009 11:41 PM
Hi all. Meet again with mr junior
I want to control 5 servos by sliders for each.
Can anybody show me how:
-to put an array of data for the valuethat I control into a table. Every column show value (of degree) for each servo
-every row is the sequence/step for the movement, so I can set many movement that I can save and send it to serial port to run through all the steps
Thanks
-TaL, Malaysia
04-13-2009 04:28 AM
Hi TaL,
A simple way is to just wire your array into a For Loop. It will automatically index the input, meaning each iteration of the loop, it will use the corresponding element of the array.
Attached is a simple VI showing how that works. Use that as a starting point for your program.
Hope this helps.
04-13-2009 06:44 AM
04-13-2009 09:34 AM
This is the third thread you've started on the same topic. Please stick to one thread so everyone can see all the information.
04-13-2009 09:04 PM
ok smercurio... sorry for duplicating. was very nervous of the dateline
anyway anyone can repair my program? I also have seen example of robot.vi, seems very complicated for me.
Million of thanks.