Page 1 of 1

Draw Wire Position Sensor

Posted: Wed Mar 29, 2023 10:10 am
by yppl
Hello,

I'm trying to use the Draw Wire Position Sensor (ID: POT4201_0) but there isn't a programming guide or sensor selection for this on Phidgets. I'm using LabView and Python to program all my Phidgets, how would I go about Converting the voltage signal from this to a measurement value?

Re: Draw Wire Position Sensor

Posted: Wed Mar 29, 2023 10:26 am
by mparadis
Since it's just a potentiometer, you can just use the VoltageRatioInput mode on the HUB port you have it connected to. You'll get data values from 0.0 to 1.0, depending on how far the wire is extended. You can multiply this value by the full range (1000mm) in order to get the value in millimeters.

For better accuracy, you could also calibrate the sensor once it's all bolted into project. This way, if there is any misalignment or part-to-part variance, it can be accounted for.