View Single Post
  #1   Spotlight this post!  
Unread 21-01-2013, 09:17
tr6scott's Avatar
tr6scott tr6scott is offline
Um, I smell Motor!
AKA: Scott McBride
FRC #2137 (TORC)
Team Role: Mentor
 
Join Date: Dec 2007
Rookie Year: 2005
Location: Oxford, MI
Posts: 512
tr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond repute
Accelerometer ADXL345 Labview Example Code Not Working.

As title suggests.

As a learning step, we were working through some of the sensor examples with the freshmen to get used to Labview and how sensors return data.

We worked through the encoder, encoder with motor, and the gyro examples, and then wired up the ADXL345 Accelerometer in SPI mode (What does SPI mean?) and we could not get it work.

We would hit the run on labview main panel, the checkerboard would go away, indicating it was running, but no data was being returned to the front panel. Bringing up the block diagram, and trying to probe any data wire, showed it was "Not executed" This was the same for the data prior to the loop, or in the loop, the whole diagram was not executed.

Turning on the light bulb showed nothing of interest either.

So if you have any idea, what I am doing wrong, let me know.
Or if you have done this example in the 2012 labview and it worked, please let me know that too, as that would confirm it was on my end.

Scott. (Mentor)
__________________
The sooner we get behind schedule, the more time we have to catch up.

Reply With Quote