View Single Post
  #7   Spotlight this post!  
Unread 09-02-2016, 00:54
Bpk9p4's Avatar
Bpk9p4 Bpk9p4 is offline
Registered User
FRC #1756
Team Role: Mentor
 
Join Date: Jan 2013
Rookie Year: 2010
Location: Illinios
Posts: 271
Bpk9p4 is on a distinguished road
Re: Lidar-Lite Help Please

I have tried both of your code and i keep getting the same error saying

<b>Complete call chain:</b>
i2clib_writeread.vi
WPI_I2CRead.vi
Lidar Read.vi
Simple Digital Output.vi
ERROR -1 i2clib_write.vi<ERR>
Device or resource busy


<b>Complete call chain:</b>
i2clib_write.vi
WPI_I2CWrite.vi
Lidar Read.vi
Simple Digital Output.vi
ERROR -1 i2clib_writeread.vi<ERR>
Device or resource busy

Has anyone seen this error before. Bellow is my code and a picture of the error log

Error log: http://imgur.com/II5VMzV
main code: http://imgur.com/CKZ7Dzk
open code: http://imgur.com/CKZ7Dzk
read code: http://imgur.com/UD1j4qk

wiring
Power: 3.3 on-board from the i2c port
Ground: on-board from the i2c port
SDA: on-board from the i2c port
SCL: on-board from the i2c port
__________________
2015 Midwest Regional Finalist
2015 Central Illinois Regional Winner
2015 Newton Division Finalist
2015 Newton Quality Award

Last edited by Bpk9p4 : 09-02-2016 at 00:57.
Reply With Quote