OCCRA
Go to Post Our team has one goal: be ourselves. - PayneTrain [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 01-10-2018, 06:06 PM
traverda traverda is offline
Registered User
FRC #3009 (The High Scalers)
Team Role: Mentor
 
Join Date: Jan 2018
Rookie Year: 2016
Location: Henderson, NV
Posts: 1
traverda is an unknown quantity at this point
Send a message via AIM to traverda Send a message via MSN to traverda Send a message via Yahoo to traverda
ADI 16448 Registry Set Error

Last year our team used the ADI 16448 IMU in LabVIEW, and this year the associated IMU vi's have changed so that they no longer properly "play" together. It appears that the "IMU 16448 Open" vi has been very recently modified (github.com/juchong/ADIS16448-RoboRIO-Driver), but not the "IMU 16448 Set/Get Registry" vi's. The Open exposes an "ADI IMU DevRef Out" data type, and the associated "ADI IMU Registry Set" currently expects an "ADI Interrupt DevRef In" type as input. The corresponding "ADI IMU Registry Get" likewise outputs an "ADI IMU Interrupt DevRef" type, not an "ADI IMU DevRef" output the "ADI IMU Reset" is expecting. Is there a conversion between the two data types that I am missing?
Reply With Quote
  #2   Spotlight this post!  
Unread 01-14-2018, 11:49 PM
juchong's Avatar
juchong juchong is offline
Electrical Engineer
AKA: Juan Chong
FRC #2655 (Flying Platypi)
Team Role: Engineer
 
Join Date: Aug 2008
Rookie Year: 2007
Location: Greensboro, NC
Posts: 155
juchong has a reputation beyond reputejuchong has a reputation beyond reputejuchong has a reputation beyond reputejuchong has a reputation beyond reputejuchong has a reputation beyond reputejuchong has a reputation beyond reputejuchong has a reputation beyond reputejuchong has a reputation beyond reputejuchong has a reputation beyond reputejuchong has a reputation beyond reputejuchong has a reputation beyond repute
Re: ADI 16448 Registry Set Error

Quote:
Originally Posted by traverda View Post
Last year our team used the ADI 16448 IMU in LabVIEW, and this year the associated IMU vi's have changed so that they no longer properly "play" together. It appears that the "IMU 16448 Open" vi has been very recently modified (github.com/juchong/ADIS16448-RoboRIO-Driver), but not the "IMU 16448 Set/Get Registry" vi's. The Open exposes an "ADI IMU DevRef Out" data type, and the associated "ADI IMU Registry Set" currently expects an "ADI Interrupt DevRef In" type as input. The corresponding "ADI IMU Registry Get" likewise outputs an "ADI IMU Interrupt DevRef" type, not an "ADI IMU DevRef" output the "ADI IMU Reset" is expecting. Is there a conversion between the two data types that I am missing?
Hi! It looks like in my haste to finish updating the driver I failed to clean up. dkt01 on GitHub went ahead and cleaned up the DevRef issues. If you pull and use the new code, you should be good to go! I'm also working on building an updated installer that should be online later tonight.
__________________
Team 1817 | Llano Estacado RoboRaiders | Mentor | 2007-2011
Team 3730 | NuBots | Mentor | 2012
Team 3005 | RoboChargers| Mentor | 2013-2014
Team 2655 | The Flying Platypi | Mentor | 2014-2018
Analog Devices Inc. | KoP Supplier | FRC Gyro Designer | More Info


Reply With Quote
Reply


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 10:17 AM.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi