View Single Post
  #3   Spotlight this post!  
Unread 15-01-2012, 18:10
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: LabView and Ultrasonic Rangefinder

A reference won't be in the registry until you put it there. That's what happens in the Begin vi. Open the sensor and use a Refnum Set to give it a name.

Are you using the rangefinder from the Kit of Parts? The most straightforward way to read it is using an Analog channel. I think the Ultrasonic Get Range function you're using is for the SRF04 part, a different style of ultrasonic sensor. Look at the examples for the MB1010 instead.
Reply With Quote