06-11-2013 01:06 AM
Guys,
I'm having a very urgent issue here. I want to know how to linearly scale my voltage(0 to 4.5V) to corresponding RPM(0 to 3000 RPM) using NI DAQ 6009 . As per the discussion with a LabVIEW developer, he mentioned to me to use the slope of the line equation Y = Mx + C, but i don't have a clue how to find the slope and the intercept. I need your help to configure a guage on the front end that will reflect these RPM readings based on the Analog input voltage.
I'm seeing the AI Volatge readings in LabVIEW varying from 0 to 5V when I move the Analog pointer of a tachometer(0 to 3000 RPM). This is no good if I can't display my corresponding readings in RPM w.r.t to Voltage. Merely displaying the voltage doesn't make any sense.
Please help
Best Regards,
Sam P
06-11-2013 11:38 AM
Multiply the voltage by 666.67 (3000/4.5) on the block diagram and you will get RPM, or you could scale it in Max as well. Do a search with google on mx+b=y and there are many sites with answers, there are even calculators to help with calculations.
In Max you could use a table scale as well. It will do the same thing, you just have to enter a few more data points in the setup.