Go to Post If something on your robot isn't working, then why don't you take the responsibility to fix it? Isn't that what being a TEAM is all about? - dlavery [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, 19:15
jhellr13 jhellr13 is offline
Registered User
FRC #4272
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2010
Location: US
Posts: 187
jhellr13 is an unknown quantity at this point
Ultrasonic sensor help needed

Hey guys
Been playing around with the ultrasonic sensor for a few days now. We have it set up plugged into the analog port 1. I initially used the labview example to test it, but the number given never changed. Today, I worked with new code that I found online. Attached is this code. It correctly gets the voltage like it is programmed and displays it to the dashboard, but in lays a tougher problem. Once again the number never changes. The voltage shown sticks at something like 4.56 for the sensor and never changes if I move it around.

Any ideas?
Attached Thumbnails
Click image for larger version

Name:	Ultrasonic code picture.jpg
Views:	70
Size:	15.2 KB
ID:	11535  
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 22:21.

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