11-16-2019 04:58 AM
I am working on a project in which vibration measurement is done by the ADXL345 accelerometer with the help of NI-FPGA and NI LabVIEW software. Earlier we used NI cRIO-9074 with LabVIEW 2011, where NI-9401module is used to acquire digital data from the ADXL345 accelerometer by using SPI communication protocol and we got satisfactory results.
At present, I replaced NI cRIO-9074 with cRIO-9034 and LabVIEW 2011 with LabVIEW 2017 and all other hardware and software (Real-time and FPGA VI) are the same. I followed all the previous steps which are required for the execution of the project. But at this time I am not getting the results of the ADXL345 accelerometer which is connected with the NI-9401 module. It was showing a fixed value whenever I run Real-time Host VI. please help me to solve this issue.
11-18-2019 02:33 PM
Can you post code for us to look at?
Have you checked to make sure everything is showing up in NI Max?
Does everything self test properly?
11-19-2019 10:23 PM
Thank you for your reply.
The problem has been already solved, it was happening due to the improper configuration of NI 9401 module pins.