Go to Post Please excuse his spelling/grammar, he's an engineering student. - MrForbes [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
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 03-02-2016, 21:52
Caboose's Avatar
Caboose Caboose is offline
Programmer - LabVIEW, C++, C#, Java
AKA: James Parks
FRC #0900 (Zebracorns)
Team Role: Mentor
 
Join Date: Jan 2009
Rookie Year: 2008
Location: NC
Posts: 71
Caboose has a spectacular aura aboutCaboose has a spectacular aura about
Exclamation CTRE SRX MAG Encoder Velocity Error

We are using a CTRE SRX MAG Encoder to measure the speed of one of our motors and have found an odd error. When the velocity goes above ~32000 the reported velocity in LabVIEW returns ~8000. Up to that point it seems normal.

Omar, how do we fix this...

Click image for larger version

Name:	LabVIEW Error in Velocity.PNG
Views:	31
Size:	45.2 KB
ID:	19963
Click image for larger version

Name:	LabVIEW Error in Velocity-CODE.PNG
Views:	18
Size:	6.2 KB
ID:	19964
__________________
navX Labview Library

"Robots are aluminum shavings, held together by zip-ties."

myManga
Reply With Quote
  #2   Spotlight this post!  
Unread 03-02-2016, 22:04
ozrien's Avatar
ozrien ozrien is offline
Omar Zrien
AKA: Omar
no team
Team Role: Mentor
 
Join Date: Sep 2006
Rookie Year: 2003
Location: Sterling Heights, MI
Posts: 521
ozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant future
Re: CTRE SRX MAG Encoder Velocity Error

Please read section 21.24 in the Talon SRX Software Reference Manual.

Also checkout our LabVIEW examples at our github to see the workaround there too.
Reply With Quote
  #3   Spotlight this post!  
Unread 03-02-2016, 22:20
Caboose's Avatar
Caboose Caboose is offline
Programmer - LabVIEW, C++, C#, Java
AKA: James Parks
FRC #0900 (Zebracorns)
Team Role: Mentor
 
Join Date: Jan 2009
Rookie Year: 2008
Location: NC
Posts: 71
Caboose has a spectacular aura aboutCaboose has a spectacular aura about
Re: CTRE SRX MAG Encoder Velocity Error

Quote:
Originally Posted by ozrien View Post
Please read section 21.24 in the Talon SRX Software Reference Manual.

Also checkout our LabVIEW examples at our github to see the workaround there too.
Yeah, that fixed it...
Thanks.
__________________
navX Labview Library

"Robots are aluminum shavings, held together by zip-ties."

myManga
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 08:07.

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