View Single Post
  #12   Spotlight this post!  
Unread 24-02-2009, 12:24
eugenebrooks eugenebrooks is offline
Team Role: Engineer
AKA: Dr. Brooks
no team (WRRF)
 
Join Date: Jan 2004
Rookie Year: 2001
Location: Livermore, CA
Posts: 601
eugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond repute
Re: AnalogModule->GetAverageValue() gives wrong results if polled too fast

From the comments now appearing in the NI threads pointed to above, and the threads that they point to, it appears that many of the semaphores intended to protect analog inputs, relays, solenoids, etc..., are toothless.

David's use of wait might have been raising the priority of the thread about to access the analog input enough that it was not getting preempted by another thread that was also accessing the analog input, so perhaps fixing the semaphores will cure all of the gremlins.

With luck, now that this has been recognized as a serious problem that is at the root of the glitchy behavior that has been reported in various quarters, perhaps it will be ironed out with a software update before the first regional, and this would be happening in two days.

Eugene
Reply With Quote