Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   Questions Regarding Motors and Buttons (http://www.chiefdelphi.com/forums/showthread.php?t=143301)

ChrisM2346 06-02-2016 13:58

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?

ChrisM2346 06-02-2016 14:04

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

Greg McKaskle 06-02-2016 21:44

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


All times are GMT -5. The time now is 04:16.

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