Go to Post Competition and inspiration go hand in hand. Those who inspire will be pushed to do it again and again by those who see this as a healthy competition. Those who are inspired will compete to be an inspiration to others. You can have your cake (competition) and eat it (inspire) too. - 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 06-02-2016, 13:58
ChrisM2346's Avatar
ChrisM2346 ChrisM2346 is offline
A Box Full of Pepe
AKA: Chris Mitchell
FRC #2346 (Celtechs)
Team Role: Programmer
 
Join Date: Jan 2014
Rookie Year: 2013
Location: Kansas City, Missouri
Posts: 8
ChrisM2346 is an unknown quantity at this point
Questions Regarding Motors and Buttons

Hello! I'm having a bit of trouble with getting two motors (not used for driving) to be controlled with two buttons: one to move them clockwise, another button for counter-clockwise.

The two motors are Talon SRs, and they're both wired to separate PWM channels. Every time I enable the robot on the Driver Station, I'm confronted with errors 91 and -44007.

Any ideas? How should I wire the motors in Teleop mode in Labview?
Reply With Quote
  #2   Spotlight this post!  
Unread 06-02-2016, 14:04
ChrisM2346's Avatar
ChrisM2346 ChrisM2346 is offline
A Box Full of Pepe
AKA: Chris Mitchell
FRC #2346 (Celtechs)
Team Role: Programmer
 
Join Date: Jan 2014
Rookie Year: 2013
Location: Kansas City, Missouri
Posts: 8
ChrisM2346 is an unknown quantity at this point
Re: Questions Regarding Motors and Buttons

Here's how I tried to do it in Teleop: https://www.dropbox.com/s/dvoa9qtq8o...61304.jpg?dl=0
Reply With Quote
  #3   Spotlight this post!  
Unread 06-02-2016, 21:44
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,748
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Questions Regarding Motors and Buttons

To get more detail on most error codes, you can right click and choose Explain Error. Or you can go to the Help menu >> Explain Error and type in the #. It will tell you that -44007 means that the refnum name doesn't exist. This likely means that the string is spelled differently in Begin and TelelOp. It is case sensitive as well.

Greg McKaskle
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:16.

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