 uowNXT
		
			uowNXT
		
		
		
		
		
		
		
		
	
			12-15-2006 08:17 AM
12-15-2006 09:07 AM
12-15-2006 09:58 AM
Thanks Brady,
I used the same method like you suggested before I post this question.
The Degree parameter can affect the motor rotation,but it worked indefinitely. I mean,for example,I set the value of Degree to 360,but the motor sometimes rotated more than 360 ,sometime less than 360.
I also added Break/Coast parameters to figure out the rotation problems
When I read "LabVIEW_for_NXT_Advanced_Programming_Guide",I found that UpdataFlags parameter must be added, but you can not find this parameter in the Output Port info cluster. And it seems very difficult to modify this cluster.
 Holmm
		
			Holmm
		
		
		
		
		
		
		
		
	
			01-31-2007 06:57 AM
Hi I´m trying to solve this problem also. Does anyone has the solution for "Motordistance" in direct command?
/Magnus
 GBrinck
		
			GBrinck
		
		
		
		
		
		
		
		
	
			01-31-2007 07:22 AM
 Holmm
		
			Holmm
		
		
		
		
		
		
		
		
	
			01-31-2007 07:51 AM
Hi Thanks for your fast help.
/Magnus
 mtrigoboff
		
			mtrigoboff
		
		
		
		
		
		
		
		
	
			03-07-2007 06:54 PM - edited 03-07-2007 06:54 PM
Message Edited by mtrigoboff on 03-07-2007 04:54 PM
 cssoh
		
			cssoh
		
		
		
		
		
		
		
		
	
			04-11-2007 06:46 AM
 Holmm
		
			Holmm
		
		
		
		
		
		
		
		
	
			04-11-2007 08:33 AM
 cssoh
		
			cssoh
		
		
		
		
		
		
		
		
	
			04-11-2007 10:47 AM
Thanks! Interesting approach using PID control. Where did you find the PID vi?
But I'm puzzled that the set point is in degrees but the input is RotationCount. I thought it should be TachoLimit according to the Toolkit Programming Guide?