Status: Unsolved
Background Information:
I am in an FRC team and am the lead programmer and an electrical designer/engineer.
Specs:
FRC NI cRIO II
Labview 2012(13) with latest update
2Go PC D12 Rugged, Driver Station
2x Thrustmaster T.Flight Stick X Joystick
4x Victor 888 (Drive system)
1x Jaguar (Launching Motor)
Issue:
-"Custom Teleop" is a loop in Periodic Tasks.vi that should only function in Teleop and does all the major functions except for driving.
Motor Controller is not being outputted to properly from Autonomous or Teleop. I spent the last 4 hours debugging with no clear solution to my issues, although it's probably something obvious in my programming that is causing this issue.
The Jaguar controller is outputted for half a second before it automatically flips off in Autonomous. In Teleop, only every other "enable" to the robot from the driver station in Teleop will allow the motor to be turned on via Joystick button. On the other times, the Jaguar turns on then blinks red and then goes back to being turned off, a couple clicks later and it then works, but it's still a large issue.
This issue is seemed to be cause only after I caused a value of -1 to the motor controller in Autonomous, but before that, whenever the motor was running in the Periodic Tasks custom Teleop loop, it would shut off whenever the case structure to the right of it would start, and then it would start back up. I'm not entirely sure on what is wrong, but that is why I post before you today.
Tl;dr, Motor controller turns on then off very quickly in Autonomous, blinks red in Custom Teleop and with Autonomous fixed; the the motor in Custom Teleop turns off when the sequence structure executes and then on again after it's done.
Custom Teleop: Motor/Firing Case Structure/Sequence Structure
Autonomous
Here is my Robot Project Code, I put it in multiple formats to make it easier for people. Each archive contains the same exact files.
Self-Extracting 7-Zip Archive
7-Zip Archive
Zip Archive
If anybody would like to help me personally, rather than a forum, please PM me. I will answer any questions if anybody wants/needs more information, ask away! Thanks.