Go to Post Don't like it? Then lets change the culture. - Barry Bonzack [more]
Home
Go Back   Chief Delphi > FIRST > General Forum
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
  #14   Spotlight this post!  
Unread 17-01-2016, 20:51
GGorman GGorman is offline
Registered User
FRC #5419 (A-Team)
Team Role: Mentor
 
Join Date: Mar 2015
Rookie Year: 2010
Location: United States
Posts: 5
GGorman is an unknown quantity at this point
Re: LidarLite v2 communications issues

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). WPI_I2CReadOnly.vi

Here's my Begin.vi to set up the LidarLite (just a screen shot):
Click image for larger version

Name:	BeginVi.JPG
Views:	76
Size:	78.3 KB
ID:	19778

Then I use this in PeriodicTasks.vi (any tips and comments on my coding is greatly appreciated!)
Click image for larger version

Name:	PeriodicTasks.JPG
Views:	60
Size:	42.3 KB
ID:	19779

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

/Greg
Mentor 2478 and 5419

Last edited by GGorman : 17-01-2016 at 21:24.
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 00:40.

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