06-13-2015 12:57 AM
Hello. I'm using a myRIO 1900 with LabVIEW 2013 on Windows 7. I've connected a potentiometer to A0 on channel C of myRIO and I'm taking inputs from there. The other two wires go to 5V and the Analog Ground. The voltage inputs taken by the myRIO are not between 0-5.. (i have an indicator on my LabVIEW VI to show me this) they keep fluctuating within various ranges... -2 to 3, 1 to 6 etc..When i checked the p.d between the A0 pin and AnalogGround using a multimeter, they are in accordance with what its supposed to be.. between 0-5 depending on the pot position. Why is the received voltage input varying in the myRIO and how can i rectify this ?? Please Help
Thanks in advance 🙂
06-13-2015 07:44 AM
Not sure what you mean by "channel C".
If you mean "CONNECTOR C", then those are differential inputs - you have to connect TWO wires to your signal, which doesn't make sense for a simple potentiometer.
To measure a simple pot, you would wire AI GND to one side of the pot,+5V to the other side, and the arm of the pot to the AI0 channel.
Blog for (mostly LabVIEW) programmers: Tips And Tricks