Academic Hardware Products (myDAQ, myRIO)

cancel
Showing results for 
Search instead for 
Did you mean: 

error code 363011 ADXL345 accelerometer with Labview and myRIO

I am using ADXL345 accelerometer and trying to interface it with Labview and myRIO. i downloaded the accelerometer demo from NI website. when i try to run the demo.vi, the error 363011 appeared. can i know what is the problem and how to fix the error?  

 

gy291 adxl345 accelerometer is used.

Download All
0 Kudos
Message 1 of 4
(4,657 Views)

What is the error description that goes with the error code? The code on it's own isn't that useful - there's usually some useful information in the message that comes with it. Create an error indicator and select 'explain error', or use a simple error handler to get the error message.


LabVIEW Champion, CLA, CLED, CTD
(blog)
0 Kudos
Message 2 of 4
(4,631 Views)

I too am getting the same error which the error descriptor says "Undefined". I guess it's due to the register values that are being set to the write.vi. I tried running the same code using the Digilent ADXL 345 accelerometer supplied in the mechatronics kit and it was giving me proper results but once I connect another ADXL345 it throws me this error -363011. Can anyone help us out on the registry values to be set in the Accelerometer demo Main.vi..??

0 Kudos
Message 3 of 4
(3,396 Views)

I got the issue resolved. By changing the device address to 0x53, I was able to get the accelerometer data. 

0 Kudos
Message 4 of 4
(248 Views)