Go to Post During 5th week, EVERYTHING becomes a programming problem... hahah. - Mr. Lim [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 23-01-2012, 20:28
DominickC DominickC is offline
Registered User
FRC #0023 (PNTA)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 1620
Location: Boston
Posts: 435
DominickC is an unknown quantity at this point
Potentiometer and LabView

Hello -

I'm trying to get our potentiometer to work. This potentiometer did not come in any FRC kit of parts, it's just one we had laying around.

We've got it going into Analog Input 2. When in the drivers station, we see the voltage change on Analog Input 2 as we turn the shaft of the potentiometer.

Now, I've been trying to get the $@#$@#$@#$@# thing to display the angle, but it just won't work with me. Here's where I open it in begin.vi.



For some reason, it won't take the analog channel.

Now, here's what I have for teleop.



This just takes the voltage and turns it into an angle based on the conversion factor of 0.01388 volts per degree. It then flattens it and sends it off to the drivers station where it's unflattened and thrown into a numeric display.

Any help? Thanks.
Reply With Quote
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 11:33.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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