Go to Post Imagine a time before alliances. A time when secrecy was rampid and the Delphi Forum was just in it's baby stage. - Andy Grady [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 19-03-2016, 16:05
khannasusa khannasusa is offline
Registered User
FRC #5190
 
Join Date: Sep 2014
Location: NC
Posts: 11
khannasusa is an unknown quantity at this point
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.
Reply With Quote
  #2   Spotlight this post!  
Unread 19-03-2016, 16:56
Arhowk's Avatar
Arhowk Arhowk is offline
FiM CSA
AKA: Jake Niman
FRC #1684 (The Chimeras) (5460 Mentor)
 
Join Date: Jan 2013
Rookie Year: 2013
Location: Lapeer
Posts: 542
Arhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to behold
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
__________________
FRC Team 1684 - Head Programmer (2013-2016)
FRC Team 5460 - Programming Mentor (2015-2016)

FIRST in Michigan - Technical Crew (2015-continuing)
Reply With Quote
  #3   Spotlight this post!  
Unread 19-03-2016, 18:44
Matt-T-FRC Matt-T-FRC is offline
Electrical Engineering Student
AKA: Matt Tisovic
FRC #6181 (Northwest State Cryptic Cyborgs)
Team Role: Electrical
 
Join Date: Feb 2016
Rookie Year: 2012
Location: Northwest Ohio
Posts: 29
Matt-T-FRC is an unknown quantity at this point
Re: Is there a Labview API to know Talon & feeback sensor cable is connected?

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?
Attached Thumbnails
Click image for larger version

Name:	CAN Talon Encoder Index.png
Views:	16
Size:	33.4 KB
ID:	20385  
Reply With Quote
  #4   Spotlight this post!  
Unread 20-03-2016, 11:11
khannasusa khannasusa is offline
Registered User
FRC #5190
 
Join Date: Sep 2014
Location: NC
Posts: 11
khannasusa is an unknown quantity at this point
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
Reply With Quote
  #5   Spotlight this post!  
Unread 20-03-2016, 21:50
Matt-T-FRC Matt-T-FRC is offline
Electrical Engineering Student
AKA: Matt Tisovic
FRC #6181 (Northwest State Cryptic Cyborgs)
Team Role: Electrical
 
Join Date: Feb 2016
Rookie Year: 2012
Location: Northwest Ohio
Posts: 29
Matt-T-FRC is an unknown quantity at this point
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.
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 03:50.

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