|
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.
|