Wheel.lvlib:Wheel_Control_POS.vi

Wheel.lvlib

Wheel.lvlib:Wheel_Control_POS.vi

Help by FRC 836 - The RoboBees

This VI sets the shooter wheel postion using a PID control VI with parameters set by

the tbh (Take Back Half) control VI.

Wheel.lvlib:Wheel_Control_POS.vi

Wheel.lvlib:Wheel_Control_POS.vi

ccclst

Wheel DevRef In

    cdatavalref

    Shooter Config reference

    ccclst

    Shooter Data

      ccclst

      MotorControlDevRef

        cerrcodeclst

        DeviceStatus

          cbool

          status

          status is TRUE (X) if an error occurred or FALSE (checkmark) to indicate a warning or that no error occurred.

          Right-click the error in control on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error.

          ci32

          code

          code is the error or warning code.

          Right-click the error in control on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error.

          cstr

          source

          source describes the origin of the error or warning.

          Right-click the error in control on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error.

        cenum

        Type

        ccclst

        PWM

          cenum

          PWM Channel

          ccclst

          DeadBand

            cstr

            Name

            ci32

            maxPositivePwm

            ci32

            minPositivePwm

            ci32

            centerPwm

            ci32

            maxNegativePwm

            ci32

            minNegativePwm

            cu16

            angularRange

        ccclst

        CAN

          cu8

          Device Number

          cenum

          Control Mode

          cdlrn

          Semaphore

          semaphore is a reference to an existing or newly created semaphore.

          cdbl

          Max Vout

          cenum

          TalonSRX Control Mode

          Control Mode specifies how the Talon SRX will control the motor. Percent VBus is the standard open-loop mode that is also accessible via the PWM interface on the Talon SRX.

        cbool

        Invert

      cfiforn

      Set Point

      cfiforn

      Actual

cbool

CW is Up

ccclst

AIDeviceRef

AIDeviceRef specifies a reference to the analog channel you want to use. Use the Open VI to open this reference.

    cerrcodeclst

    DevStatus

      cbool

      status

      status is TRUE (X) if an error occurred or FALSE (checkmark) to indicate a warning or that no error occurred.

      Right-click the error in control on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error.

      ci32

      code

      code is the error or warning code.

      Right-click the error in control on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error.

      cstr

      source

      source describes the origin of the error or warning.

      Right-click the error in control on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error.

    cenum

    Analog Channel

Wheel.lvlib:Wheel_Control_POS.vi

WPI_MotorControlDeviceRef.ctl

WPI_MotorControlDeviceRef.ctl

C:\Program Files (x86)\National Instruments\LabVIEW 2015\vi.lib\Rock Robotics\WPI\MotorControl\WPI_MotorControlDeviceRef.ctl

WPI_CANJaguar_ControlMode.ctl

WPI_CANJaguar_ControlMode.ctl

C:\Program Files (x86)\National Instruments\LabVIEW 2015\vi.lib\Rock Robotics\WPI\CAN\Jaguar\SubVIs\WPI_CANJaguar_ControlMode.ctl

WPI_PWMDeadband.ctl

WPI_PWMDeadband.ctl

C:\Program Files (x86)\National Instruments\LabVIEW 2015\vi.lib\Rock Robotics\WPI\PWM\WPI_PWMDeadband.ctl

FPGA_DIOPWMChannel.ctl

FPGA_DIOPWMChannel.ctl

C:\Program Files (x86)\National Instruments\LabVIEW 2015\vi.lib\Rock Robotics\SystemInterfaces\DIO\FPGA_DIOPWMChannel.ctl

WPI_MotorControlSetOutput.vi

WPI_MotorControlSetOutput.vi

C:\Program Files (x86)\National Instruments\LabVIEW 2015\vi.lib\Rock Robotics\WPI\MotorControl\WPI_MotorControlSetOutput.vi

WPI_CANTalonSRX_APIControlMode.ctl

WPI_CANTalonSRX_APIControlMode.ctl

C:\Program Files (x86)\National Instruments\LabVIEW 2015\vi.lib\Rock Robotics\WPI\CAN\TalonSRX\WPI_CANTalonSRX_APIControlMode.ctl

WPI_MotorControlType.ctl

WPI_MotorControlType.ctl

C:\Program Files (x86)\National Instruments\LabVIEW 2015\vi.lib\Rock Robotics\WPI\MotorControl\WPI_MotorControlType.ctl

Semaphore RefNum

Semaphore RefNum

C:\Program Files (x86)\National Instruments\LabVIEW 2015\vi.lib\Utility\semaphor.llb\Semaphore RefNum

FPGA_AIChannel.ctl

FPGA_AIChannel.ctl

C:\Program Files (x86)\National Instruments\LabVIEW 2015\vi.lib\Rock Robotics\SystemInterfaces\AI\FPGA_AIChannel.ctl

Wheel.lvlib:WheelControl.ctl

Wheel.lvlib:WheelControl.ctl

C:\Program Files (x86)\National Instruments\LabVIEW 2015\user.lib\836-Library\Motion Control\Shooter_Wheel\WheelControl.ctl

MA3_Revolutions.vi

MA3_Revolutions.vi

C:\Program Files (x86)\National Instruments\LabVIEW 2015\user.lib\836-Library\Sensor\MA3_Analog_Encoder\MA3_Revolutions.vi

Wheel.lvlib:Data.ctl

Wheel.lvlib:Data.ctl

C:\Program Files (x86)\National Instruments\LabVIEW 2015\user.lib\836-Library\Motion Control\Shooter_Wheel\Data.ctl

Stable.vi

Stable.vi

C:\Program Files (x86)\National Instruments\LabVIEW 2015\user.lib\836-Library\Logic\Stable.vi

WPI_AnalogChannelGetVoltage.vi

WPI_AnalogChannelGetVoltage.vi

C:\Program Files (x86)\National Instruments\LabVIEW 2015\vi.lib\Rock Robotics\WPI\AnalogChannel\WPI_AnalogChannelGetVoltage.vi

WPI_AnalogChannelDevRef.ctl

WPI_AnalogChannelDevRef.ctl

C:\Program Files (x86)\National Instruments\LabVIEW 2015\vi.lib\Rock Robotics\WPI\AnalogChannel\WPI_AnalogChannelDevRef.ctl

NI_PID_pid.lvlib:PID.vi

NI_PID_pid.lvlib:PID.vi

C:\Program Files (x86)\National Instruments\LabVIEW 2015\vi.lib\addons\control\pid\pid.llb\PID.vi

Wheel.lvlib:Config.ctl

Wheel.lvlib:Config.ctl

C:\Program Files (x86)\National Instruments\LabVIEW 2015\user.lib\836-Library\Motion Control\Shooter_Wheel\Config.ctl

NI_PID_pid.lvlib:PID (DBL).vi

NI_PID_pid.lvlib:PID (DBL).vi

C:\Program Files (x86)\National Instruments\LabVIEW 2015\vi.lib\addons\control\pid\pid.llb\PID (DBL).vi

"Wheel.lvlib:Wheel_Control_POS.vi History"

Current Revision: 27


Position in Hierarchy

Wheel.lvlib:Wheel_Control_POS.vi


Iconified Cluster Constants