View Single Post
  #15   Spotlight this post!  
Unread 04-01-2017, 15:19
bmammen's Avatar
bmammen bmammen is offline
Registered User
AKA: Brent Mammen
FRC #5801 (Inspire)
Team Role: Mentor
 
Join Date: Oct 2014
Rookie Year: 2014
Location: Kansas City
Posts: 31
bmammen is an unknown quantity at this point
Re: LidarLite v2 communications issues

Quote:
Originally Posted by GGorman View Post
Thanks SLAB! I also figured it out tonight -- thanks to Kevin O'Connor at FIRST as well!

Yes - you have to separate the write and the read. Took me a while to figure it out and Kevin sent me a VI with just a Read command wrapped in it (I'll attach). Attachment 19780

Here's my Begin.vi to set up the LidarLite (just a screen shot):
Attachment 19778

Then I use this in PeriodicTasks.vi (any tips and comments on my coding is greatly appreciated!)
Attachment 19779

Thanks everyone for your help. I hope this also helps others!

/Greg
Mentor 2478 and 5419
FYI - This works, and is required, on the v3 Garmin Branded LidarLite as well. Thanks for figuring this out, it was driving us crazy!
Reply With Quote