Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   Is there a Labview API to know Talon & feeback sensor cable is connected? (http://www.chiefdelphi.com/forums/showthread.php?t=145951)

khannasusa 19-03-2016 16:05

Is there a Labview API to know Talon & feeback sensor cable is connected?
 
We are unable to find a Boolean that tells us if the CTR Mag Encoder is connected to Talon SRX. We want to not set a PID on a motor in case encoder is not connected to talon.


Any help or feedback is appreciated.

Arhowk 19-03-2016 16:56

Re: Is there a Labview API to know Talon & feeback sensor cable is connected?
 
I'd try to fix the problem of your encoder slipping out....

There is something in Java that does what you want - isSensorPresent - I don't know how that translates to LV

Matt-T-FRC 19-03-2016 18:44

Re: Is there a Labview API to know Talon & feeback sensor cable is connected?
 
1 Attachment(s)
Have You tried to get the index pin status from the encoder to see if that would work as an adequate way of determining if the encoder is present?

khannasusa 20-03-2016 11:11

Re: Is there a Labview API to know Talon & feeback sensor cable is connected?
 
Matt

Thanks for your reply. We are using Mag SRX encoder and we are finding that LV Talon Get Status VI is not reporting Index Pin Status Boolean at all.
This boolean remains 'False' all the times.

--sk

Matt-T-FRC 20-03-2016 21:50

Re: Is there a Labview API to know Talon & feeback sensor cable is connected?
 
If you ran your code instead of build/ Deploy/ Run at Startup, and place a Talon SRX Get Status.vi connected to a Motor Refnum Registry Get.vi to the motor in question in Period Tasks.vi. What values are present on the Talon SRX Status side of the Talon SRX Get Status.vi when the robot is sitting still and hasn't been moved or operated? Also a picture might help as well.


All times are GMT -5. The time now is 03:49.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi