View Single Post
  #2   Spotlight this post!  
Unread 24-01-2012, 22:29
joe5joe7's Avatar
joe5joe7 joe5joe7 is offline
Head of Programming
AKA: Joseph Kaiser
FRC #2928 (Viking Robotics)
Team Role: Programmer
 
Join Date: Dec 2011
Rookie Year: 2009
Location: Seattle
Posts: 27
joe5joe7 is just really nicejoe5joe7 is just really nicejoe5joe7 is just really nicejoe5joe7 is just really nice
Re: not able to read from accelerometer

Quote:
Originally Posted by plnyyanks View Post
The example code is supposed to be an infinite loop. It's an example to show you how to read the accelerometer in code. If the front panel controls are showing you correct values, then everything's working fine. You can then use that code as a springboard to write your own code for your robot project. Remember that the examples are just that: examples.
I understand that, but the problem is that it's not getting any data. The infinite loop is in the "read spi" vi, and the problem is that it's not reading anything. screen cap attached of the problem area attached.

in the picture, the problem is that that while loop isn't ending.
Attached Thumbnails
Click image for larger version

Name:	problemScreencap.png
Views:	46
Size:	140.3 KB
ID:	11559  
Reply With Quote