Answers.Body: <blockquote>
  <p>Most sensors have the capability of sending you notifications or updates as the value of their sensor changes. This is accomplished by repeatedly contacting the NXT brick and querying the sensor. The polling frequency allows you to configure for each sensor how often this is done.</p>
  <p>In most cases, you may leave this value set to 0, which indicates the default polling frequency. However, there may be times when you wish to get sensor reading back from one sensor more often. In this case, you can adjust the polling frequency, which is specified in milliseconds (1/1000 second).</p>
  </blockquote>
  <p><a href="http://msdn.microsoft.com/en-us/library/bb870566.aspx" rel="nofollow noreferrer">from Device Services: Microsoft Robotics on <strong>msdn</strong></a></p>
  <p>The article goes on to suggest the range within which this can be effective.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2013-03-14T13:35:05.033Z
Answers.Text: But that's using Microsoft Robotics, **not** the native NXT programming environment, right?
Answers.UserDisplayName: Joubarc
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2013-03-14T00:45:32.100Z
Answers.LastActivityDate: 2013-03-14T00:45:32.100Z
Answers.LastEditDate: 2020-06-18T08:28:58.637Z
Answers.UserDisplayName: Fortiter
Body: <p>I am using LEGO NXT 2.0 with the native NXT flowchart-style programming environment, I would love to be able to poll the sensors more frequently. (In particular, it seems that the light sensor is polled very infrequently, only about once or twice per second, and this limits the speed of a line-following robot I can build)</p>
  
  <p>Is there a way to change the LEGO NXT sensor polling frequency using the LEGO software? </p>
  
  <p>I am looking for a way to do this <strong>using the LEGO software</strong>, I realize that there is a way using MS robotics.</p>
  
Tags: <nxt><mindstorms><programming><nxt-g>
Title: Is there a way to change the Lego NXT sensor polling frequency?
UserDisplayName: Lego-wonderer
ThreadText: # Is there a way to change the Lego NXT sensor polling frequency?
  
  (Asked by: username_0 on 2013-03-13)
  
  I am using LEGO NXT 2.0 with the native NXT flowchart-style programming environment, I would love to be able to poll the sensors more frequently. (In particular, it seems that the light sensor is polled very infrequently, only about once or twice per second, and this limits the speed of a line-following robot I can build)
  
  Is there a way to change the LEGO NXT sensor polling frequency using the LEGO software?
  
  I am looking for a way to do this **using the LEGO software**, I realize that there is a way using MS robotics.
  
  **Tags:** nxt, mindstorms, programming, nxt-g
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2013-03-14. Score: 3
  
  > Most sensors have the capability of sending you notifications or updates as the value of their sensor changes. This is accomplished by repeatedly contacting the NXT brick and querying the sensor. The polling frequency allows you to configure for each sensor how often this is done.
  >
  > In most cases, you may leave this value set to 0, which indicates the default polling frequency. However, there may be times when you wish to get sensor reading back from one sensor more often. In this case, you can adjust the polling frequency, which is specified in milliseconds (1/1000 second).
  
  [from Device Services: Microsoft Robotics on **msdn**](http://msdn.microsoft.com/en-us/library/bb870566.aspx)
  
  The article goes on to suggest the range within which this can be effective.
  
  > **Comments:**
  > **username_2**: But that's using Microsoft Robotics, **not** the native NXT programming environment, right?  
  
  ---
  
  