![]() |
Talon SRX PID feedback LabVIEW example
Could somebody post an example of how to implement a PID loop on the CAN Talon SRX in LabView? The software reference guide only tells you how in C. (Section 18) It would be greatly appreciated if anyone could help me.
|
Re: Talon SRX PID feedback LabVIEW example
Section 18 is not a C++ code example. It is the verbatim PIDF implementation in the Talon firmware. The Talon firmware is not open-source, but I felt teams would still benefit to see how the PIDF is implemented in the Talon firmware to best understand how to leverage it.
Each section in the software ref manual has an LV example for individual parameters (like gain setting, selecting feedback device, flipping sensor direction, selecting the mode). Use a pdf viewer that can show you the bookmarks, and expand the bookmarks to quickly navigate thru the LabVIEW examples. So for example Section 12.1.1 has the LV example for gain setting, an important part of closed-looping. Bottom of section 11.1 has a list of signals that you might be interested... Quote:
|
Re: Talon SRX PID feedback LabVIEW example
What you are asking for is already one of the included LabVIEW examples.
|
Re: Talon SRX PID feedback LabVIEW example
Ok, Thank both of you guys!
|
| All times are GMT -5. The time now is 08:52. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi