LabVIEW for LEGO MINDSTORMS and LabVIEW for Education

cancel
Showing results for 
Search instead for 
Did you mean: 

PID controller on NXT

Hello,

 

I'd like to include a PID controller in my NXT-Program. But I can't use the LabVIEW Toolkit, because these VIs can't be compiled.
Howcan I realize such a control without PID-Toolkit?

 

Can show me anybody an example for implementation, please?

 

 

Regards, Maddien

0 Kudos
Message 1 of 3
(9,427 Views)

Hello Maddien,

 

You can use the PID Toolkit only if your programm runs on the host pc and send the data to the NXT.

This means both should be connected over USB.

 

So you have to manually calculate the pid to run it directly on the ARM MCU.

 

Regards Chris

0 Kudos
Message 2 of 3
(9,425 Views)
Full PID control might be difficult since you would need to implement it from scratch, but simple proportional control is fairly easy.  There is a good example of this in the book LabVIEW for LEGO MINDSTORMS NXT.  
Message Edited by BLAQmx on 09-17-2009 09:59 AM
Mark
NI App Software R&D
0 Kudos
Message 3 of 3
(9,407 Views)