Log in

View Full Version : Analog voltage


bladetech932
30-01-2011, 00:57
Could someone confirm that the analog input is 0-5v?

EricVanWyk
30-01-2011, 02:02
On the cRIO?

It is -10V to +10V input and a 5V power supply.

bladetech932
30-01-2011, 13:32
So I'm going to need a 0-10v input?

EricVanWyk
30-01-2011, 13:35
Nope. You can use anything that fits within -10 to +10, including 0 to 5

bladetech932
30-01-2011, 13:41
I've never use an analog sensor before what am going to get out of the vi?

StevenB
30-01-2011, 14:06
I suggest you start here: http://decibel.ni.com/content/docs/DOC-14724

bladetech932
30-01-2011, 16:45
I know how to wire/program gyros, accelerometers, and encoders.
i was asking about analog inputs they dont have pre-written VIs for

Alan Anderson
30-01-2011, 18:19
i was asking about analog inputs they dont have pre-written VIs for

There's a complete set of them.

WPI Robotics Library >> IO >> AnalogChannel

The Analog Get Voltage function is probably the one you'll be using. As the name implies, it returns the voltage present on the Analog Input pin.

bladetech932
30-01-2011, 18:27
Alright, i can work with that. thank you all!