I am currently working on a bearing monitoring project using cRio 9022, and NI 9233 for acquiring the accelerometer signals and NI 9215 for the tachometer signal. I am using the scan mode interface for the project and I would like convert the acquired tachometer signal to rpm. I would really appreciate any response.
i am using this code as well it is running but it is not showing any reading
do i need to make any changes in there
but i try to change te cvalues it does not allow me
what should i do now
i m using crio 9022
it was the same code as you put it above
i just attach it again it is giving me infinty valure of rpm
i have used ni 9215 to get tachometer reaqding today so it is showing some reading on fpga target file but it is not showing anything on real time file.
Personally, I would not use scan engine for measureing vibration and speed. You are limited in sample rates, and DSA modules do not really work well in scan mode.
Consider this reference design:
This will give you a DAQ view of the sensor data, then you can do RPM calculations in RT on the 9215 waveform, and also vibration spectral measurements in RT on the vibration data.
The Sound and VIbration Measurement Suite has some great tools there as well.
Hope this helps.