View Single Post
  #7   Spotlight this post!  
Unread 24-09-2015, 11:56
entertainr entertainr is offline
Build Addicted
AKA: Levi
FRC #4522 (Team SCREAM)
Team Role: Programmer
 
Join Date: Apr 2014
Rookie Year: 2013
Location: Sedalia
Posts: 7
entertainr is an unknown quantity at this point
Re: Talon SRX Encoder Signal Processing Trouble

I finally found the problem this morning.

My original problem was that I didn't know the Talon Set Reference vi doesn't come with a Talon Send vi inside of it, and you need the Send vi to save any changes, such as the Reverse Feedback Sensor setting.

In some of my earlier attempts to fix this issue on my own, I placed a SetReference in disabled to try and update the value outside of Begin.vi. It didn't work when I set it to true and I didn't know why. I found out later when Omar Zrien pointed out Section 21.20 of the CTR Software Manual to me, but at that time, I thought setting the value to false might fix it somehow. It didn't, so I promptly forgot about it and let it sit as a false constant.

While working with Omar, I learned about Section 21.20, so I added the Talon Send vi in the Set Reference vi and placed it in Teleop to constantly update the value. I noticed something was fighting it, as if there was another value being sent to it (Hello Disabled!). I did a search, found my chunk of code in Disabled, and quickly removed it.

Another redeployment confirmed that my problem was solved. Thanks so much to everyone for helping out, and special thanks to Omar Zrien for working directly with me to figure it out!
Reply With Quote