Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   FRC Control System (http://www.chiefdelphi.com/forums/forumdisplay.php?f=176)
-   -   Analog voltage (http://www.chiefdelphi.com/forums/showthread.php?t=90494)

bladetech932 30-01-2011 00:57

Analog voltage
 
Could someone confirm that the analog input is 0-5v?

EricVanWyk 30-01-2011 02:02

Re: Analog voltage
 
On the cRIO?

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

bladetech932 30-01-2011 13:32

Re: Analog voltage
 
So I'm going to need a 0-10v input?

EricVanWyk 30-01-2011 13:35

Re: Analog voltage
 
Nope. You can use anything that fits within -10 to +10, including 0 to 5

bladetech932 30-01-2011 13:41

Re: Analog voltage
 
I've never use an analog sensor before what am going to get out of the vi?

StevenB 30-01-2011 14:06

Re: Analog voltage
 
I suggest you start here: http://decibel.ni.com/content/docs/DOC-14724

bladetech932 30-01-2011 16:45

Re: Analog voltage
 
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

Re: Analog voltage
 
Quote:

Originally Posted by bladetech932 (Post 1011845)
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

Re: Analog voltage
 
Alright, i can work with that. thank you all!


All times are GMT -5. The time now is 23:09.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi