06-09-2009 11:41 AM
I've got a USB-6008. I have a linear potentiometer attached to the USB DAQ. Currently I can display the pot output voltage in LabVIEW via AI0 channel on USB DAQ. However I also want to be able to show the linear potentiometer rod position (mm) that generates this voltage. can anyone advise how to do this ?
Solved! Go to Solution.
06-09-2009 12:59 PM
What is the scale factor or relationship between voltage and position? Once you know that simply scale the voltage you are reading and display the result in another indicator.
-AK2DM
06-09-2009 05:01 PM
Hi,
The pot is linear 5v in = 5v out. Therefore for full stroke of 100mm then 0mm should be 0v and 100m = 5v. What functions/blocks in LabVIEW can I use to display the pot position (mm) as you suggest via scaling ?
THanks again.
06-09-2009 05:17 PM
Since there is no offset, just use the multiply primitive with a constant of 20 wired to one of its inputs, wire the other input to your voltage reading. Wire the output of the multiply to a numeric indicator to display the position.
-AK2DM
01-02-2020 02:45 PM
Hi, I would like to connect String Pots and Linear Pots to the NI 9216, I am kind of confused as its my first time to deal with this kind of connections. Also all the resources I found was using different modules where the wires are connected to the pins (ground, +5V and AI0).
Thanks in Advance