LabVIEW for LEGO MINDSTORMS and LabVIEW for Education

cancel
Showing results for 
Search instead for 
Did you mean: 

mindsensors servo

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?

0 Kudos
Message 1 of 11
(8,978 Views)

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

0 Kudos
Message 2 of 11
(8,959 Views)

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,

David Oña
Message 3 of 11
(8,948 Views)

pero con eso podria controlar los 3 a la vez?

0 Kudos
Message 4 of 11
(8,921 Views)

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,

David Oña
0 Kudos
Message 5 of 11
(8,917 Views)

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]

0 Kudos
Message 6 of 11
(8,899 Views)

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,

David Oña
0 Kudos
Message 7 of 11
(8,895 Views)

me da el siguiente error

0 Kudos
Message 8 of 11
(8,890 Views)

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,

David Oña
0 Kudos
Message 9 of 11
(8,825 Views)

I do that, but it don´t run.

what is the problem?

 

0 Kudos
Message 10 of 11
(8,786 Views)