04-12-2007 09:47 AM
Hi!
You will find it in the "Control Design & Simulation" or you can find it in the "starting window" under Examples. Open "Toolkits and Modules" and "PID Control". Or use the searchfunction, serach for "PID". Use (almost) any .vi and copy the subvi PID.
04-12-2007 09:50 AM
Hello again
Forgot about the rotationcount. It uses the built-in encodersignal and it makes 360 counts in one whole turn (one count = one degree).
04-15-2007 09:14 AM
04-17-2007 08:27 AM
04-25-2007 11:59 AM
Thanks for pointing out the direction to wander on 😉
But:
A small problem arrises when you change the direction of the motor:
my strange.vi (see attachement) based on previous writer Get&Set output state... vi gives me the unwanted result that when you change the direction of the motor, it turns approx 2x the set amout of Tacholimit (in my example 360°).
So whenever in previous state it went approximately from 0->360°->720°->1080 and then you'd inverse direction it is going from 1080 -> a very unprecise 360° !! I can't explain why.
For the record I did try Regulation, braking, state-running, and other possibilities. No luck so far, so I was wondering if you guru's could point out the direction to solve this.
TIA
Fredje AKA GGGss (from Belgium) new labview user
04-28-2007 02:00 AM
Hi guys:
After I post this thread at 12/15/06,I began to study how the actuating motor worked. NXT used this kind of motor.
To make it work, a runtime feedback must be essential. For example,if we want it rotate 120 degree,we give it power,let the moto run,and check the current degree very fast.When the feedback degree is =120,then cut the motor power or force it stop.
All these functions must run very fast. However, usb or bluetooth connect are not fast(have not realtime feature).For this reason,we hardly get the real current motor degree and also can not stop the motor at we wanted time.
This is why NI does not provides motor degree control feature in it's NXT direct commands tools but provides this kind of features in NXTtoolkit which must be downloaded in your NXT and run on NXT.
For this reason,I think in the future version of Ni NXT tools,we can not see this feature aslo.
04-30-2007 12:09 AM
04-30-2007 04:15 AM
03-26-2009 05:15 AM
I have created the rotate by degrees program but there is an error which i can't figure out how to fix. I am using version 8.2. Could someone please assist me. Thanks.
04-08-2009 10:59 AM
Hi
I would like to generate oscillation with one motor. Have you got a solution for me ?
thank
Mandeb