Go to Post There is a really bad trap most people fall into, when presented with data they tend to trust it. This is dangerous. - Andrew Schreiber [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 20-02-2016, 14:56
Trinitrotoluene's Avatar
Trinitrotoluene Trinitrotoluene is offline
Registered User
FRC #3102 (Nevis Tech-No-Tigers)
 
Join Date: Jul 2013
Rookie Year: 2012
Location: Nevis, MN
Posts: 15
Trinitrotoluene is an unknown quantity at this point
Difficulties setting output to Talon SRX?

Hi all,

We are using Talon SRXs with CTR magnetic encoders this year to control an arm. I've successfully set the reference to the magnetic encoders and am writing the encoder position to the dashboard.

However, when I try to set output to the Talon using the Motor>Set Output block, I can't get anything to happen. There is no response from the Talon whatsoever. I am attaching the block on the end of the Talon Get Status, which is working.

Any ideas? I've attached an image of my code below. Thanks!
Attached Thumbnails
Click image for larger version

Name:	Capture.JPG
Views:	14
Size:	61.2 KB
ID:	20125  
Reply With Quote
  #2   Spotlight this post!  
Unread 20-02-2016, 15:03
Caboose's Avatar
Caboose Caboose is offline
Programmer - LabVIEW, C++, C#, Java
AKA: James Parks
FRC #0900 (Zebracorns)
Team Role: Mentor
 
Join Date: Jan 2009
Rookie Year: 2008
Location: NC
Posts: 71
Caboose has a spectacular aura aboutCaboose has a spectacular aura about
Re: Difficulties setting output to Talon SRX?

Are you using %Vbus to control the talon? If you are trying to use Speed or Position you are telling it to move +/- 1 native units.
__________________
navX Labview Library

"Robots are aluminum shavings, held together by zip-ties."

myManga
Reply With Quote
  #3   Spotlight this post!  
Unread 20-02-2016, 15:09
Trinitrotoluene's Avatar
Trinitrotoluene Trinitrotoluene is offline
Registered User
FRC #3102 (Nevis Tech-No-Tigers)
 
Join Date: Jul 2013
Rookie Year: 2012
Location: Nevis, MN
Posts: 15
Trinitrotoluene is an unknown quantity at this point
Re: Difficulties setting output to Talon SRX?

Position. I'll switch it and give that a try.
Reply With Quote
  #4   Spotlight this post!  
Unread 20-02-2016, 15:54
Caboose's Avatar
Caboose Caboose is offline
Programmer - LabVIEW, C++, C#, Java
AKA: James Parks
FRC #0900 (Zebracorns)
Team Role: Mentor
 
Join Date: Jan 2009
Rookie Year: 2008
Location: NC
Posts: 71
Caboose has a spectacular aura aboutCaboose has a spectacular aura about
Re: Difficulties setting output to Talon SRX?

You should also read the Talon SRX software reference manual.
http://www.ctr-electronics.com/contr...ical_resources
__________________
navX Labview Library

"Robots are aluminum shavings, held together by zip-ties."

myManga
Reply With Quote
  #5   Spotlight this post!  
Unread 20-02-2016, 18:13
Trinitrotoluene's Avatar
Trinitrotoluene Trinitrotoluene is offline
Registered User
FRC #3102 (Nevis Tech-No-Tigers)
 
Join Date: Jul 2013
Rookie Year: 2012
Location: Nevis, MN
Posts: 15
Trinitrotoluene is an unknown quantity at this point
Re: Difficulties setting output to Talon SRX?

That appears to be working. I'll re-read the manual. Thanks!
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 04:20.

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