LabVIEW for LEGO MINDSTORMS and LabVIEW for Education

cancel
Showing results for 
Search instead for 
Did you mean: 

Ultrasonic Sensor

I have tested the Ultrasonic sensor using the brick and it works.  However, with the program I have written gibberish numbers appear such as 950 or 150.  I know I'm missing something but I don't know what.  I suspect it's something with the flatten to string like I'm not just flattening a number but the cm or in string value.  Thanks.
0 Kudos
Message 1 of 2
(6,604 Views)
I think the problem from using flatten to string so I replace it by number to decimal string.
 
the attatchment is your file but I use number to decimal string block. I hope that work.
 
0 Kudos
Message 2 of 2
(6,528 Views)