Go to Post Now, most of the replies are very tactful when they are questioning a teams' design... but some are simply stupid. Keep your heads. - Andy Baker [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 21-01-2017, 18:06
AccioTardis221 AccioTardis221 is offline
Registered User
AKA: Allison
FRC #5847 (Ironclad)
 
Join Date: Dec 2015
Rookie Year: 2015
Location: Bourbonnais
Posts: 4
AccioTardis221 is an unknown quantity at this point
Read from an encoder

We've been attempting to use an encoder, but unable to read data from it. We have an SRX Mag Encoder from CTRE. It's plugged into the data port on a talon SRX. We have attempted to read from it using the Get Status VI in the Talon library, but it has only given an output of 0. Everything appears to be connected correctly and the program runs, it just doesn't provide any data. How do we read from these encoders?
Reply With Quote
  #2   Spotlight this post!  
Unread 21-01-2017, 23:02
euhlmann's Avatar
euhlmann euhlmann is offline
CTO, Programmer
AKA: Erik Uhlmann
FRC #2877 (LigerBots)
Team Role: Leadership
 
Join Date: Dec 2015
Rookie Year: 2015
Location: United States
Posts: 395
euhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud of
Re: Read from an encoder

Are you telling the Talon the correct type of feedback device?
Section 7.1 of the manual
__________________
Creator of SmartDashboard.js, an extensible nodejs/webkit replacement for SmartDashboard


https://ligerbots.org
Reply With Quote
  #3   Spotlight this post!  
Unread 22-01-2017, 16:29
Jonathan L. Jonathan L. is offline
Programmer alumnus, mentor, and CSA
FRC #1094 (Channel Cats)
 
Join Date: Jan 2013
Rookie Year: 2011
Location: St. Louis MO
Posts: 82
Jonathan L. is a jewel in the roughJonathan L. is a jewel in the roughJonathan L. is a jewel in the roughJonathan L. is a jewel in the rough
Re: Read from an encoder

Try simplifying. Instead of plugging the encoder into the Talon SRX, plug it into the DIO ports on the roboRIO and use the LabVIEW example program for Encoders found by going to Help -> Find Examples and looking in the "Digital" folder. The wiring diagram for connecting the encoder to the DIO ports is on the front panel of the example program.

If that works, then you know the encoder is working and you can worry about the Talon SRX.
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 10:53.

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