07-27-2010 05:31 AM
Hi! I have a proble.
I want to control a plane with 1 gyro, 1 accelerometer and this servo:
http://www.mindsensors.com/index.php?mo ... PAGE_id=93
I´m doing that with labview, but I have problems to control the servo.
when I try to run a .vi than I download from web of mindsensors, it take errors like that:
NXT_imageDataCache.vi, NXT_BlockParamOffset.vi , NXT_GetBlockPng.vi, Nxt-servo-all 8.vi write_byte.vi....
somebody can help me?
07-28-2010 05:42 AM
The program run OK!!!
[url=http://img97.imageshack.us/i/servo2ok.jpg/][img]http://img97.imageshack.us/img97/9302/servo2ok.jpg[/img][/url]
but i want to control the 3 servos at all the time,not only a moment.
thanks by your help
07-30-2010 05:18 AM
Hi Toni,
You just have to replaced the TRUE constant cabled to the WHILE loop stop condition with a control so that user can decide when to abort the iterations. I recommend you to include a timing VI into the loop.
Regards,
08-03-2010 05:01 AM
pero con eso podria controlar los 3 a la vez?
08-03-2010 05:12 AM
Hi Toni,
In order to work with the three motor servos at the same time you should include three WHILE loops in your block diagram, one loop for each servo motor.
Regards,
08-04-2010 02:55 AM
But I must control it at all the time, not onli a moment.
thanks
[URL=http://img30.imageshack.us/i/servo3.jpg/][IMG]http://img30.imageshack.us/img30/9402/servo3.jpg[/IMG][/URL]
Uploaded with [URL=http://imageshack.us]ImageShack.us[/URL]
08-04-2010 03:01 AM
Hi Toni,
As I told you on one of my previous posts: "You just have to replaced the TRUE constant cabled to the WHILE loop stop condition with a control so that user can decide when to abort the iterations" - Debes reemplazar la constante TRUE que se encuentra cableada al terminal de condición de para del bucle WHILE por un control (o una constante FALSE en su defecto).
Hope this helps,
08-04-2010 03:30 AM
me da el siguiente error
08-09-2010 03:20 AM
Hi Toni,
As it is said in the dialog box, you just need to right-click the boolean control and select a mechanical action like 'Switch when Pressed'.
Regards,
08-10-2010 04:19 AM
I do that, but it don´t run.
what is the problem?